[00:37] hi spiv [00:45] Hi poolie [01:31] lifeless: yes, I guess I will. I want to read a bit more first...but the minimum exported version is (2, 3, 0), [01:31] oops.. [01:31] I installed bzr latest (2.3b4) and latest bzr-svn, but bzr-svn seem to be too old? [01:33] yhager: which bzr-svn are you using? [01:33] 1.0.3 - it's the latest I found [01:34] You probably need the current development version [01:34] bzr branch lp:bzr-svn [01:35] maxb: thanks. It's not very clear from http://wiki.bazaar.canonical.com/BzrForeignBranches/Subversion how to get it (especially to bzr newbies..) [01:36] yhager: Ah. The sad truth is that the wiki is seldom the most up to date about where to get things [01:37] It's usually the first place I go before I bug people on IRC.. :( [01:37] In particular, any time you see a list of versions on wiki.bazaar.canonical.com, don't trust it [01:37] For example, 1.0.4 is out [01:38] hmm.. [01:38] jelmer: 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:41] * maxb adds 1.0.4 to the wiki meanwhile [01:48] When 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] yes, but the default is setup to be more like a full 'cp' - to ease the learning curve [01:48] sadly this means nontrivial projects often need to do a bit more (and we'll be changing this sometime soon) [01:49] you might like the bzr-colo plugin [01:49] which gives you multiple branches in one directory [01:49] or setup a 'shared repository' (using bzr init-repo), and branch into that [01:49] there are docs for both these I think, on the docs website [01:55] I read about shared-repository, but did not really understand what it does. I [01:56] I 'bzr init-repo', then cd into that, and branch from there? [01:57] yhager: 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 copied [01:59] maxb: but still, it copies the whole directory.. [01:59] The working tree, you mean? [01:59] maxb: yes. Our project is huge.. [02:00] so 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:01] There'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 checkout [02:02] maxb: just measured, it's 2.5GB [02:02] yhager: 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 on [02:03] maxb: the way I understand it is that every checkout is lightwieght in a shared repo? [02:03] yes (more or less) [02:03] ok, 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:04] why? [02:04] making 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 git [02:06] maxb: ok, I need to read some more. I am confused between checkout and branch now.. [02:08] branch == a pointer to a current revision, plus a dictionary of tags [02:08] A branch must have an associated repository somewhere, to actually hold the revisions pointed to [02:08] checkout == A working tree, that is linked to a branch (which is where it puts new revisions when you commit them) [02:11] ok, 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 SVN [02:15] I 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:16] I 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 workspace [03:33] In 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 help [03:33] I prefer to keep append_revisions_only=true [03:36] sure [03:36] grab a checkout of your svn branch, do a 'bzr merge otherbranch' and 'bzr commit [03:44] lifeless: 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:45] mgz: I don't know, my python is 2.6.4 [03:45] lifeless: yeah, I'm still playing, just hit 85 last night [03:46] mgz: my py2.6.4's twisted is 10.1 vs 10.2 [03:46] lifeless: hmm.. but I lost the individual commits this way.. [03:47] This 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:48] yhager: right [03:49] to keep the individual commits you can rebase your local branch and push at the same time using the 'dpush' command. [03:53] lifeless: why would I want to use dpush? [03:55] yhager: if you wanted to keep the separate commits of a branch done in bzr, when propogating it to svn [03:56] wouldn't this work with push as well? (as long as I am not merging) [03:56] something like that anyhow - I don't interact with svn these days, so ... I'm not the best advisor [03:56] lifeless: you helped a lot! thanks. [04:00] How can I specify complex layouts of the SVN repo? bzr help svn-import does not help too much... [04:03] yhager: bzr help svn-layout [04:03] spiv: thx [04:14] Darn.. after all this research.. bzr svn-import failed with an internal error... [04:14] I'll try a simpler branch structure.. [04:15] jelmer is pretty responsive to bug reports [04:15] launchpad.net/bzr-svn === MTecknology is now known as Guest61557 === spm` is now known as spm === Guest61557 is now known as MTeck === MTeck is now known as MTecknology [06:15] maxb: I'd prefer to keep the list, as it mentions which bazaar versions are compatible [06:16] maxb: the list on Launchpad is not authoritative, it's just a mirror of the actual downloads [06:32] jelmer: what would lp need, to be able to be authoritative [06:33] lifeless: some place I can just scp/sftp stuff to, or the release-from-tag feature I filed a bug about earlier [06:37] lifeless: 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:42] lifeless: at this point hosting the tarballs on launchpad makes things (slightly) more complicated for me, rather than easier (which it should be) [06:49] It would be nice to make launchpad support sftp uploads of download files. [06:50] there is abentley's tool the-kraken [06:50] i think it does this, but i haven't tried it [06:51] yeah, it can create releases from tags and upload them to launchpad. but it needs to be run user side. [06:51] (And scp for that matter) [06:52] I could imagine something like "scp foo.tar.gz foo.tar.gz.asc downloadfiles.launchpad.net:~proj/series/release/" that just DTRT. [06:53] Hmm, I think I've accidentally found a way to tighten one of the HPSS ratchets by deleting redundant code. [06:55] nice, good for you [06:55] spiv: Yeah, something like that would be neat. [06:58] poolie: 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] jelmer: you should reopen that release from tag bug or something [06:58] mm, that's a shame [06:58] I think it would be very nice [06:59] it seems like there is generally a gap between "patch to launchpad itself" and "tool people need to run on their own machines" [06:59] in theory you could run a kraken-like thing on a server somewhere, even using oauth [06:59] but it does not seem to often be done [07:03] its hugely more convenient and discoverable to have links in the webui [07:03] one could add such links and docs to external tools, of course [07:08] poolie: it would be nice if launchpad supported push notifications to help with that sort of thing. [07:08] lifeless: I'll follow up on the bug. [07:08] agree [07:13] lifeless: Looks like I already followed up to Aaron's last reply earlier. [07:16] jelmer: kk [07:16] jelmer: I thought it was closed, clearly I'm wrong ;) [07:16] jelmer: what is its status? [07:17] Its status is "Opinion", not sure whether that counts as Closed :-) [07:18] bug 673407 [07:18] Launchpad bug 673407 in Launchpad Bazaar Integration "automatic tarball creation for tags" [Medium,Opinion] https://launchpad.net/bugs/673407 [07:18] bah [07:18] thats closed [07:18] aka "that's your opinion" :) [07:37] hi all [07:40] hi jelmer [07:41] vila: moin [07:41] hi there [07:41] * vila jumps (silly volume control staid on very high...) [08:16] vila: I uploaded bzr-upload 1.0 to Debian the other day, should land in natty soon. [08:17] vila: Only a few more broken bzr-related daily builds remaining now.. bzr-search, bzr-dbus, bzr-email and bzr-xmloutput === beaumonta is now known as abeaumont_ [08:20] jelmer: rmadison says 1.0.0 is in natty already [08:20] vila: hmm, that was quick! Never mind me then :-) [08:20] jelmer: I've seen weird failures for the daily builds about truncated time stamps [08:22] jelmer: I was wondering if they were related to py27 ? [08:23] vila: I don't recall seeing any; there were some related to python-testtools and py27 a while ago but those should be fixed now [08:24] the 4 packages I mentioned are all failing because of failures in their test suites. [08:24] does bzr choose base texts using the per-file graph now? [08:27] poolie: I don't think so (well, IIUC you mean by first establishing this graph) [08:27] jelmer: so presumably old failures right ? [08:27] jelmer: yes, I was referring to semi-old failures and testtools was among the suspects [08:28] vila: 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 bzrlib [08:28] jelmer: ok [08:29] except for bzr-email perhaps, I'm not entirely sure what's going on there [08:34] jelmer: looks like it's config related [08:40] jelmer: fixed [08:40] vila: see my pm? [08:40] jelmer: well, fixed but requires a new-ish bzr [08:41] * poolie is going soon [08:41] poolie: oops [08:43] jelmer: the fix is only in the tests so I don't think we should spend time ensuring compatibility there... or not ? [08:45] vila: how hard would it be to fix compatibility? [08:46] vila: 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] jelmer: http://paste.ubuntu.com/543473/ is the fix, so it could certainly be made compatible [08:46] jelmer: exactly [08:47] jelmer: people using old bzr versions will still be able to use the plugin [08:47] jelmer: if they care about running the tests... I'd be surprised if they don't want to upgrade... [08:47] jelmer: should I push this fix ? [08:48] vila: yeah, that seems reasonable [08:48] vila: please do, thanks for fixing this! [08:48] jelmer: done [09:33] Hi all? [09:34] is currently here Vincent Ladeuil? [09:35] cvv: Vitaly ? [09:36] cvv: yeah, that should be you :) bug #684728 has some 'cvv' in the paths :) [09:36] 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/684728 [09:36] Yes, I'm Vitaly [09:37] cvv: welcome :) [09:38] cvv: can you still reproduce the bug if you use 'shelve' instead of 'shelve1' ? [09:38] May be will be interesting for you output of 'bzr info'? [09:38] cvv: that too ! [09:38] !paste [09:38] 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:39] vila: 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:40] cvv: 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] spiv: planned [09:40] vila: yay, thank you :) [09:40] mmm. shelve miss some functionality to be replacement for shelve1. I will try during few minutes. [09:41] spiv: 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] vila: if you want an easier review you can look at https://code.launchpad.net/~spiv/bzr/redundant-missing-keys-check/+merge/43623 ;) [09:42] vila: it deletes more lines than it adds, including release-notes and whats-new :) [09:42] spiv: hehe, I think the sprout-does... is more important since it's a pre-requisite, but I'll look at both [09:42] cvv: what is missing ? Have a look at shelve --list and unshelve too [09:44] spiv: just checking: did you try to run the bzr-{svh|hg|git} for sprout ? [09:45] jelmer: 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:48] * jelmer looks [09:49] viva: 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] viva: only with shelve1 [09:49] jelmer: 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 failing [09:50] cvv: haaaa, good, huge progress [09:50] cvv: so what is missing in shelve that shelve1 provides ? [09:52] vila: yeah, I didn't see anything obvious that was the culprit in bzr-xmloutput either. [09:53] maybe we can convince beuno or verterok to have a look? [09:53] vila: output of bzr info -v: http://paste.ubuntu.com/543492/ [09:54] jelmer: may be, but this sounds like a bzr change is the culprit there... [09:55] cvv: 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:57] cvv: the 'bzr info' output is fine, nothing wrong here [09:58] vila: one second [09:58] cvv: sure [10:01] jelmer: 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 them [10:02] maxb: I update it when I do a release, but obviously I forgot last time. [10:04] vila: that's was false alarm. [10:04] ok. 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:08] jelmer: meh, bzr-email failing because it can't import testtools ? wth ? [10:08] vila: where is that? [10:08] jelmer: https://launchpad.net/~bzr/+archive/daily/+build/2096278/+files/buildlog_ubuntu-karmic-i386.bzr-email_0.0.1%7Ebzr45%7Eppa53%2B53%7Ekarmic1_FAILEDTOBUILD.txt.gz [10:09] oh, karmic ? [10:09] vila: I currently log out. If there will any ideas about additional interesting or useful info - I will be happy to give. [10:10] cvv: you didn't tell what is missing from shelve1 ? [10:10] argh [10:10] vila: Yeah.. looks like the version of testtool is too old [10:12] jelmer: but where ? I don't get which archives/ppa are involved here nor where you specify them [10:13] Get:40 http://ftpmaster.internal karmic/universe python-testtools 0.1~r16-0ubuntu1 [8504B] is certainly weird [10:14] vila: Each PPA has a link "Edit PPA dependencies" where you can specify the other PPA's that will be used to install dependencies [10:14] it might make sense to add "ppa:testing-cabal/archive" for the newer testtools [10:14] why not the bzr-beta ppa instead ? [10:17] vila: either works I guess [10:17] testing-cabal/archive has daily builds of testtools so is likely to be more recent, but I'm not sure how important that is [10:19] well, 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:20] the daily builds run the test suites so broken tips shouldn't be an issue [10:20] is there no PPA with just bzr build dependencies? [10:21] I'd just like to make sure we build the plugin daily builds against e.g. the bzr daily build rather than the release [10:21] testtools is not strictly a build dependency, I think that an issue that has been discussed in the past [10:21] oh [10:21] s/that/that's/ [10:22] bah, know issue is what I meant [10:22] known [10:22] wow, tyops attack ! [10:22] adding 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] good point about daily bzr though [10:23] right, 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] . o O (Would you stop adding 'right' at the beginning *and* the end please ?) [10:23] :-) [10:24] Yeah, I did add the testing cabal PPA to the dependencies earlier [10:24] haaaa, but it doesn't contain the packages for karmic [10:24] only lucid/maverick/natty [10:24] vila: I haven't run the foreign vcs plugins, I expect they will need to be updated for the new signatures [10:25] vila: but the new signatures will work ok with old bzrs, so it's not too bad [10:25] spiv: meh, you lost me here [10:25] vila: I suspect there was a reason we couldn't build on karmic, but I don't remember off the top of my head. [10:26] vila: the sprout patch adds params to stuff like BranchFormat.open [10:26] if plugins use the new parameters, surely they won't work with old bzrs [10:26] vila: so I expect SvnBranchFormat.open (or whatever it is called) will need to add the new param to its definition [10:26] urgh [10:26] vila: it can even ignore the new param, it just has to allow it to be passed. It's an optional param. [10:27] yeah, got it now [10:28] (ideally they'd use it rather than ignore it of course) [10:28] I wonder, if we should have a status wiki page for collaborative notes on investigations of ~bzr daily recipe build failures [10:29] maxb: I'd like to see +recipes page that lists the failures. [10:29] *a [10:32] maxb: 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:36] Some of them may be worth filing as bugs [10:37] jelmer: the bzr-search failures all point to the *same* root cause apparently [10:37] jelmer: by the way (dunno if it applies to your recipes) you know you can use BZR_PLUGINS_AT=xxx@. [10:38] vila: that's what they're using. [10:38] I mean a single '.' [10:38] That may seem a bit unsafe in scripts but in interactive use it's neat ;) [10:39] vila: IIRC that doesn't always work for me, when plugins use chdir() and relative imports. [10:41] jelmer: ok, file bugs next time ;) [10:42] or not... [10:42] vila: well, is that really a bug? [10:42] I just happen to use it for plugins that I don't install [10:42] I generally use BZR_PLUGINS_AT="svn@`pwd`" [10:43] jelmer: well, I'm not sure where the bug is in this case, chdir() and relative imports in plugins are... borderline to me ;) [10:43] yeah `pwd` is safer (I use it too, I realized '.' allowed me to be even more lazy ;) === soren_ is now known as soren [13:07] how can i describe LCA merge in one o r two sentences? === 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 [14:40] Just 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:41] And 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] Loosely speaking, pull is for maintaining a mirror; merge is for combining outside changes with your own. [14:41] I see. [14:41] pull == bring some history, which is a strict superset of what I already have, from over there, to my local branch [14:42] Alright. [14:43] And 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] And what command would be run on the server to merge changes from the patch file to the master branch? [14:44] I think you can 'bzr merge' from a bundle [14:44] Bundle? [14:45] 'send' produces bundles (there is more than just the patch in them) [14:45] I see. [14:45] but using branches is preferred over bundles when possible since you can reuse them [14:45] But, contradictory to the name, bar send does not actually upload any code into the meter branch, correct? [14:46] 'send' is for mail [14:46] Well, how would you submit code for approval without using a bundle? [14:46] Alright. [14:46] by publishing a branch somewhere [14:46] http/ftp/sftp server [14:46] Hmm [14:47] or on launchpad [14:47] have a look at merge proposals there and how they can be reviewed [14:47] And then the maintainer would merge from you published branch, right? [14:47] Your* [14:48] through 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] yes, merge accept branches and bumdles [14:48] bundles [14:49] I see. [14:50] But 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] Or, away from the master branch? [14:53] yes, they are separate branches [14:54] But that doesn't mean they can't share history :) [14:54] Of course not :) [14:54] I see. I'll probably be back. Gonna go read the doc some more. [14:54] By that I mean at the storage level too (search for shared repositories) [14:56] my ISP has gone mad again... [14:59] ...their new DSL modem will now also includes a blu-ray drive, a 250GB HDD, DECT support, 3G, Wifi-n HDTV [14:59] oh, I forgot the accelerometer and gyro in the remote ... [15:00] It can't read email? What a piece of junk. [15:00] ... [15:00] ... you can... if you have a TV... [15:00] Ugh. Who wants THAT? [15:01] did I mention support for optic fiber ? [15:01] and the game pad ? [15:02] poor other french DSL ISPs they have just produced new boxes to compete with the old one... === zyga is now known as zyga-food [15:16] jam: hello ! Thanks for the review ;) [15:16] morning vila] [15:16] np [15:16] sorry about the delay [15:18] jam: np, that wasn't an important change, just a cleanup ;) [15:19] jam: but for the sphinx one, I think I answered your review and I'd like to make babune a bit more blue ;) [15:20] https://code.edge.launchpad.net/~vila/bzr/688072-skip-sphinx-failures/+merge/43227 [15:20] courtesy URL :) [15:20] vila: well, I did say "I'm fine with this", sorry for not giving an actual vote [15:21] ha, I'm always unclear about implied votes :-/ [15:21] err, confused I meant [15:21] if it seems like an approve, and it takes a week to get a response, it *is* an approve [15:21] (heck, if it takes a week, it *is* an approve anyway, :)) [15:22] vila: Speaking of votes, does that combination of your and my changes on smooth-upgrades satisfy your Needs-Fixing? [15:23] fullermd: shudder, almost, I'd like to get rid of the not-so-useful-so-let's-not-add-stuff-requiring-maintenance helper [15:23] I'll get to that asap and nag the pp from there [15:24] ...or not [15:24] hmm [15:24] Who... oh, yes. I'd want to hear from him anyway, since he was the last comment on igc's original MP. [15:35] fullermd: by the way,feeling better ? === Ursinha-lunch is now known as Ursinha [15:39] Oh, fairly. I can breathe again. Just the trailing ends to deal with for some days to come probably. [15:39] fullermd: good ;) [15:49] I have a merge which will add new files, how to avoid these files to be added? [15:49] bzr remove them doesnt' work, it'd be something like bzr unadd [15:50] oh bzr revert them [15:50] never mind [15:53] ultimate support via IRC !! === beuno is now known as beuno-lunch === ubot5` is now known as ubot5 === Odd_Blok1 is now known as Odd_Bloke [16:53] unfortunately 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] Ubuntu bug 685251 in Bazaar Subversion Plugin "bzr-svn aborts instead of waiting if its sqlite DB is locked" [Low,Triaged] [16:54] yhager, do you really need to use multiple instances of bzr at the same time? [16:54] jelmer: nope [16:54] yhager, sqlite shouldn't give that error if you have only a single instance of bzr-svn running [16:55] jelmer: well, I only run a single 'bzr svn-import' === zyga-food is now known as zyga-waiting-for [16:55] jelmer: thanks for helping me on this [16:56] yhager, that's strange, I haven't seen that before [16:56] yhager, another thing you can try is to disable the cache altogether, but that will have some performance implications [16:56] jelmer: how? [16:57] yhager, set "use-cache = False" in the relevant section in ~/.bazaar/subversion.conf [16:57] or perhaps just in ~/.bazaar/bazaar.conf [16:58] ok. I need to unfold my python2.7 source compiling, and go back to the previous setup. Now it doesn't even run... [16:59] darn, no uninstall for this === deryck is now known as deryck[lunch] [17:14] jelmer: 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.. === beuno-lunch is now known as beuno [17:46] Imagine 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 me [17:47] jelmer: so far so good. use-cache = False seem to have been a good workaround. (copying revision 7094/22784) :) [17:47] *latest changes [17:49] in my mind, the workflow which would allow me to generate the patch is branch the imported branch, and merge from the patching branch [17:51] the problem is that I'd need to do revolve merge conflicts every time there's a new changeset in upstream, this is boring [17:51] * resolve [17:51] does anyone understand what I mean? [17:53] roughly [17:54] jelmer: oops.. bzr: out of memory [17:54] you mention two problems here: one is getting your patch up to date, the other is the conflicts [17:54] for 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 it [17:55] for 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 getting [18:00] vila: 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 125 [18:01] vila: 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:02] then you get your patch against upstream with 'diff -rsubmit:' probably [18:03] submit: will use whatever branch is named submit_branch in the output of 'bzr info' [18:04] bzr diff -rsubmit: imported-hg-branch? [18:04] just 'submit:' , it will use the right branch [18:05] well, "right", most of the time, check 'bzr info' [18:09] but the right branch is not what's in bzr info by definition === deryck[lunch] is now known as deryck [18:10] what operation makes a branch get into bzr info as the submit branch? [18:11] merge [18:11] merge --remember will set it again [18:13] hmm 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:14] another way to get it is to do 'bzr merge --preview ../feature' in your mirror [18:17] bzr -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:18] yes, try it ;) [18:20] vila: ok thanks. [18:24] vila: 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:25] *it could have been passed [18:27] hello, bzr behaves badly when called inside a bash script [18:28] it says it has added the files, but it throws a Pointless commit error when I try to commit [18:28] vila: can't try it while bug 670870 isn't fixed :( [18:28] Launchpad bug 670870 in Bazaar Hg Plugin "bzr crashed with ValueError in convert_converted_from()" [High,Triaged] https://launchpad.net/bugs/670870 [18:28] any advice ? [18:28] tacone: pastie.org it [18:29] what do you want me to paste ? bzr.log ? the output ? [18:30] tacone: I'm not sure if I can help at all, but I'd paste your call from script, and bzr output [18:32] http://pastie.org/1376812 [18:35] tacone: from bzr help add: "--dry-run will show which files would be added, but not actually add them." [18:35] omg [18:59] In 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? [19:01] What 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:02] yes [19:02] although merging will be required first if anyone commits to svn [19:06] is there a way to do a lightweight checkout from SVN? [19:17] I wouldn't recommend it [19:17] You'd be forcing bzr-svn to reconvert bits and pieces all the time, the performance would be abysmal [19:44] ok. Is there a way to svn-import partial history, e.g. just the last 6 months? [19:48] Any highlight on how to fix this error? http://pastie.org/1377048 [19:48] bzr-hg is the latest repository version === zyga-waiting-for is now known as zyga === _thumper_ is now known as thumper === oubiwann is now known as oubiwann-holiday [21:35] hi all [22:05] Good morning [22:08] hey there spiv [22:09] how are you? === Ursinha is now known as Ursinha-afk [22:13] Good. Happy to have https://code.launchpad.net/~spiv/bzr/sprout-does-not-reopen-repo/+merge/41037 unblocked! [22:14] oh, great [22:14] i saw the cover letter [22:16] I 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:22] yhager: i don't know of a way to do it [23:01] yhager: perhaps you can use svn history editing (dump/reload?) to get it out of the history there? [23:01] poolie: hmm.. Can I do that without access to the subversion server? [23:01] sorry, no [23:02] poolie: ok. is the svn dump a format I can edit? [23:02] i suggest you send mail to the list, and somebody else might know more [23:02] I opened a bug on this.. [23:02] I'm trying to hack it somehow now.. === sipsniffa1 is now known as sipsniffa