[00:37] spiv, hi [00:37] approved [00:37] Thanks1 [00:42] poolie: which project was it using reviews? [00:42] stevea's project [00:54] ok. so how exactly should I do this again (switching the order of a pair of adjacent threads) [00:55] a quick question about bzr send [00:55] if using `bzr send --mailto foo@example.com` and thunderbird [00:55] does the attachment get added for others? [00:55] I'm trying to debug a weirdness [00:57] how do you mean 'for others'? [00:58] * jml walks away to think about the problem. [00:58] jml, i don't know [00:59] poolie: behold, I show you a mystery [01:09] jml: edit your .bzr/branch/last-loom file? ;) [01:09] spiv, i'm reading john's pack-names patch [01:10] jml: More reasonably, pull --overwrite probably gives you the hammer you need. [01:13] spiv: hmm. maybe. there are a bunch of merges that I need to work around. [01:13] spiv: I'll have a play, anyway. [01:14] jml: ah, so it's more fundamentally that you need cherrypicking, rather than the ordering of the loom threads? [01:14] spiv: yeah, probably. [01:32] * jml does uncommit and shelve shenanigans [01:34] spiv, ok, i'm going to send up john's patch, what next? [01:37] and look, there's a criss-cross merge. what a shock. [01:38] poolie: http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20081117065938.GA18818%40steerpike.home.puzzling.org%3E perhaps? [01:39] yeah [01:39] there are some nontrivial conflicts, i'm just working through them [01:39] so you're both pretty confident in that interdiffing one [01:40] Yeah. [01:41] Oh, I should land my already approved improvement item_keys_introduced_by's signatures calculation. [01:41] * spiv does that [01:42] Not sure why I didn't notice that sooner, I guess the rapidly shrinking list of things in bundle buggy made it more obvious :) [01:42] poolie: "either 1.6 (from hardy)" <- did you mean Intrepid? [01:42] i did === jamesh_ is now known as jamesh [02:32] poolie: I'm going to land the interdifferingserializer improvement (I'm confident and the bb:comments were essentially positive), and then I think I'm out of changes for 1.10 [02:32] ok [02:32] i've just finished resolving the pack-names thing [02:32] i'm going to send that up, then have lunch, then roll 1.10rc1 [02:32] Woo [02:38] poolie: getting anywhere on that bug of mine? [03:03] mwhudson: tbh not yet, we're trying to finish off work that's already queued and to get a release out [03:03] ok [03:03] but after that, it's top of the list [03:04] i'm not totally sure this is the right approach but things have gone for us when we try to fix just one more bug before releasing [03:20] spiv, mine merged, when yours does i'll start packaging [03:23] poolie: cool. I'm off to lunch to now. [03:30] huh, i managed to push https://code.edge.launchpad.net/~mwhudson/launchpad/manual-stacking-on-launchpad-branches-bug-272372 via devpad [03:31] which has bzr 1.9 [03:31] so are you saying your bug may be to do with the server code? [03:32] no [03:32] i pushed locally with bzr 1.9 --> boom [03:32] i pushed to devpad, then from devpad i seem to be able to push with bzr 1.7 [05:20] poolie: how's the releasing going? [05:24] hey [05:24] i'm uploading bzr-svn, and working out how it uses bzr builddeb [05:24] did your things all land? [05:25] Apparently so! http://bundlebuggy.aaronbentley.com/?selected=pending&unreviewed=n is almost unrecogniseably shorter :) [05:26] hi guys, i was doing 'bzr uncommit' then did bzr commit, then in the other pc, i did bzr update, but I see that the last log that was part of the 'bzr uncommit' became a pendig merges. is that normal? or I want to remove that pending merges since that's no use [05:28] assuming you don't want to keep that uncommitted revision, you should revert the other checkout [05:28] toytoy: that's an interesting case. I think that is probably a bug, although not a surprising one. You can clear pending merges with "bzr revert --forget-merges". [05:44] This release of Bazaar focusses on performance improvements when pushing [05:44] and pulling revisions, both locally and to remote networks. The popular [05:44] ``shelve`` and ``unshelve`` commands, used to interactively revert and [05:44] restore work in progress, have been merged from bzrtools into the bzr [05:44] core. There are also bug fixes for portability, and for stacked branches. [05:44] how's that [05:46] Sounds good, although shelve/unshelve was rewritten rather than merely merged. [05:46] I'm not sure the distinction matters for that text, though. [05:46] to use internal merge, rather than patch and diff? [05:46] Yeah. [06:16] poolie: I'm off to SLUG. I'll have a play with the rc1 when I get home tonight :) === poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | please test 1.10rc1 released 28 Nov | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ [06:16] spiv, ok, cheerio - btw (i should have reminded you earlier) i have a holiday on monday again [06:16] but john and robert will be back [06:18] poolie: I'll be on leave (OSDC that week), but pretty easy to contact. [06:21] ah, right [06:21] hm, maybe i should move it [06:21] have a fun conference anyhow [06:21] and btw it's great how many things you landed into 1.10, and that insert_r_s is coming along [07:22] hi all [07:44] ls [07:57] Is there any way for me to merge the history of two branches that don't share a common ancestor within Bazaar, though they do share a common ancestor file-wise? [07:58] fullermd: Would you happen to be around? [08:11] poolie: You still around? [08:18] GPHemsley: you can merge the two branches in a way that will give you the files from both branches [08:19] GPHemsley: but it won't merge contents of files from the two branches [08:19] "bzr merge -r 0.. otherbranch" should do it [08:19] hmm... [08:20] as the branches don't share history, it has no way of knowing that two files with the same name should be merged (you'll get a naming conflict), let alone how to merge the contents [08:21] hmm [08:23] darn [08:29] Haven't actually done it, but if you `bzr add --file-ids-from` the files into the new branch, then do the merge, it might work? [08:30] It's alright [08:30] it's not that important [08:30] but thanks === doko__ is now known as doko [08:48] jamesh, AfC: What's the proper syntax for `bzr init-repo` via SFTP? [08:51] nevermind, got it [08:57] jamesh, AfC: Whats the difference between `bzr init ; bzr pull` and `bzr branch`? [09:00] is it safe to install bzr 1.6 in ubuntu 8.04? [09:00] im not sure if i should ask that in an ubuntu place or here [09:00] i just dont know if it'd be unhappy with library versions or something [09:12] maco: yes, it's fine [09:12] poolie: What is rich root? [09:12] you can get a package from launchpad.net/~bzr/+archive [09:12] poolie: ok, thank you [09:12] GPHemsley: it's a series of alternate repo formats that support primarily svn interoperation [09:13] Is that their only benefit? [09:13] just about [09:13] ok [09:16] GPHemsley: the only real difference between init+pull and branch is the format of the resulting branch: the first will use bzr's default format, while the second will use the format of the source branch [09:33] jamesh: ooo i was wondering that [10:49] poolie: yeah, it's very satisfying watching stuff land :) [11:32] is it possible to set commands configuration in a configuration file or similar? e.g: i'd like to use --line switch in bzr log by default [11:32] configuration topic in help does't talk about such possibilities... [11:43] abeaumont: yes [11:43] abeaumont: create an alias [12:25] thanks spiv [12:28] much better than what i had in mind :D === asac_ is now known as asac [13:27] What's the best way to set up a SFTP user that will point to /srv/bzr/myrepo ? [13:33] jelmer: which version of bzr-svn should i be using for bzr-1.10rc1 ? :) [13:34] rocky, nothing yet - 1.10 breaks API compatibility for 0.4.15 but I hope to release 0.5.0 at some point before 1.10 [13:35] jelmer: don't suppose it's safe to use a branch of bzr-svn then? [13:35] well, it won't corrupt your repository or anything but some operations may give tracebacks [13:36] * rocky reluctantly sticks with bzr 1.9 for the time being... :) [13:38] hi guys. I've had a project under bzr control just from bzr init. Now, I've just set up a SFTP connection, and I'd like to make my current repo a central repo on the SFTP server [13:38] how do I go about doing this? [13:41] CaMason_, bzr push the branch to the sftp server [13:42] after that, you should be able to "bzr checkout" it [13:42] jelmer: thanks, I'm just reading that bit now [13:42] * rocky loves that every bzr repo can be used as-is by merely hooking up network access to it for someone else [13:42] i don't think svn was like that right? [13:43] rocky: nope [13:43] you know, I think I can use a folder under both SVN and .bzr control.. [13:44] i.e. my local project has a single folder that I want to put on a SVN server elsewhere (for others). If I ignore the .svn files with bzr, it shoudln't cause any conflicts, if I think correctly? [13:45] CaMason_: you can probably do something a little slicker with bzr-svn, but jelmer would be the one to poke for that ;) [13:52] I think I've pushed my current repo to a central location. However, the file sizes are different [13:53] the central repo seems to be about 500kb big, but my local one is about 700kb [13:54] hi [13:54] well, I managed to checkout the central branch. so.. [13:54] I assume everything is ok! [13:55] CaMason_, bzr optimizes repos, so I wouldn't be surprised [13:57] why doing a merge between 2 branches without common ancestor with cherrypicking doesn't keep the history ? [13:58] and it seems I've bound my working copy to the central repo now. This is brilliant :) [14:00] and I can unbind.. brillian. I can now work on the train offline :D [14:01] yes, the magic of bzr [14:02] I have to say, compared to SVN, the setup process has been very painless [14:03] CaMason_, blog about it! the world needs to know! ;) [14:03] I will as soon as I get my blog up [14:14] someone can explain me this behavior ? [14:14] ~$> bzr clone -q A [14:14] ~$> bzr clone -q B [14:14] ~$> cd A [14:14] A$> bzr merge ../B/ [14:14] bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified. [14:14] A$> bzr merge -q -r 0..-1 ../B/ [14:14] A$> bzr st | grep pending [14:14] pending merges: [14:14] A$> bzr revert -q [14:14] A$> bzr merge -q -r 0..-1 ../B/somedir/ [14:14] A$> bzr st | grep pending [14:14] A$> [14:28] jelmer: bzr-svn seems to think subtrees of my svn checkout are are in different svn repos [14:28] jelmer: refusing 'bzr commit dir1/somefile dir2/somefile' [14:28] jelmer: note that this is a svn checkout, not a bzr-svn checkout [14:50] uws, what's the exact error? [14:51] ERROR: dir1/dir/somefile is not in the same branch as dir22/dir/someotherfile [14:51] jelmer: ^ [14:51] jelmer: "bzr root" in dir2/dir gives dir2/, instead of 2 levels up) [15:01] uws: Ah, that's actually correct. It's fixed in 0.5, you can workaround it in 0.4 by explicitly setting a branching scheme and setting it to be mandatory [15:03] jelmer: how? [15:07] jelmer: what value should I use for bzr svn-branching-scheme --set svn+ssh://.... ? [15:07] jelmer: repo layout is /project/{trunk,branches/tags} [15:07] jelmer: my svn checkout is from /project/trunk/ [15:18] uws, that should be trunk1 (in ~/.bazaar/subversion.conf) [15:26] hmm, I've a strange problem when using bzr+ssh: [15:26] nathot:~/src/spe/systems% bzr branch sftp://delenn/home/rotty/src/spe/systems/xitomatl [15:26] rotty@delenn's password: [15:26] bzr: ERROR: Not a branch: "/home/rotty/src/xitomatl/ [15:26] (erm, that's with sftp, but bzr+ssh yields the same error) [15:27] (note the difference between the path names specified on the command line, and in the error message) [15:27] (also, when doing the same on delenn, using 'localhost' as hostname, it works without a flaw) [15:45] arghl! bzr stores the absolute directory inside .bzr/branch/location -- so if you move the dir, this info becomes bogus. [15:46] I think storing locations globally in ~/.bazaar/locations.conf and inside ~/.bzr is a real misfeature [15:46] rotty: What version of bzr are you using? [15:46] 1.5 [15:46] Weird. [15:46] I'm not seeing a ~/.bzr/branch/location... [15:47] in the repo: /path/to/repo/.bzr/branch/location [15:47] Sorry, I didn't mean to put the ~ there. [15:47] My fingers betrayed me. [15:47] I'm not seeing one in my branches. [15:47] i've been bitten by stuff like that on several occassions -- no other dvcs I've used has problems when you move repos around [15:48] rotty: Are you talking about repositories or branches? [15:48] Odd_Bloke: aren't those the same in bzr? [15:48] rotty: No. [15:49] A repository is Just a Bunch Of Revisions. A branch is a pointer to one of those revisions (which in turn point to their parents and so on, giving you history). [15:52] rotty: Often, the repository and the branch will be in the same location, but not necessarily. [15:52] For example, when using shared repositories. [16:00] I just have repos and branches that share location [16:02] (btw, removing that .bzr/branch/location file makes the branch not work anymore) [16:04] (and trying to correct it also doesn't work) [16:07] rotty: I'm afraid I'm not sure what's going on. [16:07] Perhaps a ML post would be in order. [16:11] well, running "bzr branch" locally, and using the newly created branch instead, worked [16:20] rotty: Yeah, that's the recommended way of doing it. [16:21] Sorry, it should have occurred to me to mention that. >.< [16:23] vila, going to be working on improving log performance? [16:23] you become my instant personal god if you are [16:23] beuno :-) [16:24] I have a problem with log, but not only a performance problem, so I'm reviewing the related bugs, tagging them along the way [16:25] But out of curiosity, what is your use case (there are several ways log performance can be improved) [16:25] vila, loggerhead [16:25] so bzr log -v ;) [16:26] log -v is quite a big hammer, you use it without limiting the revision range ? [16:27] vila, no, I do limit it [16:27] it's the only remaining thing we *have* to cache in loggerhead [16:27] the changed files per revision [16:30] beuno: can't you use tree.iter_changes directly ? [16:30] vila, IIRC, the problem is that we have to get all the files changed for a revision in mainline, with all it's sub-revisions [16:31] for 20 (mainline) revisions at a time [16:31] on a big tree (20k revs), you think using inter_changes would be fast to get that info? [16:31] I don [16:31] I don't remember atm how we get that information [16:34] beuno: oh, your context is a bit too complicated to be definitive :-/ (Except that iter_changes will only give you the delta between two arbitrary revisions and I don't think that address your "for 20 (mainline) revisions at a time" [16:35] Do you need (or use) the revnos ? That can make a difference, and if you use them, you'd better *not* call log -v multiple times [16:35] vila, right, I need it per mainline revision [16:36] I only use revnos for the mainline, so it's fine [16:36] vila, http://bazaar.launchpad.net/~loggerhead-team/loggerhead/trunk/changes [16:36] that's the page [16:36] all the information you see there is what we need to get [16:37] and, if you're interested in peaking at the file: http://bazaar.launchpad.net/~loggerhead-team/loggerhead/trunk/annotate/247?file_id=history.py-20061211064342-102iqirsciyvgtcf-5 [16:38] vila, maybe it's _get_deltas_for_revisions_with_trees? [16:39] it says "This is copied from bzrlib.", but I suspect that comment is from the 1980's [16:39] (sept 2007, actually) [16:41] beuno: right, you don't use log -v :-) You use bzrlib :) [16:41] right [16:41] but I'm hoping that improvements to one will trickle down [16:41] :) [16:41] wishful thinking? [16:42] No, you're right. But my remark about revnos doesn't apply then. [16:43] and changes_from calls iter_changes 2 levels down :) [16:44] right [16:44] so, "I'm screwed" === thekorn_ is now known as thekorn [16:45] beuno: nooo, just be patient ;-) [16:45] * beuno hugs vila and goes back to the launchpad bug sprint [16:45] will I see you at UDS? [16:46] beuno: no [16:46] ay... [16:46] we need a bzr sprint soon then! [16:48] sprinting eh [16:48] what do you guys use for tracking your scrums [16:48] always! [16:54] we use scrumworks [16:54] we use... wikis and drawings? [16:54] ah [17:34] hey guys, i'm looking at setting up a smart server, and i'm hoping to get some sort of authenticating system where various branches can be read-only, private or public [17:34] is there any existing wsgi sorta thing i can just drop in? [17:35] ie: something a bit like lp, where if you push to ~user/project/branch, it knows what to do === NfNitLoo` is now known as NfNitLoop [18:25] Does anyone use nested trees? I've had trouble getting a straight answer googling around, so I'm guessing no. [18:28] i like little forests [18:29] tristil, bzr doesn't support nested trees yet [18:30] LarstiQ is the mastermind behind it [18:30] but hasn't finished yet [18:33] Kobaz, I thought I liked subtrees but nested trees appears to be the best I can get. [18:33] beuno, Thanks the various references on the web and the different formats are confusing. [18:35] So people use configmanager instead for composite projects? [18:37] i dont even know what i want yet [18:37] so far i've got [18:38] projectcontainer/project/repo/trunk [18:42] Kobaz, but what's in projectcontainer? Is it a bzr repo/branch? [18:42] it's just a directory [18:42] like, a second order grouping of projects [18:42] like [18:42] web/mainwebsite/core/trunk [18:43] web/mainwebsite/modules/trunk [18:43] web/internal/core/trunk [18:45] Oh, well, what I really want is just svn:externals. I guess I can just keep adding, removing and exporting my subprojects. [18:45] aww, there's no externals in bzr? [18:45] That's what I thought nested trees were. [18:46] Of course, in Rails/Ruby they use a tool called piston to check in the externals anyway. [18:47] So you can freeze at a revision. [18:50] ah === fta_ is now known as fta === Mario_ is now known as pygi [20:12] dustybin: lvextend is a safe operation [20:12] er === tchan1 is now known as tchan [20:24] is there a way to make nautilus integration work under ubuntu? [20:25] dudus, the bzr-gtk ubuntu package is b0rked [20:25] there's an open bug about it [20:25] yeah I just subscribed to it [20:26] jelmer: I think it may be solved on debian [20:27] I think It's broken since gutsy [20:28] Yes, it is solved in Debian [20:28] dudus, nautilus-bzr was not enabled in gutsy intentionally iirc [20:29] jelmer: why? [20:29] dudus, it slowed down nautilus too much [20:30] ahn the good old synchronous programming [20:31] nautilus-bzr isn't any better now, but we added a button to allow users to disable it [20:31] the main problem is that the nautilus extension API is just too poor [20:33] jelmer: nice [21:49] I'd like to split apart the files in a branch, into two branches. There's no particular logic to which goes where, other than my judgement... I could just branch it twice, then delete half the files in each side, and go on from there.. but is there a nicer way? [22:07] LeoNerd: what you described is appropriate [22:11] I've also seen 'bzr split'.. not sure about that [22:21] LeoNerd, that splits out a specific directory, so would require you to move all of the files for one of the branches into a directory first [22:21] Ahh... Hrm.. I suppose I could do that [22:21] LeoNerd, and the result is similar to what you described [22:22] Ohright [22:48] OK.. So.. I've now created my two new branches on my server, each with their respective halves of the files... How to "close" the original branch, disallow further commits? [22:58] chmod? [22:58] Ooh. that'd work [23:39] LeoNerd: or rm [23:40] LeoNerd: but someone can always branch from the old branch and do commits; fortunately bzr will merge happily into both new branches