/srv/irclogs.ubuntu.com/2010/12/14/#bzr.txt

pooliehi spiv00:37
spivHi poolie00:45
yhagerlifeless: yes, I guess I will. I want to read a bit more first...but the minimum exported version is (2, 3, 0),01:31
yhageroops..01:31
yhagerI installed bzr latest (2.3b4) and latest bzr-svn, but bzr-svn seem to be too old?01:31
maxbyhager: which bzr-svn are you using?01:33
yhager1.0.3 - it's the latest I found01:33
maxbYou probably need the current development version01:34
maxbbzr branch lp:bzr-svn01:34
yhagermaxb: thanks. It's not very clear from http://wiki.bazaar.canonical.com/BzrForeignBranches/Subversion how to get it (especially to bzr newbies..)01:35
maxbyhager: Ah. The sad truth is that the wiki is seldom the most up to date about where to get things01:36
yhagerIt's usually the first place I go before I bug people on IRC.. :(01:37
maxbIn particular, any time you see a list of versions on wiki.bazaar.canonical.com, don't trust it01:37
maxbFor example, 1.0.4 is out01:37
yhagerhmm..01:38
maxbjelmer: Would you be opposed to deleting the list of versions from http://wiki.bazaar.canonical.com/ForeignBranches/Subversion and just pointing to the Launchpad project page?01:38
* maxb adds 1.0.4 to the wiki meanwhile01:41
yhagerWhen I want to create a feature branch, in git, 'git branch' is a very lightweight operation. 'bzr branch' seem to copy the whole branch to a new directory. Is this the same concept?01:48
lifelessyes, but the default is setup to be more like a full 'cp' - to ease the learning curve01:48
lifelesssadly this means nontrivial projects often need to do a bit more (and we'll be changing this sometime soon)01:48
lifelessyou might like the bzr-colo plugin01:49
lifelesswhich gives you multiple branches in one directory01:49
lifelessor setup a 'shared repository' (using bzr init-repo), and branch into that01:49
lifelessthere are docs for both these I think, on the docs website01:49
yhagerI read about shared-repository, but did not really understand what it does. I01:55
yhagerI 'bzr init-repo', then cd into that, and branch from there?01:56
maxbyhager: A shared repository is a way to share revision history disk storage between multiple branches. This saves disk space, and also makes branching faster because none of the history needs to be copied01:57
yhagermaxb: but still, it copies the whole directory..01:59
maxbThe working tree, you mean?01:59
yhagermaxb: yes. Our project is huge..01:59
yhagerso a shared repository can share info on more than one project? i.e. can I put all my bzr stuff in ~/bzr after the initial 'bzr init-repo ~/bzr' ?02:00
maxbThere's two approaches to working with many branches but a single working tree, you can look at the colo plugin, or you can have a shared repository that contains a number of treeless branches and a single lightweight checkout02:01
yhagermaxb: just measured, it's 2.5GB02:02
maxbyhager: You can put multiple projects into one shared repository, with the caveat that the process of packing the repository is then over all the projects, not just the project you happen to be working on02:02
yhagermaxb: the way I understand it is that every checkout is lightwieght in a shared repo?02:03
maxbyes (more or less)02:03
yhagerok, I see. so I will use a shared repo as a parent dir for all the feature branches.. but still, checking out a branch will mean copying 2.5 GB around..02:03
maxbwhy?02:04
maxbmaking a new checkout will, yes. So the answer is to only make one of those, and switch it between branches, much as you might do with git02:04
yhagermaxb: ok, I need to read some more. I am confused between checkout and branch now..02:06
maxbbranch == a pointer to a current revision, plus a dictionary of tags02:08
maxbA branch must have an associated repository somewhere, to actually hold the revisions pointed to02:08
maxbcheckout == A working tree, that is linked to a branch (which is where it puts new revisions when you commit them)02:08
yhagerok, so a checkout is similar so SVN checkout - all operations are done centrally. Not very interesting if I am trying to make the team switch from SVN02:11
yhagerI have a large team working on an SVN repo of 2.5GB. I want to work with a couple of guys on our own feature branch, and I want to show them the awesomeness of DVCS. What setup would you suggest for this?02:15
yhagerI was thinking of a central repo that imports from SVN, and everyone is branching and pushing to it.. does this make sense? However I am confused on how feature branches can work on a 2.5GB workspace02:16
yhagerIn my testing of bzr-svn using a test svn repo, I am now in a situation I cannot push changes anymore to SVN. I get "Operation denied because it would change the mainline history.". Tried rebasing but it does not seem to help03:33
yhagerI prefer to keep append_revisions_only=true03:33
lifelesssure03:36
lifelessgrab a checkout of your svn branch, do a 'bzr merge otherbranch' and 'bzr commit03:36
yhagerlifeless: it worked! I am trying to understand why. We circumvented the inability to rewrite history in SVN by doing a bzr merge commit, directly onto svn. right?03:44
jammgz: I don't know, my python is 2.6.403:45
jamlifeless: yeah, I'm still playing, just hit 85 last night03:45
jammgz: my py2.6.4's twisted is 10.1 vs 10.203:46
yhagerlifeless: hmm.. but I lost the individual commits this way..03:46
yhagerThis is still far better than git-svn. git-svn rewrites history upon every dcommit (push to svn) - since it adds the svn id to the commit messages. This seems more robust.03:47
lifelessyhager: right03:48
lifelessto keep the individual commits you can rebase your local branch and push at the same time using the 'dpush' command.03:49
yhagerlifeless: why would I want to use dpush?03:53
lifelessyhager: if you wanted to keep the separate commits of a branch done in bzr, when propogating it to svn03:55
yhagerwouldn't this work with push as well? (as long as I am not merging)03:56
lifelesssomething like that anyhow - I don't interact with svn these days, so ... I'm not the best advisor03:56
yhagerlifeless: you helped a lot! thanks.03:56
yhagerHow can I specify complex layouts of the SVN repo? bzr help svn-import does not help too much...04:00
spivyhager: bzr help svn-layout04:03
yhagerspiv: thx04:03
yhagerDarn.. after all this research.. bzr svn-import failed with an internal error...04:14
yhagerI'll try a simpler branch structure..04:14
lifelessjelmer is pretty responsive to bug reports04:15
lifelesslaunchpad.net/bzr-svn04:15
=== MTecknology is now known as Guest61557
=== spm` is now known as spm
=== Guest61557 is now known as MTeck
=== MTeck is now known as MTecknology
jelmermaxb: I'd prefer to keep the list, as it mentions which bazaar versions are compatible06:15
jelmermaxb: the list on Launchpad is not authoritative, it's just a mirror of the actual downloads06:16
lifelessjelmer: what would lp need, to be able to be authoritative06:32
jelmerlifeless: some place I can just scp/sftp stuff to, or the release-from-tag feature I filed a bug about earlier06:33
jelmerlifeless: I realise there might also be a command-line tool based around the API nowadays for uploading releases (is there?).  I'm not necessarily opposed to migrating but it means taking some time to dig up that tool, figuring out how it works, and migrating existing tarballs/links.06:37
jelmerlifeless: at this point hosting the tarballs on launchpad makes things (slightly) more complicated for me, rather than easier (which it should be)06:42
spivIt would be nice to make launchpad support sftp uploads of download files.06:49
pooliethere is abentley's tool the-kraken06:50
pooliei think it does this, but i haven't tried it06:50
jelmeryeah, it can create releases from tags and upload them to launchpad. but it needs to be run user side.06:51
spiv(And scp for that matter)06:51
spivI could imagine something like "scp foo.tar.gz foo.tar.gz.asc downloadfiles.launchpad.net:~proj/series/release/" that just DTRT.06:52
spivHmm, I think I've accidentally found a way to tighten one of the HPSS ratchets by deleting redundant code.06:53
poolienice, good for you06:55
jelmerspiv: Yeah, something like that would be neat.06:55
jelmerpoolie: the idea behind the-kraken is nice, but it requires running a tool locally and it requires per-project configuration that you need to carry around with the project.06:58
lifelessjelmer: you should reopen that release from tag bug or something06:58
pooliemm, that's a shame06:58
lifelessI think it would be very nice06:58
poolieit seems like there is generally a gap between "patch to launchpad itself" and "tool people need to run on their own machines"06:59
pooliein theory you could run a kraken-like thing on a server somewhere, even using oauth06:59
pooliebut it does not seem to often be done06:59
lifelessits hugely more convenient and discoverable to have links in the webui07:03
lifelessone could add such links and docs to external tools, of course07:03
jelmerpoolie: it would be nice if launchpad supported push notifications to help with that sort of thing.07:08
jelmerlifeless: I'll follow up on the bug.07:08
poolieagree07:08
jelmerlifeless: Looks like I already followed up to Aaron's last reply earlier.07:13
lifelessjelmer: kk07:16
lifelessjelmer: I thought it was closed, clearly I'm wrong ;)07:16
lifelessjelmer: what is its status?07:16
jelmerIts status is "Opinion", not sure whether that counts as Closed :-)07:17
jelmerbug 67340707:18
ubot5`Launchpad bug 673407 in Launchpad Bazaar Integration "automatic tarball creation for tags" [Medium,Opinion] https://launchpad.net/bugs/67340707:18
lifelessbah07:18
lifelessthats closed07:18
poolieaka "that's your opinion" :)07:18
vilahi all07:37
vilahi jelmer07:40
jelmervila: moin07:41
pooliehi there07:41
* vila jumps (silly volume control staid on very high...)07:41
jelmervila: I uploaded bzr-upload 1.0 to Debian the other day, should land in natty soon.08:16
jelmervila: Only a few more broken bzr-related daily builds remaining now.. bzr-search, bzr-dbus, bzr-email and bzr-xmloutput08:17
=== beaumonta is now known as abeaumont_
vilajelmer: rmadison says 1.0.0 is in natty already08:20
jelmervila: hmm, that was quick! Never mind me then :-)08:20
vilajelmer: I've seen weird failures for the daily builds about truncated time stamps08:20
vilajelmer: I was wondering if they were related to py27 ?08:22
jelmervila: I don't recall seeing any; there were some related to python-testtools and py27 a while ago but those should be fixed now08:23
jelmerthe 4 packages I mentioned are all failing because of failures in their test suites.08:24
pooliedoes bzr choose base texts using the per-file graph now?08:24
vilapoolie: I don't think so (well, IIUC you mean by first establishing this graph)08:27
vilajelmer: so presumably old failures right ?08:27
vilajelmer: yes, I was referring to semi-old failures and testtools was among the suspects08:27
jelmervila: the testtools related issues should be fixed now as far as I can tell, these remaining issues are AFAIK all due to API changes in bzrlib08:28
vilajelmer: ok08:28
jelmerexcept for bzr-email perhaps, I'm not entirely sure what's going on there08:29
vilajelmer: looks like it's config related08:34
vilajelmer: fixed08:40
poolievila: see my pm?08:40
vilajelmer: well, fixed but requires a new-ish bzr08:40
* poolie is going soon08:41
vilapoolie: oops08:41
vilajelmer: the fix is only in the tests so I don't think we should spend time ensuring compatibility there... or not ?08:43
jelmervila: how hard would it be to fix compatibility?08:45
jelmervila: Hmm, nevermind - I was thinking of older Ubuntu releases but I guess those should be fine as long as we have a newer bzr?08:46
vilajelmer: http://paste.ubuntu.com/543473/ is the fix, so it could certainly be made compatible08:46
vilajelmer: exactly08:46
vilajelmer: people using old bzr versions will still be able to use the plugin08:47
vilajelmer: if they care about running the tests... I'd be surprised if they don't want to upgrade...08:47
vilajelmer: should I push this fix ?08:47
jelmervila: yeah, that seems reasonable08:48
jelmervila: please do, thanks for fixing this!08:48
vilajelmer: done08:48
cvvHi all?09:33
cvvis currently here Vincent Ladeuil?09:34
vilacvv: Vitaly ?09:35
vilacvv: yeah, that should be you :) bug #684728 has some 'cvv' in the paths :)09:36
ubot5`Launchpad bug 684728 in Bazaar "bzr push refuse with message "bzr: ERROR: Working tree "/root/projects/games/logic/v2/cvv-dev/" has uncommitted changes (See bzr status). Use --no-strict to force the push." on clean tree" [Undecided,Incomplete] https://launchpad.net/bugs/68472809:36
cvvYes, I'm Vitaly09:36
vilacvv: welcome :)09:37
vilacvv: can you still reproduce the bug if you use 'shelve' instead of 'shelve1' ?09:38
cvvMay be will be interesting for you output of 'bzr info'?09:38
vilacvv: that too !09:38
vila!paste09:38
ubot5`For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.09:38
spivvila: thanks for the review of sprout-does-not-reopen-repo, if you want to look at my reply and make another reply that would be lovely :)09:39
vilacvv: also, what OS/version are you using ? And are you indeed running bzr as root ? (This may not be related but will help me understand your setup)09:40
vilaspiv: planned09:40
spivvila: yay, thank you :)09:40
cvvmmm. shelve miss some functionality to be replacement for shelve1. I will try during few minutes.09:40
vilaspiv: but roughly: 1) if you don't want import repository, I feel far better 2) I was hoping to give you the energy to nail it, not implying you haven't tried ;-)09:41
spivvila: if you want an easier review you can look at https://code.launchpad.net/~spiv/bzr/redundant-missing-keys-check/+merge/43623 ;)09:41
spivvila: it deletes more lines than it adds, including release-notes and whats-new :)09:42
vilaspiv: hehe, I think the sprout-does... is more important since it's a pre-requisite, but I'll look at both09:42
vilacvv: what is missing ? Have a look at shelve --list and unshelve too09:42
vilaspiv: just checking: did you try to run the bzr-{svh|hg|git} for sprout ?09:44
vilajelmer: if you could have a brief look at https://code.edge.launchpad.net/~spiv/bzr/sprout-does-not-reopen-repo/+merge/41037 that would be nice !09:45
* jelmer looks09:48
cvvviva: I frequently use shelve, but sometimes I need shelve1 functionality. I try to reproduce bug with shelve and found out then my bug is unreproducible with shelve.09:49
cvvviva: only with shelve109:49
vilajelmer: I'm looking at the xmloutput failure but... it looks quite complicated... that's the perfect example of why CI is needed to get faster feedback... I wonder when this started failing09:49
vilacvv: haaaa, good, huge progress09:50
vilacvv: so what is missing in shelve that shelve1 provides ?09:50
jelmervila: yeah, I didn't see anything obvious that was the culprit in bzr-xmloutput either.09:52
jelmermaybe we can convince beuno or verterok to have a look?09:53
cvvvila: output of bzr info -v: http://paste.ubuntu.com/543492/09:53
vilajelmer: may be, but this sounds like a bzr change is the culprit there...09:54
vilacvv: wow, you're using a very old bzr format, upgrading will get you smaller repositories and faster operations (let's finish diagnosing your actual problem first though)09:55
vilacvv: the 'bzr info' output is fine, nothing wrong here09:57
cvvvila: one second09:58
vilacvv: sure09:58
maxbjelmer: The problem with versions on the wiki is that the lists inevitably get out of date. If they are to stay, we need a better way of remembering to update them10:01
jelmermaxb: I update it when I do a release, but obviously I forgot last time.10:02
cvvvila: that's  was false alarm.10:04
maxbok. It's just conversations here involving users mislead by stale wiki pages appear to be somewhat commonplace (in general, not just for bzr-svn)10:04
vilajelmer: meh, bzr-email failing because it can't import testtools ? wth ?10:08
jelmervila: where is that?10:08
vilajelmer: https://launchpad.net/~bzr/+archive/daily/+build/2096278/+files/buildlog_ubuntu-karmic-i386.bzr-email_0.0.1%7Ebzr45%7Eppa53%2B53%7Ekarmic1_FAILEDTOBUILD.txt.gz10:08
vilaoh, karmic ?10:09
cvvvila: I currently log out. If there will any ideas about additional interesting or useful info - I will be happy to give.10:09
vilacvv: you didn't tell what is missing from shelve1 ?10:10
vilaargh10:10
jelmervila: Yeah.. looks like the version of testtool is too old10:10
vilajelmer: but where ? I don't get which archives/ppa are involved here nor where you specify them10:12
vilaGet:40 http://ftpmaster.internal karmic/universe python-testtools 0.1~r16-0ubuntu1 [8504B] is certainly weird10:13
jelmervila: Each PPA has a link "Edit PPA dependencies" where you can specify the other PPA's that will be used to install dependencies10:14
jelmerit might make sense to add "ppa:testing-cabal/archive" for the newer testtools10:14
vilawhy not the bzr-beta ppa instead ?10:14
jelmervila: either works I guess10:17
jelmertesting-cabal/archive has daily builds of testtools so is likely to be more recent, but I'm not sure how important that is10:17
vilawell, from babune, I had mixed experiences tracking testtoosl/subunit tips, bzr-beta will be updated less often but should be 1) less likely to fail, 2) broader than testing-cabal if there are more dependencies (cross plugins ?)10:19
jelmerthe daily builds run the test suites so broken tips shouldn't be an issue10:20
jelmeris there no PPA with just bzr build dependencies?10:20
jelmerI'd just like to make sure we build the plugin daily builds against e.g. the bzr daily build rather than the release10:21
vilatesttools is not strictly a build dependency, I think that an issue that has been discussed in the past10:21
vilaoh10:21
vilas/that/that's/10:21
vilabah, know issue is what I meant10:22
vilaknown10:22
vilawow, tyops attack !10:22
jelmeradding a PPA to the dependencies won't pull in its packages, it'll just mean that PPA will get used during the build.10:22
vilagood point about daily bzr though10:22
vilaright, so you did add testing cabal since this failed build right ? (looking at https://launchpad.net/~bzr/+archive/daily/+edit-dependencies right now)10:23
vila. o O (Would you stop adding 'right' at the beginning *and* the end please ?)10:23
jelmer:-)10:23
jelmerYeah, I did add the testing cabal PPA to the dependencies earlier10:24
vilahaaaa, but it doesn't contain the packages for karmic10:24
vilaonly lucid/maverick/natty10:24
spivvila: I haven't run the foreign vcs plugins, I expect they will need to be updated for the new signatures10:24
spivvila: but the new signatures will work ok with old bzrs, so it's not too bad10:25
vilaspiv: meh, you lost me here10:25
jelmervila: I suspect there was a reason we couldn't build on karmic, but I don't remember off the top of my head.10:25
spivvila: the sprout patch adds params to stuff like BranchFormat.open10:26
vilaif plugins use the new parameters, surely they won't work with old bzrs10:26
spivvila: so I expect SvnBranchFormat.open (or whatever it is called) will need to add the new param to its definition10:26
vilaurgh10:26
spivvila: it can even ignore the new param, it just has to allow it to be passed.  It's an optional param.10:26
vilayeah, got it now10:27
spiv(ideally they'd use it rather than ignore it of course)10:28
maxbI wonder, if we should have a status wiki page for collaborative notes on investigations of ~bzr daily recipe build failures10:28
jelmermaxb: I'd like to see +recipes page that lists the failures.10:29
jelmer*a10:29
jelmermaxb: As far as I know there are only three failures left, in bzr-xmloutput, bzr-search and bzr-dbus. They're not specific to the daily builds.10:32
vilaSome of them may be worth filing as bugs10:36
vilajelmer: the bzr-search failures all point to the *same* root cause apparently10:37
vilajelmer: by the way (dunno if it applies to your recipes) you know you can use BZR_PLUGINS_AT=xxx@.10:37
jelmervila: that's what they're using.10:38
vilaI mean a single '.'10:38
vilaThat may seem a bit unsafe in scripts but in interactive use it's neat ;)10:38
jelmervila: IIRC that doesn't always work for me, when plugins use chdir() and relative imports.10:39
vilajelmer: ok, file bugs next time ;)10:41
vilaor not...10:42
jelmervila: well, is that really a bug?10:42
vilaI just happen to use it for plugins that I don't install10:42
jelmerI generally use BZR_PLUGINS_AT="svn@`pwd`"10:42
vilajelmer: well, I'm not sure where the bug is in this case, chdir() and relative imports in plugins are... borderline to me ;)10:43
vilayeah `pwd` is safer (I use it too, I realized '.' allowed me to be even more lazy ;)10:43
=== soren_ is now known as soren
knittlhow can i describe LCA merge in one o r two sentences?13:07
=== smoser` is now known as smoser
=== vednis is now known as mars
=== vednis is now known as mars
=== Ursinha is now known as Ursinha-lunch
AdamDV|iPadJust looking at the documentation, and trying to understand the difference between a merge and a pull. A pull allows you to grab the code if you don't intend to make changes to it, right?14:40
AdamDV|iPadAnd then you could branch and commit and remerge if your going to change the code, and by sending the code back to the maintainers, they can approve it and merge your code back into the master branch?14:41
fullermdLoosely speaking, pull is for maintaining a mirror; merge is for combining outside changes with your own.14:41
AdamDV|iPadI see.14:41
maxbpull == bring some history, which is a strict superset of what I already have, from over there, to my local branch14:41
AdamDV|iPadAlright.14:42
AdamDV|iPadAnd if I do a 'bzr send -o file.patch' it will output file.ptch which I can then email to the project maintainers (pr somehow get it to him)?14:43
AdamDV|iPadAnd what command would be run on the server to merge changes from the patch file to the master branch?14:43
maxbI think you can 'bzr merge' from a bundle14:44
AdamDV|iPadBundle?14:44
vila'send' produces bundles (there is more than just the patch in them)14:45
AdamDV|iPadI see.14:45
vilabut using branches is preferred over bundles when possible since you can reuse them14:45
AdamDV|iPadBut, contradictory to the name, bar send does not actually upload any code into the meter branch, correct?14:45
vila'send' is for mail14:46
AdamDV|iPadWell, how would you submit code for approval without using a bundle?14:46
AdamDV|iPadAlright.14:46
vilaby publishing a branch somewhere14:46
vilahttp/ftp/sftp server14:46
AdamDV|iPadHmm14:46
vilaor on launchpad14:47
vilahave a look at merge proposals there and how they can be reviewed14:47
AdamDV|iPadAnd then the maintainer would merge from you published branch, right?14:47
AdamDV|iPadYour*14:47
vilathrough a dialog between a submitter and the maintainer the branch evolves without the need to send multiple mails (even if mail can be used to interact with launchpad)14:48
vilayes, merge accept branches and bumdles14:48
vilabundles14:48
AdamDV|iPadI see.14:49
AdamDV|iPadBut if your merging from a branch and not a bundle, doesn't that mean that each branch being merged from or submitted for merging has t be stord in it's own directory on the server?14:50
AdamDV|iPadOr, away from the master branch?14:50
vilayes, they are separate branches14:53
vilaBut that doesn't mean they can't share history :)14:54
AdamDV|iPadOf course not :)14:54
AdamDV|iPadI see. I'll probably be back. Gonna go read the doc some more.14:54
vilaBy that I mean at the storage level too (search for shared repositories)14:54
vilamy ISP has gone mad again...14:56
vila...their new DSL modem will now also includes a blu-ray drive, a 250GB HDD, DECT support, 3G, Wifi-n HDTV14:59
vilaoh, I forgot the accelerometer and gyro in the remote ...14:59
fullermdIt can't read email?  What a piece of junk.15:00
vila...15:00
vila... you can... if you have a TV...15:00
fullermdUgh.  Who wants THAT?15:00
viladid I mention support for optic fiber ?15:01
vilaand the game pad ?15:01
vilapoor other french DSL ISPs they have just produced new boxes to compete with the old one...15:02
=== zyga is now known as zyga-food
vilajam: hello ! Thanks for the review ;)15:16
jammorning vila]15:16
jamnp15:16
jamsorry about the delay15:16
vilajam: np, that wasn't an important change, just a cleanup ;)15:18
vilajam: but for the sphinx one, I think I answered your review and I'd like to make babune a bit more blue ;)15:19
vilahttps://code.edge.launchpad.net/~vila/bzr/688072-skip-sphinx-failures/+merge/4322715:20
vilacourtesy URL :)15:20
jamvila: well, I did say "I'm fine with this", sorry for not giving an actual vote15:20
vilaha, I'm always unclear about implied votes :-/15:21
vilaerr, confused I meant15:21
jamif it seems like an approve, and it takes a week to get a response, it *is* an approve15:21
jam(heck, if it takes a week, it *is* an approve anyway, :))15:21
fullermdvila: Speaking of votes, does that combination of your and my changes on smooth-upgrades satisfy your Needs-Fixing?15:22
vilafullermd: shudder, almost, I'd like to get rid of the not-so-useful-so-let's-not-add-stuff-requiring-maintenance helper15:23
vilaI'll get to that asap and nag the pp from there15:23
vila...or not15:24
vilahmm15:24
fullermdWho...   oh, yes.  I'd want to hear from him anyway, since he was the last comment on igc's original MP.15:24
vilafullermd: by the way,feeling better ?15:35
=== Ursinha-lunch is now known as Ursinha
fullermdOh, fairly.  I can breathe again.  Just the trailing ends to deal with for some days to come probably.15:39
vilafullermd: good ;)15:39
RenatoSilvaI have a merge which will add new files, how to avoid these files to be added?15:49
RenatoSilvabzr remove them doesnt' work, it'd be something like bzr unadd15:49
RenatoSilvaoh bzr revert them15:50
RenatoSilvanever mind15:50
vilaultimate support via IRC !!15:53
=== beuno is now known as beuno-lunch
=== ubot5` is now known as ubot5
=== Odd_Blok1 is now known as Odd_Bloke
yhagerunfortunately bzr-svn fails on me with sqlite3 errors, and I can't install tdb. See https://bugs.launchpad.net/bzr-svn/+bug/685251/comments/4. That's too bad, cause bzr-svn seems very solid to me.16:53
ubot5Ubuntu bug 685251 in Bazaar Subversion Plugin "bzr-svn aborts instead of waiting if its sqlite DB is locked" [Low,Triaged]16:53
jelmeryhager, do you really need to use multiple instances of bzr at the same time?16:54
yhagerjelmer: nope16:54
jelmeryhager, sqlite shouldn't give that error if you have only a single instance of bzr-svn running16:54
yhagerjelmer: well, I only run a single 'bzr svn-import'16:55
=== zyga-food is now known as zyga-waiting-for
yhagerjelmer: thanks for helping me on this16:55
jelmeryhager, that's strange, I haven't seen that before16:56
jelmeryhager, another thing you can try is to disable the cache altogether, but that will have some performance implications16:56
yhagerjelmer: how?16:56
jelmeryhager, set "use-cache = False" in the relevant section in ~/.bazaar/subversion.conf16:57
jelmeror perhaps just in ~/.bazaar/bazaar.conf16:57
yhagerok. I need to unfold my python2.7 source compiling, and go back to the previous setup. Now it doesn't even run...16:58
yhagerdarn, no uninstall for this16:59
=== deryck is now known as deryck[lunch]
yhagerjelmer: Usually it failed in the getting branch info (at ~4k revisions out of 24k). I ran with use-cache = False, and now it is already in the "copying revisions" phase..17:14
=== beuno-lunch is now known as beuno
RenatoSilvaImagine I patch a given changeset of some project and I need to update the patch as new changesets are introduced in upstream. It is a mercurial repository, so I import it into launchpad, and merge my patching branch with the latest changed on that branch. The problem is, how do I generate the patch? This workflow is not making sense to me17:46
yhagerjelmer: so far so good. use-cache = False seem to have been a good workaround. (copying revision 7094/22784) :)17:47
RenatoSilva*latest changes17:47
RenatoSilvain my mind, the workflow which would allow me to generate the patch is branch the imported branch, and merge from the patching branch17:49
RenatoSilvathe problem is that I'd need to do revolve merge conflicts every time there's a new changeset in upstream, this is boring17:51
RenatoSilva* resolve17:51
RenatoSilvadoes anyone understand what I mean?17:51
vilaroughly17:53
yhagerjelmer: oops.. bzr: out of memory17:54
vilayou mention two problems here: one is getting your patch up to date, the other is the conflicts17:54
vilafor the patch, I don't see why one workflow will give you a patch different than the other but if you're more comfortable with it, just use it17:54
vilafor the conflicts, I think you will get the same whatever your workflow is but it's hard to guess which kind of conflicts you're getting17:55
RenatoSilvavila: let's say I use the first workflow and my patching branch looks like this: 1. Initial commit from upstream release 1.0, 2. My patch, 3. Merge upstream changeset 123, 4. Merge upstream changeset 124, 5. Improve my patch, 6. Merge upstream changeset 12518:00
RenatoSilvavila: then they want to apply my patch in changeset 126. I need to provide them a component.patch, but I can't figure out how exactly...18:01
vilathen you get your patch against upstream with 'diff -rsubmit:' probably18:02
vilasubmit: will use whatever branch is named submit_branch in the output of 'bzr info'18:03
RenatoSilvabzr diff -rsubmit: imported-hg-branch?18:04
vilajust 'submit:' , it will use the right branch18:04
vilawell, "right", most of the time, check 'bzr info'18:05
RenatoSilvabut the right branch is not what's in bzr info by definition18:09
=== deryck[lunch] is now known as deryck
RenatoSilvawhat operation makes a branch get into bzr info as the submit branch?18:10
vilamerge18:11
vilamerge --remember will set it again18:11
RenatoSilvahmm ok, so I just need to keep bzr merging with upstream, and if they accept the patch, I just need a bzr diff -rsubmit:18:13
vilaanother way to get it is to do 'bzr merge --preview ../feature' in your mirror18:14
RenatoSilvabzr -rsubmit: will make a diff bewteen the submit branch and current one, starting from the common revision. It will differentiate between the commits in current branch which are just merges and the ones which are real diffs from upstream, so resulting patch will just contain my changes not the merges. Did I understand correctly?18:17
vilayes, try it ;)18:18
RenatoSilvavila: ok thanks.18:20
RenatoSilvavila: if I understand correctly: the problem with that second approach is that if I just wait them to accept the patch, it could have passed a long time and merging may become complicated. I think it's better to rather update the patch itself regularly. I could do this with that approach, but I think I'd need to be resolving the same merge conflicts again and again, whereas in the first approach I sort of "save" them as they appear.18:24
RenatoSilva*it could have been passed18:25
taconehello, bzr behaves badly when called inside a bash script18:27
taconeit says it has added the files, but it throws a Pointless commit error when I try to commit18:28
RenatoSilvavila: can't try it while bug 670870 isn't fixed :(18:28
ubot5Launchpad bug 670870 in Bazaar Hg Plugin "bzr crashed with ValueError in convert_converted_from()" [High,Triaged] https://launchpad.net/bugs/67087018:28
taconeany advice ?18:28
RenatoSilvatacone: pastie.org it18:28
taconewhat do you want me to paste ? bzr.log ? the output ?18:29
RenatoSilvatacone: I'm not sure if I can help at all, but I'd paste your call from script, and bzr output18:30
taconehttp://pastie.org/137681218:32
RenatoSilvatacone: from bzr help add:  "--dry-run will show which files would be added, but not actually add them."18:35
taconeomg18:35
yhagerIn bzr-svn, can I just 'bzr checkout' the SVN repo, have people branch this out. Can then changes then be pushed all the way back to SVN?18:59
yhagerWhat I mean is: bzr checkout svn://svn svn; bzr branch svn bzr-svn-branch; and then push commits from bzr-svn-branch all the way to svn - is this possible?19:01
maxbyes19:02
maxbalthough merging will be required first if anyone commits to svn19:02
yhageris there a way to do a lightweight checkout from SVN?19:06
maxbI wouldn't recommend it19:17
maxbYou'd be forcing bzr-svn to reconvert bits and pieces all the time, the performance would be abysmal19:17
yhagerok. Is there a way to svn-import partial history, e.g. just the last 6 months?19:44
RenatoSilvaAny highlight on how to fix this error? http://pastie.org/137704819:48
RenatoSilvabzr-hg is the latest repository version19:48
=== zyga-waiting-for is now known as zyga
=== _thumper_ is now known as thumper
=== oubiwann is now known as oubiwann-holiday
pooliehi all21:35
spivGood morning22:05
pooliehey there spiv22:08
pooliehow are you?22:09
=== Ursinha is now known as Ursinha-afk
spivGood.  Happy to have https://code.launchpad.net/~spiv/bzr/sprout-does-not-reopen-repo/+merge/41037 unblocked!22:13
poolieoh, great22:14
pooliei saw the cover letter22:14
yhagerI found out what causes 'bzr svn-import' to go out of memory - a 600MB iso file was added in a revision. I don't care about that file - can I ignore it for the import?22:16
poolieyhager: i don't know of a way to do it22:22
poolieyhager: perhaps you can use svn history editing (dump/reload?) to get it out of the history there?23:01
yhagerpoolie: hmm.. Can I do that without access to the subversion server?23:01
pooliesorry, no23:01
yhagerpoolie: ok. is the svn dump a format I can edit?23:02
pooliei suggest you send mail to the list, and somebody else might know more23:02
yhagerI opened a bug on this..23:02
yhagerI'm trying to hack it somehow now..23:02
=== sipsniffa1 is now known as sipsniffa

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!