[00:01] spiv, call in a sec === vk5foss is now known as kgoetz [00:19] hi there [00:19] anyone an idea: http://rafb.net/p/v6LWKW51.html [00:19] ? [00:20] Necoro, Permission denied (publickey). [00:20] it shouldn't be tracebacking [00:20] spiv, ^ [00:21] Necoro, but, it's likely due to Launchpad being down [00:21] beuno: hmm - the web service is up and running ;) [00:21] but the traceback is strange though [00:21] AttributeError: 'ProtocolThreeDecoder' object has no attribute '_in_buffer' [00:21] Necoro: the codehosting service is not yet fully up. [00:21] Necoro, the web service, but not the code hosting [00:23] ok [00:23] then I'll try again tomorrow morning ;) [00:24] or in a few hours - depending on how long I stay awake [00:25] Necoro: that's a bug in -Dhpss [00:25] Necoro: it's fixed in bzr.dev (and 1.7rc I think) [00:25] spiv: *g* - bugs in debug code pathes are always great :D [00:30] spiv: did you see my comment on that merge request? [00:31] down to 15 failures btw [00:35] lifeless: yeah, I did [00:35] lifeless: it's still flagged in my inbox as something to address [00:36] cool [00:36] 2.45 seconds now btw [00:37] I've seen hg as low as 2.37 [00:38] so, without plugins, my bzr branch is faster :P [00:38] When I land faster-startup (tomorrow hopefully) that'll get you another 30ms :) [00:42] btw, did you try my status branch out ? [00:42] nice === kiko-afk is now known as kiko [01:20] ok, all tests pass [01:20] (all the intertree unit tests I mean) [01:22] still 2.45 seconds with everything passing, which is good [01:22] lots of fat in there still I think [01:23] breakfast now, test-parameterisation for this new extension after that, then people can pplay [01:25] when's next bzr rc cut due? [01:26] jam: ^^ [01:27] i f [01:28] i know this isn't a bzr question but, i know there's a way of getting a line count from bzr diff by piping it through something else. but i can't remember how [01:28] jdobrien: bzr di | wc -l will get you a line count [01:28] that's it! thanks! [01:28] jdobrien: but piping through 'diffstat' is also sometimes useful [01:28] jml: thank you [01:29] jml: diffstat, very nice === mw is now known as mw|out === ajaksu_away is now known as ajaksu [02:40] 2.42 seconds :P [03:21] btw [03:21] there is a faster status branch pushed to ...readdir [03:22] I'm tuning now, but its currently 1.4/3.84 seconds faster [03:22] lifeless: does it mean a faster diff against wt too? [03:23] mwh: yes [03:24] mwh: diff is built on iter_changes [03:24] right [03:24] * mwh tries to think what else is [03:24] merge, i guess? [03:24] but that's between revision trees i suppose [03:32] merge does a local diff [03:33] so yes, merge on large trees should feel faster [03:34] mwh: how long does 'bzr st' take you today on lp? [03:35] ~540ms for me. [03:35] Is bzr 1.7-rc1 something you want me testing? (alternative answers to "duh, yes" are "ooops, no, it's horridly broken don't touch" and "wait until 1.7rc2" and "no stick with 1.6.1 for day to day use" and "please test the $X which we want feedback on") [03:35] yah, you would see only a small improvement [03:36] AfC: rc testing feedback is always welcome; I don't know if there are specific improvements there that are relevant to you [03:36] {shrug} [03:36] Then I'll pull it in. [03:36] if 1.7c1 was horribly broken the IRC topic would likely say so [03:36] Uh huh [03:37] (I'm more getting at the tension between "it was just a snapshot on a given day" and "our dev tip is where it's at, but don't use that") [03:46] oh [03:47] well, I live ahead of tip myself; I think anyone that is interested can safely run tip - just need to track the rss feed for it to know what changes are occuring [03:53] AfC: use the tip of the bzr 1.7 branch if you want to test. It's got a couple of fixes that aren't in the rc. [03:54] I track tip, 'cuz it makes me feel special. [03:56] fullermd: you *are* special. Don't let anyone tell you different. [03:56] That's what the counselors always told me, while they were smiling and backing away. [03:57] Anyway, whaddaya get if you run released versions, anyway? All you do is trip over bugs that other people have already found. Where's the joy in that? [03:58] * spiv sometimes thinks that "Following the tip" sounds like "walking the plank" [03:58] I mean, that's all like "You: I found this bug lifeless: Yeah, it's bug 12345". [03:58] Launchpad bug 12345 in isdnutils "isdn does not work, fritz avm (pnp?)" [Medium,Fix released] https://launchpad.net/bugs/12345 [03:58] Especially when lifeless says he lives ahead of the tip :) [03:58] With tip, you can be all "You: I found this bug lifeless: o_O" [03:59] fullermd: the joy is that if the bugs are already known, then maybe the workarounds are too ;) [03:59] spiv: 'patches accepted' is not a workaround. [03:59] Piffle. What kinda wimp wants to live like THAT? [04:00] That's like getting pre-digested food. [04:00] Gotta have something you can sink your teeth into. [04:00] Even if it responds by sinking teeth into you... [04:49] mwh: so, did you try the branch? or just curious about whether it will help you ? [04:59] poolie: there's a mostly complete http://bazaar-vcs.org/SmartPushAnalysis1.8 now. I'm off to lunch. [05:01] hey, great [05:01] i was literally talking about it to thumper right now [05:04] * spiv does a couple last touches [05:04] Ok, really lunch now :) [05:06] poolie: buried in the "analysis" section is a description of the 10s win I mentioned this morning. [05:06] spiv, can you tell me more (or add more) to that page about the streaming-push work [05:07] like sending a put_revisions_stream rather than working on packs === Spaz is now known as Kittens === mario__ is now known as pygi === TheMuso_ is now known as TheMuso [06:10] lifeless: no, i didn't get around to it [06:16] spiv, are you back? [06:21] poolie: I am [06:21] quick call? skype or pots? [06:22] Either's fine with me. [06:26] will 'bzr upgrade' in a shared repo upgrade the branches in that repo? [06:36] jml: it didn't do so in the past, but I don't know if it does now [06:39] lifeless: thanks. [06:39] jml: easy enuff to find out [06:39] lifeless: yeah, I know. [06:40] the answer is "no" [06:52] hi all [07:11] jml: ping [07:12] lifeless: pong. [07:12] jml: AIUI bzr never stacks unless --stacked is passed [07:13] I refer to your lp documentation [07:13] if it is stacking without --stacked being passed, or a local default being set, I consider it a pretty big bug we should fix [07:13] lifeless: ok. [07:14] (because stacking generates a truncated database, it can lead to unrecoverable data loss if people think they actually have a full branch) [07:14] lifeless: not 100% sure what to say to that. [07:14] (and then delete something) [07:15] lifeless: the work I've been doing on Launchpad has been predicated on the default stacking policy stuff in Bazaar 1.7. [07:15] jml: I understood that policy to control *where* not *if* [07:17] lifeless: ok, then that's definitely something to raise on the Bazaar mailing list. [07:17] jml: AIUI bzr never stacks unless --stacked is passed [07:17] not true, a*i*ui [07:17] poolie: please read the above, then comment [07:18] from 16:11 < lifeless> jml: ping [07:24] lifeless: in any case, whether or not Bazaar needs to grow a local configuration option is incidental to Launchpad. [07:24] lifeless: if the 1.7 release gets one I'll update my instructions. [07:26] lifeless: this rollout only defines a stacking policy for projects on a pre-configured shortlist, so the impact is manageable. [07:32] hi [07:33] hm [07:33] my understanding was that it should not normally stack unless --stacked was given [07:33] but when pushing to eg launchpad the server could tell it to do so [07:35] this matches how bzr behaves at the moment. [07:40] yay [07:40] i'm so haappy to hear thaht [07:40] that* [07:41] :) [07:42] ok. well I'm going to take a few deep breaths to recover from that little shock. [07:45] lifeless: is this ok with you? [07:45] poolie: I don't really feel comfortable with that, but if you are, well, I have bigger fish to fry. [07:47] jml, can we change this later so the server just sends a suggested url but doesn't turn it on? [07:48] poolie: I'm not sure I follow. At the moment, all the server does is specify a URL in a control.conf file. [07:49] (and a billion things to deal with the fallout of that & Launchpad's own infrastructure) [07:50] poolie: presumably Bazaar can change at a later stage to respond differently to this URL. [07:50] ok [07:51] lifeless: thanks for the status update that was super useful [07:51] aside from being a nice set of numbers [07:52] I'd like to set usertest run across it [07:52] thanks for noting that it may be bottoming out too [07:52] ok [07:52] you can, or i can on escudero [07:53] is there a HOWTO? [07:53] yes, just google it [07:53] http://rabbit.eng.miami.edu/dics/amerlen/length08.txt ? [07:53] thats the only hit [07:53] for "'usertest' 'escudero'" [07:53] hee hee [07:54] http://people.ubuntu.com/~ianc/plugins/usertest/doc/usertest-tutorial.html [07:54] uhm [07:54] I meant on escudero [07:54] https://wiki.canonical.com/Orcadas [07:54] i mistyped [07:55] i'll be here for a few more hours so i'm going to take a break now [07:55] ok [07:55] well, I might poke tomorrow [07:55] reading those two docs suggests to me the answer is 'no there is no howto for running a specific branch' [07:55] so I'll look at it tomorrow [07:55] i can set it up [07:55] gnight, enjoy your call :P [07:56] it's in the doc on that machine [07:56] branch is http://people.ubuntu.com/~robertc/baz2.0/readdir [07:57] thanks! === Kittens is now known as Spaz|hedonism === Spaz|hedonism is now known as Kittens [08:36] hi, im trying to push a branch to lp , and i get "The server's host key is not cached in the registry" [09:02] poolie: Did you see my email regarding payment for the summer? [09:03] Odd_Bloke: hi there [09:03] yes let's see about that [09:07] poolie: I'm at work ATM, so email is better than IRC. :) [09:14] ok [09:25] sent [09:27] poolie: Thanks. [09:27] I'll deal with it when I get home. [09:27] Or possibly tomorrow, I'm probably busy this evening. [09:27] maybe we can talk tomorrow my time/uk evening [09:34] lifeless: should be running now in http://benchmark.bazaar-vcs.org/usertest/log/usertest.log.inprogress [09:35] ls [09:35] Oops [12:57] hi [12:57] is there anything new in the BzrGit department? === bac_afk is now known as bac [13:03] robsta: jelmer wrote (most of) it, so he'll probably know. [13:05] is it usable already? === kiko is now known as kiko-afk [13:49] robsta: it can clone locally I believe [13:59] ok, guess i'll stick to svn server-side for the time being, then === mw|out is now known as mw === cody-somerville_ is now known as cody-somerville [14:47] Hi guys! [14:47] is it possible to list all the revisions in a branch but ordered by date instead of "revision/branch"? [14:48] I mean.... instead of having the revision tree, I want toget all the revisions ordered by date [14:48] is that even possible at all? [14:50] jam: ping [14:56] in a bound checkout, does `bzr cat` hit the server? [14:57] I'd assume yes for lightweight,no for regular [14:58] good === raz is now known as razZz === razZz is now known as raz === Ng_ is now known as Ng === jam changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | bzr-1.6.1 now available! please test bzr-1.7rc2 | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ [16:33] how comes that bzr mv -q still shows what it moves? [16:34] Leonidas: it's a bug I expect [16:34] Yeah, I think so too. I just encountered again when I wrote it in a script [16:35] Leonidas: I would guess it's an easy fix [16:36] james_w: probably. It's not a problem currently, I just wanted to tell that to the developers, so they can fix it when someone has a bit of spare time. [16:37] Leonidas: a bug report would be a better way of doing that of course [16:38] james_w: sure, I'll write one in a moment. Just wanted to make sure I'm not the only one with this problem. [16:38] thanks, I'll check now [16:38] yup, I see it too [16:39] CLOSED: worksforme with the comment: "Do you think we'd miss something like this?" would leave me standing like an idiot ;) [16:39] true :-) === ajaksu is now known as ajaksu_away [16:47] james_w: there it is: https://bugs.launchpad.net/bzr/+bug/271790 [16:47] Ubuntu bug 271790 in bzr "bzr move ignores quiet option" [Undecided,New] [16:51] Leonidas: thanks, I triaged it [16:55] cool, let's see how it'll continue :) [16:55] meow [16:56] oh my [16:56] 1.7 already? O_o [16:56] (well, an rc, but still) [16:56] did you hire a team of slaves or such? [16:58] Kittens: 1.7 was hot on the heels of 1.6 [16:58] 1.6 had a over-long release cycyle [16:58] ah :p [16:58] * rocky is comforted by the fact that there are so few changes between 1.7rc1 and 1.7rc2 [17:01] * awilkins just wants them to merge his switch-to-sibling patch so he can stop maintaining his own builds [17:01] markh: Is it hard to build the "exe" version? [17:35] awilkins: ping [17:35] Verterok: pong [17:35] awilkins: hey there! [17:36] awilkins: patch merged, and also a few other fixes/enhancements in bzr-java-lib (also in bzr-eclipse) [17:38] Verterok: Excellent :-) [17:39] Verterok: I love it when my patches get merged, I don't have to maintain the branch anymore :-) [17:39] awilkins: hehe, indeed. [17:40] Going to have to keep that callisto branch going though, methinks [17:41] At least until my PM badgers Borland into coughing up upgrade licenses [17:41] awilkins: (don't remember if already told this) about the dependency on core.expressions it's only used in the refresh hook [17:41] So we can use the Ganymede version insdtead of Callisto [17:41] Verterok: Yes... the refresh seems to work OK, so I'm not sure if it breaks anything to be on Callisto [17:41] Is there any specific behaviour that it enables? [17:42] awilkins: that's is only for a specific layout [17:42] awilkins: when the project root is below the branch root [17:42] Verterok: Flat or hierarchical or something else? [17:42] Ah [17:43] So it would come into play on bzr-eclipse, for example [17:43] awilkins: i.e: bzr-eclipse project layout: mutliple projects in one branch [17:43] yes [17:43] It doesn't affect most of my stuff [17:43] awilkins: that was my point :) I assume you can remove the refresh hook and so the core.expressions deps [17:49] Verterok: What exactly is the bit that needs that version? Because if you just take the version number out of the manifest, it compiles and appears to run ok. [17:49] And a version of "3.2.100" suggests a callisto component to my mind [17:52] awilkins: I think the 3.2.100 was added in Europa (but just guessing) [17:52] awilkins: I never specified a version :p [17:53] Verterok: It's true that I can't find a 3.2.100 version in the Callisto updates, but a europa-specific component should be 3.3, no? I suspect it's a patched version of a europa-compatible library [17:53] Sorry, callisto-compatible [17:53] That would fit the version number scheme [17:54] awilkins: here (3.4) seems to compile without the version number [17:54] Also does so for 3.2 [17:54] awilkins: the version scheme is not exactly like that :) [17:55] Well, it should be :-) [17:55] awilkins: mayor.minor.bug-fix, mayor change *only* if there are api breaks, minor when there are new api or visible changes [17:57] Verterok: It just makes a sort of internal sense to me that a component of version 3.2 has had the same API since Eclipse 3.2 [17:57] Since there are also 3.4s in Ganymede but not in Callisto [17:57] esp. for actual eclipse bits [17:58] awilkins: in ganymede, core.expressions is in version 3.3 :p [17:59] awilkins: http://wiki.eclipse.org/index.php/Version_Numbering <- from there I taked my lame explanation of versions numbers :) [18:01] Yes, but you have to admit that the large amount of "3.2" components in Callisto, and 3.3 in Europa, and 3.4 in ganymede... well, I reckon there's a convention operating within the rules there :-) [18:01] What would fail if it wasn't working properly on this version [18:01] awilkins: sure, it makes sense that most of the componentes get bumped to 3.3, 3.4, etc :) [18:02] BUt if the API does not break... then not [18:02] Hence 3.3. on Ganymede, etc [18:02] awilkins: right :) [18:02] * Verterok just realized that bzr-eclipse should be 1.0.99 :p [18:03] * awilkins has had to revise client code several times, you naughty dog [18:03] :-P [18:03] :) [18:04] Since you didn't choose a version number, I suggest it is removed [18:04] Since it compiles just fine here [18:04] awilkins: ah, all tests passing on *nix :-D [18:04] And you don't support 3.2 anyway because you use 3.3 components [18:04] awilkins: sure, I'll remove it in my next commit [18:05] I have a little patch for your /tmp dir stuff [18:06] Hmm. [18:06] awilkins: patches are more than welcome :) [18:21] Verterok: They fail to start a client here [18:21] Verterok: My laptop is passing. [18:22] awilkins: the client don't start? [18:23] awilkins: also I added a few goodies related to preferences, let me know if the chicken-egg issue is solved for your case :) [18:35] Verterok: It doesn't seem to be registering the client factories before it asks to create one [18:36] It calls into createClient and factories is an empty mapo [18:36] awilkins: hmm, let me check [18:36] argh, why does `bzr diff` return a nonzero value on a non-error condition? [18:36] I'll trap my working one and see where regstierAdapterFactory is getting called during the tests [18:37] Tak: it indicates the result of the diff [18:37] Tak: take a look at the end of: 'bzr help diff' [18:38] awilkins: it should be in TestsConfig/TestConfig (If I remember ok) [18:38] I see what they mean [18:39] but the shell treats !0 as an error condition and acts accordingly [18:39] diff(1) returns non-zero on differences too. [18:40] Verterok: Badgers, my fault [18:40] I'm running with xmloutput 0.5 [18:40] meh, it does? I guess that answers my question then [18:41] My thoughts on that are ; since bzr-java-client can manipulate the PLUGIN PATH, it could have it's own internal xmloutput plugin [18:41] But it probably needs a test to check the plugin version [18:41] awilkins: oh, ok. I was thinking that maybe the new "lightweight" checks for the executable broken something on win32 [18:42] Verterok: All the bits of code I suspected haven't changed between our branches, I think [18:42] * awilkins pulls xmloutput [18:43] awilkins: that would be nice, I've been playing with eclipse regarding this "bundled-xmloutput", and it seems quite simple to achieve [18:43] awilkins: do you know if the PLUGIN PATH override the default plugins location? [18:49] Verterok: I don't know [18:49] Verterok: It all passes here apart from index because I don't have the plugin [18:50] awilkins: great, I must add a conditional in the execution of the test related to bzr-search [18:51] Now I'll try a startup in a clean workspace [18:52] * Verterok cross fingers and wait [18:53] awilkins: the preferences page should be opened on startup [18:56] Verterok: Ok, zero prefs [18:56] So far. [18:56] Imported a project (because I'd usually do that and forget about VCS for a while) [18:57] Ok, menus are available.... go to prefs now [18:58] Set the .bat file... it's happy [18:58] Took a moment to show overlays because this is a large tree [18:59] So the "can't set prefs" issue is clear [19:00] awilkins: gooooood :D [19:00] This is a slightly patched branch because I've removed callisto things to make it compile [19:01] *europa [19:01] But only those changes required (no SaveableEditor) [19:03] My wife is waving cake [19:03] * awilkins departs, drooling === kiko-afk is now known as kiko [19:38] * beuno points everyone at: http://www.smashingmagazine.com/2008/09/18/the-top-7-open-source-version-control-systems/ [19:39] hi beuno [19:39] hey Verterok [19:40] lifeless, igc, jam, abentley ^ [19:41] anam I missing some navigation, or isn't there much to the review? [19:42] well, it's not very profound [19:42] but it showcases bzr quite weel [19:42] well even [19:44] ok :) [19:45] TBH, it's a site that normally features design stuff [19:45] so it was surprising to me to see that entry [19:45] so I had to share it :) [19:50] "Monotone places higher value on integrity than performance." [19:50] I thought that was bzr's claim :-P [19:58] Tak: you obviously haven't tried monotone lately ;) [20:02] haha, no [20:02] one experience was enough for me [20:03] * awilkins has a monotone server that's run untouched on his DVR for ages [20:03] I think I'll transfer the source to bzr branches and leave it at that [20:04] yo [20:04] ew monotone [20:04] hello ronny [20:05] monotone is certainly nice and powerfull, just dog-slow cause poor data-store [20:05] SQLite is not poor ... but RDBMS are a poor idea of version control [20:06] Another reason to shy away from TFS [20:06] it's a bit sad, they did some nice stuff [20:06] awilkins: well, given the context sqlite is poor [20:06] VSS! With SQL Server as a backend! Yay [20:06] well [20:07] is there anything compareable to svn authz access via http/apache for bzr? where you can control access to various repos and/or folders-within-repos via a config file? [20:07] eh, tfs is a bit more like svn with sql server as a backend ;-) [20:07] rocky: You can only do authorization on a whole-tree level [20:08] there is a script in contrib/ [20:08] awilkins: well, is there anything making that (on whole-tree level) simple for a http based bzr serving? [20:08] for SSH keys [20:08] hmm, well, will bzr branches stay to limited to one head and having the workdir point to that [20:08] beuno: what i'm asking for would need to be read/write via http [20:09] rocky, ah, webdav. vila is the man to ask about that [20:09] vila: ^^ :) [20:09] it's late-ish for him, so he may not be around [20:09] if you don't get an answer, sending an email to the list is the next best thing [20:10] Hmm, I like the domo-kun eating trees on their picture of git, why isn't the real git like that.... [20:10] since the main bzr http serving thing is just a python wsgi app (well at least it looks that way) it seems fairly straightforward to write my own access middleware for that [20:10] but i'd love to see if someone's already one that [20:10] *done === kiko is now known as kiko-phone [20:11] rocky, well, contributions to loggerhead are *very* welcome :) [20:11] I've only gone as far as configuring access via IIS auth [20:11] I've managed to do read & write through apache (bzr+http://) [20:11] anyway, I'm off to the dentist [20:11] You just use IIS user impersonation and normal NTFS ACLs [20:11] IIS, eeeeew! [20:11] ew [20:11] ok, that's it for unproductive comments from me [20:11] I know, but the production site is ASP classic [20:11] ew is right ;) [20:11] * Spaz threw up a little [20:12] I could change it to PHP in short order though [20:12] THe ASP is only being used for a very few things [20:12] Mostly inserting "1" and "0" into links in strategic places [20:13] Might be nicer... but without it, Bazaar would not have working IIS support yet, so ner. [20:13] rocky: using AuthType Basic and AuthUserFile like with svn [20:13] awilkins: I for one think you're a hero :) [20:13] i think IIS discussion is off-topic in here [20:13] and quite frankly i think it's flamebait :P [20:14] well as long as everyone here acknowledges that MS tech beats all i don't need to argue.... [20:14] * rocky couldn't resist throwing out some bait [20:14] hurhurhur [20:14] :P [20:15] Yes, MS tech is a violent assault, we agree [20:15] i think m$'s technology is their attempt at conquering the world...and it seems to be working [20:15] :p [20:15] * Spaz forks himself into the background [20:16] Spaz: nah, not as it concers [20:16] meh [20:17] * LarstiQ kicks freezing laptop [20:17] don't kick it too hard [20:17] markh: Ping? [20:28] hi all, is there any way to pull individual file changes from a revision? [20:31] ahh, dumb question, just found out merge supports that [20:31] bzr help diff [20:31] or that [20:40] hi [20:45] bpierre: hey, did you try `bzr add subtree`? [20:45] s/hey/hi/ [20:45] looks like i spoke to soon... online some refers to using individual files with merge... but i can't find anything in the help about it [20:46] oh actually it does work... it just doesn't accept wild cards. === kiko-phone is now known as kiko [20:51] does it work if the directory containing the subtree is added but not yet commited? [20:58] LarstiQ: here is what I did: http://www.pastie.org/275241 [21:02] bpierre_: I think that should work. The root fileid won't be set yet of ruby, so _possbily_ that could go wrong [21:02] I tried to commit, then add, no luck [21:02] no luck in what way? [21:02] I'm using the right format, right? [21:03] bpierre_: yes, old, but alas [21:03] add src, commit src, branch ../c src/c, add src/c [21:03] bpierre_: what does that give? [21:03] nothing, if I do a status, src/c is still unknown [21:06] hmm [21:06] 0.373 opening working tree '/home/bpierre/projs/test/ptree/ruby/trunk/src/c' [21:06] 0.390 skip control directory '.bzr' [21:07] in ~/.bzr.log [21:07] * LarstiQ tries to find a workable machine === kiko is now known as kiko-phone [21:13] bpierre_: oh wait, which bzr is that you're using? [21:13] bpierre_: path/to/nested-trees/bzr ? [21:14] installed http://bazaar.launchpad.net/%7Elarstiq/bzr/nested-trees/ with --prefix=~/progs [21:14] bzr --version: Bazaar (bzr) 1.3.0.dev.0 [21:14] bpierre_: ok, so bzr in your path is that one? [21:14] yep [21:16] bpierre_: bah, you're right [21:16] how do i publish my local bzr repo to an ftp server? [21:16] ? [21:17] bpierre_: that means I'll have to refamiliarize myself with the code [21:17] ok [21:17] hi all, i can't seem to find the right lines on your webpage to add to /etc/apt/sources.list... any clues? [21:17] this is on Debian, of course [21:18] bpierre_: I'm sorry I don't know currently why that is so :/ [21:18] jcomeau: testing or sid should not need anything extra [21:18] LarstiQ: how can I execute the test suite? [21:19] bpierre_: bzr selftest [21:19] bpierre_: without the latter it will run the entirety [21:19] ok [21:19] bpierre_: there are on the order of 10 failures/errors atm [21:20] ok, and I don't need to be in a specific directory? [21:20] bpierre_: (if you're bored, you can look at `bzr help join`, and see how well that models your components usecase) [21:20] ah, ok [21:21] bpierre_: join is also in regular bzr fwiw [21:21] bpierre_: I believe at least Debian/Ubuntu run the suite after building packages, and not from the source tree, so I expect that to work [21:21] really? I noticed split was [21:22] (part of the regular bzr) [21:22] bpierre_: in development, most people will run it from a bzr source tree [21:22] ok [21:22] bpierre_: yeah, bzr-svn uses (or used) the same functionality under the hood [21:22] the rich root format? [21:23] bpierre_: splitting and joining [21:23] what are the differences between all those format? rich-root, development-subtree, dirstate-with-subtree? [21:24] LarstiQ: that's what i gathered, but apt-get -t unstable install bazaar tells me it's already the latest version... and it's 1.4.2 [21:24] jcomeau: s/bazaar/bzr/ [21:24] i have installed the new release and i got this message always i use the bzr command. [21:24] jcomeau: the 'bazaar' package is unfortunately named, it is not the bzr Bazaar [21:25] bpierre_: different ages basically [21:25] LarstiQ: thanks! looks like that'll do it... [21:26] bpierre_: rich-root is a part of what the nested-trees needed, but that got integrated a while ago [21:26] bpierre_: dirstate-with-subtree is the old dirstate format, plus subtrees [21:26] bpierre_: and development-subtree I don't know but assume to be current development format plus subtree [21:26] ok, and rich-root? [21:27] pl0sh: what error? [21:27] in the blueprint, rich-root is required, so is rich-root part of subtree format [21:27] ? [21:28] bpierre_: no, the rich-root feature is necessary but not enough [21:28] bzr-svn is not up to date with installed bzr version 1.7rc1. [21:28] There should be a newer version of bzr-svn available. [21:28] Standalone tree (format: pack-0.92) [21:29] bpierre_: rich-root _is_ enough for bzr-svn though, part of the reason why rich-root formats exist in released versions [21:30] ok, it's what I understood then [21:30] thanks [21:30] pl0sh: either update bzr-svn to a version that works with bzr 1.7rc1, downgrade bzr to a version that works with your bzr-svn, or disable the bzr-svn plugin [21:30] bpierre_: np [21:30] * LarstiQ really needs to start going home [21:31] ok, so, what version of bzr-svn works with bzr 1.7rc1? [21:32] pl0sh: no released versions according to http://bazaar-vcs.org/BzrForeignBranches/Subversion [21:32] pl0sh: two other options, run with --no-plugins, or ignore the message. [21:33] pl0sh: you do realise bzr 1.7rc1 is a release candidate, and not a released version? :) [21:33] pl0sh: silly question ; do you use it? [21:33] sure i know it [21:33] (bzr-svn, that is) [21:33] pl0sh: if you don't use bzr-svn, disabling it is probably the easiest solution [21:34] i don't use it i think i'll disable it or anyway just ignore the message [21:34] You can just find it and move it to the parent folder [21:34] LarstiQ: mmm, did a join, without --reference, commit, but then noticed --reference, and how it matched more by usecase, so uncommit, revert, add (after renaming src/c/.bzr.retired.0/), and now commit [21:34] pl0sh: if you do want to use bzr-svn and 1.7rc1, you could use a non-released bzr-svn version as well [21:34] but it fails [21:34] :P [21:35] * LarstiQ slaps self [21:35] bpierre_: reference, that's it! :) [21:35] bit I'm not really going gentle with it, what with the uncommit and all [21:35] alright, thank you [21:35] LarstiQ: the error is: bzr: ERROR: already in a write group [21:35] pl0sh: which would be lp:bzr-svn/0.4 I think [21:35] bpierre_: huuuu [21:35] :D [21:36] I'm going to try all over again, start from a clean state [21:36] btw, i'm not very expert using bzr, and i'd want to use it better, where can i start? [21:36] bpierre_: I like your abilities as a tester ;) [21:37] pl0sh: that depends. Reading the documentation is a start, but imo interacting with other people works best. [21:37] * LarstiQ really heads home now [21:37] bpierre_: thanks for trying this stuff out btw, I can use the kick under my rear :) [21:38] i just use the basics of bzr [21:38] pl0sh: well, what more do you want to do? [21:39] pl0sh: plugins can be fun to write, if you have the time and the inclination [21:39] pl0sh: as can reading the mailing list [21:39] that would be great [21:40] actually i use bzr to keep tracking my development and as a helper when a make a mistake (i.e. delete a file or something like that..).. [21:41] but actually i don't know how to use bzr in a team, like merging branches (i think) [21:41] I have been using svn for a long time, and I am trying to migrate to bazaar. I have the repository set up on a remote box and I am having trouble checking out from it. [21:42] LarstiQ: same error: http://www.pastie.org/275273 [21:43] bazaar is not liking my proxy settings [21:43] Is there a way to list the available repositories at a URL? For example, I have access to bzr+ssh://username@hostname.com/some/path. [21:44] I can push something there [21:44] but I want to see what others are doing in the same tree [21:44] hmm, seems having a gannotate window open makes bzr pull fail with [21:44] bzr: ERROR: Could not acquire lock "[Errno 11] Resource temporarily unavailable" [21:44] Wah, wah, wah [21:44] but I don't know the exact path to their repository. [21:44] I built bzr.exe for windows, and it doesn't work [21:45] mwh: Yes, many things I think should be read only use too many locks [21:46] VanL: Not exactly. There's a 'branches' command in bzrtools that will walk around a given location and try to list all the branches there. [21:47] fullermd: Does it come with the basic bzr install? [21:47] No, but it's a common plugin. [21:48] There's a package for it on most OSen that I know of [that bzr is packaged for, at least] [21:50] part of the windows setup exe too [21:50] hey lifeless, are you around? [21:51] In bzrlib/plugins? [21:51] VanL: qlog from qbzr will find the branches and show the tips form the branches. See http://garyvdm.googlepages.com/qlog-repo.png [21:51] any direction on how to rebuild the setup exe for windows? [21:51] GaryvdM: thanks [21:52] fullermd: thanks, now installed. [21:56] is it new that remotebranches support set_stacked_on_url? [21:56] i think they do something really weird with relative paths [22:10] ah no [22:10] it's that RemoteBzrDir.find_branch_format opens the branch [22:21] jam: ping [22:21] jam: do you know, offhand, where Py_ssizet is defined, getting buildfailures of all our extensions on a python2.4 box [22:22] lifeless: You need a new-ish version of pyrex [22:22] which will do a proper "if python_version < 2.5: #define Py_ssize_t int" [22:23] lifeless: looking at the file I have right now: [22:23] re [22:23] http://rafb.net/p/47rI8Y78.html [22:23] this is still running dapper :P [22:23] Py_ssize_t only exists on python >2.5 [22:23] sorry, >= 2.5 [22:24] lifeless: I'm trying to debug why PQM is running into autopack failures [22:24] And I seem to have run into a *very* strange situation [22:24] Where I'm seeing a revision text 6 times in the same pack file [22:24] each time with different content [22:24] just whacking that into _)dirstate_helpers_c.h has helped [22:24] jam: if you're analyzing the pack content, remember that knit hunks only have a revision field [22:25] jam: so you'll see file texts and inventories etc willynilly [22:25] jam: there is a bug open on the autopack issue, its not just pqm (FWIW) [22:25] lifeless: sure, but how would you get 6 items? [22:26] ah, just multiple file texts? [22:27] bpierre_: same thing here, I'll look at it tomorrow, after some sleep [22:27] ok, thanks [22:27] lifeless: about that only having a single tip per branch + always having the workdir point to that tip, is there any chance to ever change that? === kiko-phone is now known as kiko-afk [22:29] jam: rev, inv, sig, 3 file changes [22:31] ronny: well, everything can be changed, if the community agree its an improvement [22:31] ronny: I'm not quite sure what you mean though, because branch, in every VCS I know of, refers to one of two things: a line of development, or a bifurcation in the revision graph [22:31] Well, the workdir can already point elsewhere than the tip. You just can't do or find out much of anything about it when it is. [22:32] lifeless: do you know how LP guys are requesting PQM do a cherrypick? I didn't think that was possible [22:32] jam: cherrypicks are done by the osas i think [22:32] ronny: in the former, a revision is the definition of an entry point into the graph; I guess you could define multiple revs as all being 'part of branch X' [22:32] jam: manual merges by LOSAs [22:33] Well, mtn can have multiple heads because "on a branch" means "has a given certificate attached"... [22:33] ronny: and in the latter case, its structural rather than user facing [22:33] I don't know what an OSA or a LOSA is, but it is getting the PQM user-id [22:33] fullermd: indeed; mtn is the exception :) [22:33] lifeless: well, git, hg and monotone allow me to go to previous/alternative versions in a branch, i build my workflows around that, bzr really differs there [22:33] monotone allows multiple heads for a branch [22:33] jam: 'sudo' :> [22:33] anyway, I have the feeling that the manual editing is where the problem is happening [22:33] *why* I'm not sure [22:33] but that seems to be causing the later problems. [22:33] jam: I don't, because the same thing has happened to beuno on a normal push [22:33] I'll check another example (I have 2) [22:34] bpierre_: not just monotone [22:34] jam: there is a bug open, with tarballs of the branch as it happened live [22:34] are we talking about the packs collisions? [22:34] can be interrested to go back (maybe using something like bisect), and fix the bug where it was added [22:34] jam: don't get confused by pqm hitting it :P [22:34] then merge the multiple heads [22:34] if we are, it's happened multiple times already, with different branches [22:34] ronny: AFAIK bzr allows precisely the same workflow, spelt a little differently, but the same overall picture and work [22:34] also, you can pull/push with monotone, without having to merge, which can be great (you can always do the merging on one machine) [22:35] ronny: if there is a something you want to do and bzr doesn't help you do it, thats definitely a bug. [22:35] lifeless: as far as i got that i have to make a multi-branch repo and create multiple branches on different paths, and thats just not what i want to do [22:35] lifeless: I want to find bugs in bzr? :) [22:35] ronny: Well, I think it IS just monotone. The others have multiple branches. [22:36] ronny: bzr switch ? [22:36] guys how would i resolve the pending merges? or can i also abort that pending merges? this exist when i issue 'bzr status' [22:36] wouldn't the -r fix to update fix that? [22:36] being able to go back [22:36] toytoy: normally, you'd commit them [22:36] Not exactly. [22:36] LarstiQ: not really [22:37] update -r fits different uses. [22:37] LarstiQ: not nearly as flexible [22:37] ronny: then it isn't clear to me what you want to do. [22:37] fullermd: ? [22:37] LarstiQ: oh yeah thanks i did and it's lost i thought it will still show :) [22:37] toytoy: after you do a merge, you need to do a commit to action the merge [22:37] toytoy: bzr stops after ocmbining the content, so you can review it [22:38] fullermd: well, in monotone multiple heads with the same name are pretty much 2 "branches", too they just happen to have the same name [22:38] bpierre_: update -r lets you flind your WT around easily (and with better semantics for various things than using revert), but it's not the same as jumping among branches at all. [22:38] bpierre_, ronny: perhaps a little detail will help. We have 3 objects: [22:38] WT - your source code unpacked on disk, and some metadata such as the revision bzr set the tree to be [22:38] lifeless: oh i see, thanks for that :) [22:39] ronny: Not really; as far as mtn is concerned, it IS one branch. Leads to some impressively large small differences. [22:39] Branch - a tip in the revision graph, with attached user editable metadata like push-location, tags etc [22:39] well, my first concern is being able to switch revision, not branch, and being able commit on the same branch [22:39] Anyway. I do agree that branches being tied to directories makes a number of things more cumbersome. [22:39] Repository - history store [22:39] but being able to switch a workspace to another branch could be handy too [22:39] With a lot more support code, a fair bit of that could be papered over, but... [22:40] fullermd: well, from a technical point its just 2 heads in the dag with the same name tag, it works exactly the same in hg [22:43] bpierre_: you can switch workspaces easily - the switch command does this. [22:43] a shared history store gives you disk space optimisation, for large projects this is useful [22:44] bpierre_: when you say commit on the same branch, do you mean 'manage branches roughly like mtn' ? [22:45] wife calling, I'll be back in a bit. ronny - look into tags; they may do what you want [though using a single workspace N branches should do it too - I'd like to know the downsides] [22:45] well, what happen if I go back, and try to commit? [22:46] all on the same branch? [22:46] lifeless: i mostly want to deal with stuff like i do with git/hg, im not using mtn these days [22:46] isn't switch only part of the loom plugin? [22:47] no [22:47] bpierre_: well, the dirstate has to be linked to the revision you are at, so you would create a new line of history thats to be merged at a later point [22:47] I really liked monotone, but conflicts were a pain, and bzr is so much faster [22:47] ronny: ok, that's what I want [22:47] how would I merge? [22:47] merge . [22:47] ? [22:48] if you got 2 heads, you would just merge, else yo'd have to refer to the revisions [22:49] how would revision number be constructed? [22:50] ronny: well, git gives you a new ref in the same repository, which is equivalent to a separate branch in a shared repo in bzr [22:50] well, there are bzr's uuid's and bzr could also infer a local linear numbering (hg does that, works like a charm) [22:50] I have revnos 1 2 3 4 5, go back to 3 with update -r 3, commit [22:50] ronny: have you tried this, and of so what didn't it do for you? [22:51] lifeless: i disliked the workflows of shared repos [22:52] ronny: local linear numbering conflicts rather badly with concurrency [22:53] yeah [22:53] so I think there are ~ 3 discussions going on here at once [22:53] a) how to do what bpierre_ wants [22:54] b) how to do what ronny wants, in a way that works for ronny [22:54] c) some technical stuff about design/scaling etc [22:54] lifeless: you mean concurrent multiple writers to the repo? [22:54] bpierre_: in the current design, if you want another line of development, you need a new branch object; branches in bzr are like branches in git in this way - they are not inferred, they are explicit references [22:54] ronny: by concurrency - yes [22:55] hmk, nice [22:55] mmm [22:55] bpierre_: branches are cheap though; I have a repo with ~12K branches, and it performs fine [22:56] the problem is more how a branch is tied to a directory [22:56] lifeless: any locks involved for stuff like tags? or completely lockfree? [22:56] bpierre_: what about that gives you problems (damn, I sound like eliza) [22:56] I mean in monotone, there is a clear difference between the database, and a workspace [22:56] ronny: tags are per-branch, and as such the branch-lock surrounds mutation to tags [22:57] ah, ok [22:57] each revision can have multiple branch certs, and monotone just try to follow the DAG for update operation [22:57] ronny: so two branches can be pushed concurrently to the same repo, they don't conflict or collide [22:57] an complain if it find a fork [22:58] then you can reconcile multiple heads on the branch [22:58] I've hit some ugly corners in mtn on that sort of thing, to be sure. [22:58] with bzr, a branch is tied to a directory, no? [22:58] The flexibility is nice to have, though. [22:58] fullermd: what corners? [22:58] bpierre_: yes, branches are tied to a directory, but you can consider that a user-accessible database if you like [22:59] bpierre_: try this, just quickly, if you would: [22:59] Well, to take one example, I propogated a change where there was no divergeance. Only the head got the new certificate, so one side of the 'branch' wasn't connected. mtn-viz had a total fit for somebody else. [22:59] bzr init-repo --no-trees /tmp/bzr-db [22:59] my only real problem, was how you resolve conflict, with a use case where you have a simplifed project, and you propagate with new/modified files in a directory that don't exists anymory in the target branch [23:00] yeah, I could consider a no tree repo has my db [23:00] and then I can create has many branches [23:00] (a lot of things about mtn bugged the snot out of me. I don't particularly enjoy working with it. But the multi-head capability makes doing daggy fixes REAL easy, and I miss that) [23:00] bpierre_: right [23:00] which might be different revision of the same branch [23:00] logical branch [23:00] bpierre_: trunk is one branch, and feature branches a,b,c [23:01] but, it's more work [23:01] than with monotone [23:02] bpierre_: ok. I take it you've tried working with this? [23:02] btw, can you easily add custom certs/properties to a revision? [23:02] there is a revision_properties facility [23:02] lifeless: multiple branches for each feature? [23:02] we use it for recording branch nicknames and plugins use it for recording arbitrary things [23:02] ok [23:03] bpierre_: multiple branches, switch between them, etc. [23:03] bpierre_: I'm going out on a limb here, but are you trying to do 'daggyfixes' ? [23:03] no, but it is one use case [23:03] last time, I wanted to use the bisect plugin [23:04] to find a bug [23:04] which was a waste of time since it was a hardware bug on my project, but I disgrees, anyway, right know, what the plugin does is revert to a revision [23:05] so stat, show the differences with the tip of the branch [23:05] which is not practical [23:06] and might be tempted to fix it in the revision that introduced it, so yes, a daggyfix, no? [23:06] well, basically 2 things about branches suck, 1. dirstate is allways bound to the latest rev, 2. there is no way to have more than one head [23:06] i want to jump back to rev x, commit a fix, merge with head [23:06] also my tree is big, so all those operation take time/space [23:06] ronny: exactly [23:07] bpierre_: switch is mostly O(difference), so total tree size and history are not really factors [23:07] I found the dirstate bound to tip thing confusing [23:07] 1. isn't true; there's just no real capability to manage it not being. [23:08] yah, 1. is false, though bzr tries to keep it always the same to allow commit() to work [23:08] commit cant commit to revs that already have children? [23:08] ronny: commit commits to the tip of a branch [23:08] ;( [23:08] (which is to say, the dirstate can easily point at any rev in the branch history, but there's no way, sans deep hacking, to MOVE it to anywhere but the current tip) [23:08] ronny: branch is defined as 'a tip' [23:08] uh, thats well bad [23:08] Commit therefore makes a new tip [23:09] ronny: so its a tautology [23:09] So it should be able to make a new tip from any revision ; it already has done, for every revision before this one... [23:09] oh [23:09] terminology overlap [23:09] You can certainly have multiple tips in a repo [23:10] 'tip' here -> 'tip of the line of development', *NOT* 'a leaf node in the DAG' [23:10] Or heads [23:10] the DAG is unknowable, because its simultaneously distributed and disconnected [23:11] its also O(history) to do anything with it that involves inferring 'unmerged' from the entire dataset. this simply doesn't scale well without complex caches or long critical-lock sections around insertions to the db [23:11] * mwh waves https://bugs.edge.launchpad.net/bzr/+bug/271924 [23:11] Ubuntu bug 271924 in bzr "RemoteBzrDir.find_branch_format opens the branch" [Undecided,New] [23:11] ronny: so if you change the branch tip and dirstate rev you can commit against *any* rev in your local database [23:11] around [23:12] ok [23:12] this just mutates your existing branch - its what commit does, it mutates a branch to add a commit object to it, which is likewise inserted in to the repository [23:12] (actually the ordering is 'new commit object in repo; update branch tip; update dirstate' [23:13] hmm, it generaly sounds a __lot__ more complicated to do in bzr, than it is in git/hg/monotone [23:14] ronny: git is the same - create a new commit object (done by linking to the index), update the branch reflog and basis reflog [23:14] ronny: hg is the same - insert content into all the modified revlogs, then the manifest revlog and revision revlog, then update the dirstate [23:14] I haven't read the code for commit in monotone but I bet it is ~= [23:15] we're having a deep technical discussion rather than one about getting you working well, because you seem to want to do that:) [23:15] well, bzr doesnt seem to allow me to work like i want [23:16] well, in hg i just do hg up -r rev; commit; merge [23:16] +1 [23:16] in mtn i do the same [23:16] ronny: so, question. [23:16] ronny: if you do the first two commands, and someone clones you, what do they get ? [23:17] 2 heads [23:17] ronny: and how do they know which one really represents the branch ? [23:17] (vs being an experiment that failed) [23:17] both do [23:17] they don't [23:18] bingo, that confusion is exactly my point [23:18] know which one is best, an experiment [23:18] in bzr we don't have that, because the branch tip is well defined at all times [23:18] well [23:18] yeah, but with a process, a common location with a gatekeeper [23:19] where is the problem? [23:19] There very often isn't a good process or a gatekeeper. [23:19] people cant pull my local repos, no problem, i wont push before the merge [23:19] bpierre_: what if the gatekeeper does that ? :P Or more pragmatically, consider shared branches, where there are many gatekeepers [23:19] also, a good use case with multiple heads, is being able to commit on one machine, push to another, and do the merge on the second one [23:19] bpierre_: you can do that with bzr just fine [23:20] also pushing is pretty much prohibited without explicit force if there are more than 1 heads as a result [23:20] you have to create another branch, no? [23:20] so remote branches are well-defined [23:20] you can't push if you have diverged [23:20] bpierre_: no, though its the simplest way IMO [23:20] i just want to do what the heck i want locally [23:20] * abadger1999 often works on git repos where there's multiple branches with no well defined method of finding which a given piece of work should be done on. [23:20] lifeless: how do you it without a new branch? [23:20] I note that it's a social problem though... launchpad makes the same thing happen to collections of bzr branches. [23:21] bpierre_: bzr push, ignore the error about divergence, bzr heads on the other machine, bzr merge . -r [23:22] wait, push will have pushed the revisions? [23:22] bpierre_: though I prefer to just make a new branch when I have that situation, it remembers it for me then [23:22] bpierre_: yes, the repository will have them, they just aren't reference from the branch [23:22] mmm, but you have to remember the revid [23:23] bpierre_: thats what heads will tell you, and heads --dead only lists unmerged heads [23:23] ok [23:23] what I like about separate branches is that they are cheap, they are easily managed (I can have arbitrary number of pending-review, pending-merge, in-progress, etc) [23:23] by cheap I mean no workspace [23:23] and no separate history store [23:24] Does uncommit mark revisions? [23:24] as for the use case of 'make a new branch from an arbitrary rev', well - I think bisect can definitely be improved; there already is 'bzr branch -r XXX' to make a branch @ a rev [23:24] Because one thing I found is that "heads" is really fouled by uncommits [23:24] awilkins: If I understand you correctly, no [23:25] Branches being directories does necessarily make them heavier weight than ref-based branches, though. [23:25] yeah, but you don't want a new workspace for each revision you try [23:25] awilkins: that would be nice wouldn't it. needs some thought [23:25] It would be nice if uncommit marked a rev as having been uncommitted [23:25] fullermd: yes, but thats the same weight as git and svn and cvs and a few others besides [23:26] although, you could cheat with a new branch, cloning the tip, and then pull --overwrite -r ? [23:26] No (well, maybe svn/cvs, but I don't count them) [23:26] I don't mean heavier technically; I mean heavier psychologically. [23:26] You have to switch a lot more gears. [23:26] There needs to be a whole lot more UI magic happening to make dir-based branches seamless in a way that ref-based are naturally. [23:26] fullermd: mmmm, I don't see why; single tree, switch between, branches to list, push-repo, modulo bugs [23:26] fullermd: please define 'ref-based' [23:27] Well, ref-based can be dir-based, but meaning managed entirely by the tool behind your back. [23:27] bpierre_: yes, new branch, pull --overwrite -r X, should be fast [23:27] branch-and-switch would cover a lot of it [23:27] Consider the case: I have my branch of $PROJ. You suggest a branch I should merge in. [23:27] fullermd: ok [23:28] If bzr were ref-based, I could "bzr branch $NEW beblatz ; bzr switch beblatz ; ; bzr switch mine ; bzr merge beblatz ; bzr ci" [23:28] But with dir based, I can't do that directly; I have to switch to knowing about the filesystem, and "bzr branch $NEW /wherever/my/repo/is/beblatz", etc. [23:28] fullermd: but you can do that today, with one change: [23:28] Ditto when I'm done, and can "bzr rm-branch beblatz" instead of "rm -rf /some/where... crap, where is that..." [23:29] "bzr branch $NEW ../beblatz ; bzr switch beblatz ; ; bzr switch mine ; bzr merge ../beblatz ; bzr ci" [23:29] fullermd: have you tried the switch branch-finding heuristic? [23:29] No, because I don't generally work that way. But until it's a branch branch-finding heuristic and a merge branch-finding heuristic and a diff branch-finding heuristic... it means you're switching a lot of gears. [23:29] so right now, switch is the only command that has the ref-behind-your-back heuristic, afaik [23:30] switch is provided in 1.7? [23:30] fullermd: note that for hg, you have to rollback to decide you didn't like it, which is fugly, for git you need a branch-name, (so its system-managed, and thats nice) [23:30] I don't claim that dir-based branches are _inherently_ psychologically heavier, but there needs to be a lot of UI magic to make them FEEL the same weight. [23:30] fullermd: oh, I agree, the heuristic needs to be pervasive [23:30] fullermd: I was asking if you had tried it [23:30] bpierre_: switch is single, um, 0.92 or something; been in for ages [23:31] ah [23:31] bpierre_: what we're talking about here, is a heuristic where switch will look for branches in oldbranch/../, which means less typing for you [23:31] Unfortunately, it's a lot like the performance question, in a way. [23:31] bpierre_: but other commands don't yet do that [23:31] It's not "bzr can't", but "bzr presently doesn't". [23:32] And each side of the question is going to put a very different emphasis on that phrase :| [23:32] Being branch-based we have an inherent [not insoluble, but] problem, in that we HAVE to have that heuristic. [23:33] how many paths does mysql have in it ? [23:33] And it's a lot of places to sprinkle it. Even if we get all the commands, then we have branch: and ancestor: and such revspecs to handle too. And then there are plugins... [23:33] I can live with the typing, it's just that the use of checkout can sometime be confusing (at least to me) so I didn't think about using it with a regular (disconnected) branch [23:33] (after reading the help for switch) [23:33] Heck, look how long it's taken us (still taking?) just to get all the commands to understand the metadir format, and stop demanding WT's when they don't need them, etc. [23:34] (not that that's in any real way related to the issue, just the same on some level in the amount of distributed assumptions) [23:37] I agree, I keep finding myself wishing that merge had the same sibling-heuristic as switch (and that someone would merge my sibling finding patch for switch) [23:37] wait, switch only work for a checkout ... [23:37] bpierre_: Yes, but the sibling heuristic only works on lightweights [23:37] bpierre_: My patch fixes it so it works on eavies too [23:37] sibling? [23:38] brother, sister [23:38] well, basically the workflow enfocements and the speed issues basically make me avoid bzr for all of my own projects [23:38] lifeless: so I have an idea of what is causing the auto-pack problem. And it *is* related to the cherrypicking, but only tangentially [23:38] bzr switch sibling == bzr switch /../sibling [23:38] bpierre_: repo/{foo,bar}, cd foo, switch bar == switch ../bar [23:38] I guess lightweigts is ok, I think I'm starting to understand how you use it lifeless [23:39] LarstiQ: yeah, just syntaxic sugar [23:39] :P [23:39] bpierre_: exactly [23:39] lifeless: consider if we have packs of 10*9, and one of 1, and then we fetch another pack of 19. This will trigger an autopack, and try to create a pack of 100, 10. It can fill the 100 one from all the large packs [23:39] and the size 1 pack gets "promoted" to size 10, but there is nothing else to put in with it [23:39] Anyway, I'll poke at it more, but I think it is something worth trying out. [23:40] I think BB needs some work. 'tis down again. Does it do many hardworking things? [23:41] so you create a repo, with x no tree branches, and then you work with one checkout of those branches, which you can then switch depending on your activity, right? [23:41] bpierre_: That's it [23:41] thanks [23:41] :D [23:41] bpierre_: Rather the same as git, only the branches are out there in the filesystem for you to look at [23:41] yeah [23:42] (can git do hierarchical branch organization by the wa?) [23:42] I don't think as such, but you can mostly fake it via naming. [23:42] jam: ok. [23:42] jam: it may help to simplify things there, I realised a while ago that autopack should be a little simpler. [23:42] We fake naming via hierarchy; they fake hierarchy via naming ;) [23:43] fullermd: You can just move those folders around, right? [23:43] and if I want do to a daggyfix, I can just push -r to clone at a revision, and switch to it, than back to where I was, and merge? [23:43] fullermd: As long as they stay in the repo? [23:43] jam: specifically, rather than going for N packs of specific sizes, when we were past a pack boundary, it should (still using the 1, 10, 100 etc logic - thats fine), just calculate the ones it wants to combine, and output one single big pack [23:43] In bzr, you mean? Sure. [23:43] jam: e.g. rather than making a 100, and a 10, it would just make one of 110 [23:43] lifeless: sure [23:43] Only thing it screws with is the bindings [23:44] D'oh, poolie's not around. [23:51] lifeless: triggered it [23:51] * fullermd scampers off to a meeting. [23:51] now I need a simpler test case :) [23:53] bbiab, food [23:58] hello [23:58] poolie: Hey. [23:58] hello [23:58] poolie: hi [23:58] lifeless: instructions on how to get it to fail easily are on bug #242510 [23:58] Launchpad bug 242510 in bzr "Pack already exists when pushing/autopacking" [High,Confirmed] https://launchpad.net/bugs/242510 [23:59] poolie: I'm afraid I can't really chat now. :(