[00:00] How do we write a test for say qdiff? [00:01] side - by - side qdiff [00:01] and check that the systax highlighting is working? [00:01] puzzling [00:01] Obviously, you write two tests and run them side by side! [00:01] if our internal data is correct then colors should be correct [00:02] fullermd :-P [00:02] Ok - thats a very extreame case. [00:02] qlog should not be too hard - just lots of work. [00:03] garyvdm: I've installed winmerge today. it's more powerful than qdiff s-b-s, albeit lacks syntax highlighting [00:03] there is too much 3rd party diff gui tools [00:04] may be we just need ad them [00:04] On windows - I prefer Araxis Merge - unfortunately it is proprietary. [00:04] But I'm doing most of my dev on ubuntu these days - so I use meld [00:04] some people can buy proprietary soft [00:05] or crack pro^H^H^H^H^H^H^H^H^H^H^H^H^H^ [00:06] I dunno, luks rewrote qdiff s-b-s several times and we still is not perfect [00:06] garyvdm, I understand [00:07] there is one area we can do better: qann [00:07] Yes - we need to be able to select the revision you are annotating. [00:07] Go back [00:08] yes, something like this [00:08] I personally don't gannotate's ui for that though. [00:08] don't? don't like? [00:08] err - yes - don't like [00:09] I would rather have this: you right click on a revision in the revision list - and click "Annotate this revision" [00:09] I don't ran bzr-gtk for ages, I don;t remember how it [00:10] this is fine way [00:10] The revision that is annotated is highlighted in the list. [00:10] * fullermd just wishes viz would stop polluting his clipboard... [00:10] one thing that turn me mad in qt is clipboard [00:11] I'm selecting some text in qdiff, close it -- and then find that clipboad is empty [00:11] You need to go back to an older qt [00:12] err, I mean I'm copy text to clipboard but qt clear it on exit [00:12] older? [00:12] I'm using 4.3.1 [00:13] fullermd: switch to qbzr and your clipboard will be empty all the time [00:13] Are you sure - We had a discussion on the ml about it - you told me that it worked in 4.3.1 [00:14] Subject: Copy, Close Window, Paste does not work [00:14] qbzr requires qp 4 though, don't it? [00:14] Yes [00:14] yes, I'm observing this issue only in qdiff, but not in qlog [00:14] I don't have 4 around. And QT is freakin' HUGE. [00:14] (only reason I have bzr-gtk around is that I already have GTK anyway) [00:14] fullermd: windows installer is about 12MB [00:15] it's not very huge for me :-P [00:15] * fullermd doesn't own a machine that runs Windows :p [00:15] morning [00:15] good day igc [00:15] Heck, even QT 3 takes longer to build than Firefox, IIRC. Nutbar. [00:16] fullermd: so you have never tried qbzr? [00:16] that's why I prefer python tools: I don;t need to compile tem (usually) [00:16] No. I wouldn't have tried bzr-gtk if I didn't already have all the pieces but the python gtk bindings either. [00:16] I don't have any real use for it. [00:17] I don't think I've ever even fired up anything but viz, and I've only used viz recreationally. [00:17] garyvdm: I've re-read that discussion about clipboard [00:18] I have no problem with most of the q-windows, only with qdiff [00:18] only with s-b-s qdiff, because it's default [00:18] bialix: ok === mark1 is now known as markh [00:18] I suspect it's because there is different widget used [00:19] maybe something related to painting [00:19] * bialix checks [00:19] bialix: linux desktops generally have clipboard managers. I wounder if you can find one for windows. [00:20] (I note that viz resets its clipboard damage when it exits too, which makes it either better or worse; I'm not actually sure which) [00:20] wow [00:20] it looks interesting [00:20] hi bialix [00:20] it works now on win xp for black text [00:20] ian, I have question about fast-import [00:20] garyvdm: http://msdn.microsoft.com/en-us/library/ms649014(VS.85).aspx [00:21] bialix: sure, and I have a Q for you! [00:21] garyvdm: which is, its built in. You can supply the content or you can be called back. [00:21] bialix: bug 328007 - any thoughts? [00:21] Launchpad bug 328007 in bzr "UnicodeDecodeError on 'log -p'" [Undecided,Confirmed] https://launchpad.net/bugs/328007 [00:21] garyvdm: but it does not work as expected with win2k I'm using at work [00:22] * bialix looks [00:22] bialix: my simply fix breaks a fair few tests that I think you wrote so I wanted to hear how you thought we should proceed there [00:23] * bialix cough [00:23] it's tricky [00:23] honestly, I think we should have versioned properties to store encoding of files [00:24] or at least rules [00:24] lifeless: thanks [00:24] it's ideal situation I know [00:25] igc: you can't use exact on log [00:26] otherwise you have to manually encode log messages [00:27] bialix: I'm not sure I understand how encoding files/rules will help here? [00:28] igc: because then you can decode them to unicode [00:28] lifeless, do you remember the subject of your email with instructions on running bzr serve from homedir on a remote side? [00:28] *site [00:29] igc: I think to fix this issue one have to provide exact stream for log formatter but create another wrapped stream internally to log everything but diff [00:29] streaming-push alpha testing [00:29] igc: is it correct? [00:30] bialix: something like that but I have next to no idea on how to do that :-( [00:31] ok, I can try to figure it out, but I have a question about fast-import first [00:31] bialix: my knowledge in the whole encode/decode space is "just the basics" [00:31] bialix: fire away [00:32] hey igc [00:32] hi poolie [00:32] igc: I'm pleased to hear you think I'm expert in unicode, of course, I hope I can help [00:33] lifeless, jam, poolie: got a bzr-1.12 branch converted to gcchk255 yesterday [00:33] oh ok [00:33] it took 4.5 hours [00:33] igc, i'd like to set them up on orcadas [00:33] igc: I have a real need to replay some my branches and filter them in very smart way. But I need to preserve file-ids [00:33] but it's 1/2 the size!!! [00:34] jam: I've been trying to benchmark it this morning but I've been running into gremlins here and there - mostly in my setup [00:34] i had many gremlins on orcadas [00:35] jam: however, "./bzr log -r-1 NEWS" doesn't work for me on brisbane-core [00:35] the patch i sent you was really pathetically small for how long it took me to work out :-} [00:35] igc: where the code for generating diff in log lives? [00:35] poolie: what is orcadas [00:35] bialix: the machine that's http://benchmark.bazaar-vcs.org/ [00:36] bialix: the diff gets generated by calling into diff.py - the result is stored in a StringIO [00:36] you can really see in that first graph how the noise makes it hard to say straight away whether there was a meaningful change or not [00:36] poolie: your genius to choose right names for things is imressive [00:36] bialix: later on, the LOgFormatter calls a method called show_diff that tries to dump it to self.outf [00:36] bialix: is that sarcasm or not? :) [00:37] poolie: but Kergelen is a bit offensive :-P [00:37] a bit [00:37] ah ok [00:37] the naming of cat is a difficult matter [00:37] well, that one i did not choose [00:37] :-) [00:37] Orcadas Base [00:38] the worst canonical machine name (for me) is in russian actually [00:38] um [00:38] soyuz [00:38] poolie: sorry that the usertest code is pretty rough - it gets minimal love because it doesn't necessarily deserve/need more [00:38] yes? [00:38] Novolazarevskaya [00:38] poolie: well until some other por sucker tries to tweak it :-( [00:38] LOL LOL LOL LOL [00:38] s/por/poor/ [00:39] igc, i know, it's ok [00:39] ROTFL!!!!!!!!!!!!!!!!!!!! [00:39] poolie: you know the English is hard language too [00:40] i'm not sure if this is true but i've heard it means something like "New Miami Beach" [00:40] which is a joke because it's a place in Antarctica [00:41] they have a bath there [00:41] bath == warm [00:41] warm == beach [00:42] Novolazarevskaya is just a name [00:42] Novo == new [00:43] maybe it's the nickname for the place or something [00:43] soyuz is about the last part of landscape to have an obscure code name [00:43] lazarevskaya it's the beach near the Sochi [00:43] Black Sea [00:44] so yes, it's ~= New Maiami Beach [00:45] igc: so what about fast import and file ids? [00:46] bialix: its a good question! [00:46] bialix: fast-import has some support for incremental changes ... [00:47] but I feel it needs some deeper thought [00:47] at a minimuym, some better ui polish and doc on how to do it and the limitations would be nice [00:47] igc: until I saw fast-import in action I'm thinking about writing my tool for this [00:48] also, I have many failures with renames [00:48] bialix: I really need to bug Jelmer about this topic when we both have some time [00:48] some of my branches even have cyclic renames??? [00:48] bialix: please raise bugs for the rename issues [00:49] bialix: I've recently added a heap of tests for fast import, though fast-export doesn't have any yet [00:49] igc: it's occured on private branches [00:49] bialix: I know I'm still missing fast-import tests for renaming and copying directories though [00:50] I dunno how to properly write bug report [00:50] igc: 1/2 size, thats a bit disappointing [00:50] bialix: all I need is a minimal fast-import stream showing the scenario and expected outcome [00:50] igc: ok I see LogFormatter.show_diff, but who call it? [00:51] lifeless: you were expecting more? [00:51] rats [00:51] I'm back [00:51] igc: yes, various sample data goes to 1/7th [00:51] jam: probably need the byte-length encoding for gc 'i' instructions [00:51] lifeless: the other curious thing about running brisbane-core/bzr upgrade --gcchk255 was that the dirstate size went up [00:52] not by much but a bit (328 blocks to 36) - something like that) [00:52] igc: ? *blink* [00:52] s/36)/360/ [00:52] igc: how about this fix for log -p [00:53] igc: store original exact stream as self.exact_stream and use it for show_diff [00:53] bialix: show_diff is called by the ShortLOgFormatter and LOngLF [00:53] igc: did you do a full branch of the result? [00:53] igc: and wrap it as in command.py Commad._setup_outf and store as self.to_file [00:54] igc: that will get rid of some redundancy (outside a shared repo, obviously) [00:54] bialix: line 1311 of log.py is one called to show_diff() [00:55] igc: I'll write it for you. Here is just 02:56 and I'm don;t sleep anyway [00:55] bialix: legend [00:55] lifeless: I was upgrading from a pack branch - no shared repo before or after [00:55] legend? [00:56] * bialix hates chatzilla but have no better irc client [00:56] bialix: I was trying to say thnk-you very, very much [00:56] s/thnk/thank/ [00:57] lifeless: I'll upload the branch (as an archive) to orcadas - I just wanted to make sure it mostly worked first [00:58] lifeless: I've used to pb. don't see it with bzr 1.12 is hurt [01:00] igc: one downside with using exact encoding for log: output will be LF-only on Windows [01:02] bialix: yeah, I'm not sure whats going on; if it was 1.13 I'd know (because spiv and I broke it temporarily) [01:02] but I think for Windows qlog is rocks [01:03] lifeless: and I don;t see pb in qbzr too, it seems it's just disappear [01:04] bialix: does diff have the same issue? [01:04] igc: what issue? [01:05] igc: for plain diff exact is right thing [01:05] igc: but for plain log -- i'm not sure [01:05] but I can live with this [01:06] I just want to inform you abut this side effect [01:12] igc: ping [01:12] is there a way to delete a bazaar branch remotely? without logging into launchpad per se? [01:13] shtylman: there probably is an API for it in launchpadlib but i don't think there is a UI at present [01:13] poolie: thanks [01:13] igc: I have the patch for you [01:14] bialix: thanks! I'll test it later today [01:14] send it to list or to you personally? [01:15] shtylman: you could add one to bzr's launchpad plugin if you're keen [01:15] I've tested it manually only, have no desire to write unittest [01:16] poolie: well, I don't just want to be able to do it in launchpad, but for other projects as well [01:18] igc: sent to ML [01:19] perhaps I need to manage me to sleep. bye [01:34] whos bazaar for windows developer? [01:46] how does one duplicate a bzr repository to another bzr repository -- do you have to do it one branch at a time? [01:46] khemicals: I'd probably use rsync. [01:46] rsync doesn't talk http [01:47] There might be a plugin that helps, but if so, I don't remember it. [01:47] so -- there's no command I am m issing [01:47] but bzr doesn't natively support it [01:48] If it's plain HTTP, there's no way to walk the file system, so unless bzr kept a list of branches somewhere, which it doesn't, it isn't possible... [01:48] Mmm, commas. [01:48] k [01:48] it doesn't keep a list of branches? [01:49] mlh: Correct. [01:49] nowhere? [01:49] mlh: Correct. [01:49] so you can't discover branches remotely, you have to know what you want. [01:49] So, I pulled a branch from an existing public repo (just playing with bzr here to see how it goes) and tossed it into a local repo (was created using repo-init) using something akin to bzr push bzr+ssh://host/PATH_TO_REPO but now I cannot check it out since I don't know what the branch name is [01:50] There are find_bzrdirs and find_branches methods, but they just go recursing through the file system. [01:50] is there a default branch name [01:50] khemicals: ...What? [01:50] khemicals: Branch names shouldn't matter, just the specific location. [01:50] it errors [01:50] let me get the error for you [01:50] * Peng_ avoids knowing much about checkouts [01:51] bzr: ERROR: Not a branch: [01:51] and then the path thereafter [01:52] with git, for instance, I can clone the ENTIRE repository [01:53] just trying to figure out how to do the same without filesystem access to the repo I am trying to duplicate [01:53] Peng_: Why do you avoid knowing much about checkouts? [01:53] trying to figure out where I am going wrong here [01:56] khemicals: Checkouts are something extra to learn. Regular branches are usually enough for me. [01:57] what's the difference between pull/checkout/branch commands? [01:57] * khemicals reads the man I guess [01:57] Ehh, I'm not good at explaining things. [01:58] khemicals: Were you trying to "bzr branch" from a repository or checkout instead of a branch? [02:00] it was a branch since none of it worked against the repo root I don't think [02:00] khemicals: pull maintains a mirror; checkout creates a checkout - a place to edit an existing branch, branch creates a new branch (and if the target is local it can be edited in-place) [02:00] so, pull still only works against a branch though, right? [02:01] khemicals: Right. Use "update" against a checkout. [02:02] so, can I pull a branch from one repository and use push to push it to another? [02:02] khemicals: yes [02:02] do I need to create a destination branch in the repo I am pushing to first? -- or is that was export is for? [02:03] khemicals: no, push will make a branch if one doesn't exist alrady [02:03] what's the name of the branch -- the same as what I pulled? [02:03] khemicals: branches have urls, not names [02:04] khemicals: in git branches are 'refs in a repo', in bzr 'branches are directories at a url' [02:04] s/refs in a repo/'named refs in a repo' [02:04] well, the name is essentially just a subdir of the repo [02:04] so, how is that name determined [02:04] khemicals: you don't need a repo [02:05] khemicals: try it - bzr branch [some branch] /tmp/demo [02:10] bzr branch http://bazaar-vcs.org/bzr/bzr.dev bzr [02:10] so, how do I populate a new repo, that I want to share, with that content (including full history)? [02:12] khemicals: bzr branch [02:12] bzr branch bzr SOME_NEW_URL ? [02:12] khemicals: Sure. [02:13] khemicals: if you have a lot of branches, or a lot of history, you can run 'bzr init-repo URL' to create a history-sharing repository with no content, then whenever you bzr branch URL/suffix, or bzr push URL/suffix, bzr will use that repository to share branch content [02:14] khemicals: but generally most folk don't need this [02:14] the folk that do tend to be server admins and developers on projects with hundreds of MB's of history [02:22] I found my issue [02:22] in checking out the various protocols server side, I set the --directory option on the bzr daemon [02:22] it stripped too much of the path out [02:23] so it didn't match the path used by the other mechanism [02:23] thus confusing the heck out of me [02:24] but I do understand it enough to limp along now -- will keep reading, thx for the assist [02:24] khemicals: no problem [02:24] khemicals: most folk just use 'bzr+ssh://' as the protocol, which sets --directory automatically [02:25] I am just toying with all its server side functions [02:25] bzr+ssh is fine [02:25] cool [02:25] but wanted to try native bzr [02:25] protocol [02:25] as well [02:25] feel free to shout if you want any more input [02:25] you can checkout from loggerhead to? or no? [02:25] I think you can branch from loggerhead in the very latest versions [02:25] mwhudson: ^ please confirm or deny [02:26] yes you can [02:26] s/checkout/branch [02:26] wrapping head around new nomenclature that overlaps others [02:26] but it doesn't support Range:s so don't use it on anything big... [02:26] yeah, I can appreciate that [02:27] strictly speaking you could checkout from loggerhead, but it doesn't support writing back to it, so you wouldn't be able to commit -> checkout isn't that useful in that case :) [02:32] loggerhead will do bzr+http sooner or later i guess [03:06] lifeless: can you help me with a CHKInventory issue please? [03:07] lifeless: what's the way forward wrt referencing "children" of an InventoryDirectory? [03:08] it looks like iter_entries() on a chk-inventory can break because the attribute is now _children, not children, and there's a children() method on the ... [03:08] ChkInventryDirectory class but not one I can see on InventoryDirectory? [03:09] jam: ^^^ [03:10] igc: I would say we need to add one to InventoryDirectory() [03:10] we really want to be able to lazily bring stuff in [03:11] jam: ok, I'll do that and change the references to .children to .children() [03:11] jam: sound right? [03:11] sounds right to me [03:11] jam: thanks [03:12] jam: fyi, to see the bug in action, try bzr ls -r-1 on a chk branch and you'll see nothing listed [03:13] interesting [03:13] igc: btw, I just finished another improvement to chk+gc [03:13] which improves inventory compression by 50-100% [03:13] jam: sweet [03:13] I'm pushing it up now === montywi is now known as montywi|zzz [03:14] jam: is gcchk255 still the preferred format for me to be benchmarking? [03:14] igc: I need to do another round of testing myself [03:14] jam: it souded like you were leaning towards a 127? [03:14] I might also be cheating more than I realized [03:14] igc: I have to test *after* compression [03:14] it can make smaller things become bigger [03:16] * fullermd blinks. [03:17] Something went screwy with pushing multi-initial-rev branches? [03:17] * fullermd really needs to watch bugs more closely... [03:18] fullermd: apparently! [03:18] fullermd: I was surprised too. [03:19] * fullermd is extremely surprised. [03:19] A very large number (quite possibly a majority) of my branches have >1 initial rev. [03:20] I've never seen issues pushing with say a up to 1.5 version spread between my bzr.dev client and the latest-release-mod-upgrade-slack-time server. [03:20] It's only a blowup, right? Not a "gee, it worked fine, but it's gonna screw you later"? [03:20] Right. [03:21] And it's purely a client-side issue. [03:21] spiv, lifeless: question on the new stream tests [03:21] if an entry is in "Chunked" encoding [03:21] Oh, good. That leaves me with only 38,849 entries on my worry stack for today. [03:21] the "capture_stream()" fails [03:21] because "self.assertIsInstance(factory.get_bytes_as(factory_kind), str)" [03:21] groupcompress hits this [03:21] because it only talks in fulltexts/chunked (so far) [03:21] igc: so as jam says, it needs to stay lazy [03:22] igc: there is a property for children; if the property isn't working correctly there is a bug [03:22] I would guess that ultimately we want to have gc go the same route as your "knit-delta-closure" patch [03:22] igc: it sounds like something changed in bzr.dev [03:22] jam: yes, knit-delta-closure is roughly the same problem case as gc for streaming network [03:23] jam: I just haven't gotten around to it [03:24] jam: that might be a bug in the test; but generally we don't want any stream returning direct Chunked or Fulltext objects, because they don't have a small network representation [03:28] igc: for example, I expect 255-way to compress better, because you have a big top level page, and fewer intermediate pages [03:28] so even though its raw size is slightly larger [03:28] it may end up smaller post compression [03:32] * igc lunch [03:34] igc: So if you pull the latest groupcompress, you should be able to 'bzr pack' [03:34] and have it spend far too long with no progress bars [03:35] but end up with a smaller inventories [03:40] jam: so just running pack is enough? I don't need to upgrade to another format then upgrade back for example? [03:40] igc: for this, that should be enough [03:40] so in my quick test [03:41] lifeless,jam: so I missed the @property bit - make me wonder whether the bug is in the inventory building rather than the inventory lookup? [03:41] lifeless,jam: but lots of stuff *is* working [03:42] so it's not obvious to me yet where the bug is [03:42] pre-compression, gc+chk16 is 20MB versus gc+chk255 is 31MB, after compression it is 9.5MB versus 7MB [03:42] so 20MB raw => 9.5MB comp, 31MB raw => 7MB comp [03:42] which makes gc255 better [03:42] There are other factors to test, though, so I'll get there [03:43] jam: any do you expect lookup speed to be much the same? or 255 faster? [03:43] s/any/and/ [03:44] How relevant are those compression numbers, though? Aren't you still to-do delta compression or other schemata on them? [03:45] igc: smaller == less bytes to read, larger fan-out means you filter more keys per pass. So overall, I expect 255 to be better on both counts [03:45] but expect != measured [03:45] fullermd: this is one form of delta compressino [03:45] still one of the factors to be evaluated [03:46] Well. But does it have the same properties as $FINAL, though. [03:48] it should at least have *similar* properties [03:48] jam: pulled groupcompress rev 50 and kicked off that pack now [03:52] igc: So yeah, there is a property; it should work; there are tests - perhaps the input is flawed in some way. Cross checking by using iter_entries_by_dir or something might be enlightening [03:52] igc: wait [03:53] I just found a quick bug when there are signatures [03:53] I'll have a fix in just a sec [03:54] jam: ok, I'll stop it [03:54] I'll also get a quick progress on the texts done [03:55] lifeless: sure. I tried a quikc corss check using entries but it's not defined on CommonInventory, just Inventory, so I might move that up a level too [03:56] igc: when moving up just take the time to check it uses public interfaces not private attributes [03:58] lifeless: sure [04:00] igc: revno 52 is available [04:00] should give you some idea of progress now [04:00] I also noted that converting is slower than 'bzr pack', which is good [04:00] well, good that 'pack' is faster :) [04:10] jam, lifeless: so I'm closer t finding that children() bug - the "slow path" in CHKInventoryDirectory.children() gives a good result while the code after that if statement finds no children [04:13] lifeless: so here are some hard numbers for including/removing 'label' and 'sha1' sum fields. [04:14] for gc+chk255, the inventories go from 8.3MB compressed down to 7.0MB compressed [04:14] the texts go from 11.0MB => 9.6MB [04:15] or approx 107 bytes per object for inventories [04:16] and 202 bytes/object for texts [04:16] [compressed] [04:20] though interestingly enough, after a 'bzr pack', the final inventories shrunk dramatilaly [04:21] as it is now 6.5MB rather than 8.3 (so w/ labels is smaller than w/o labels) [04:22] though after 'bzr pack' the *text* size went up, 11.0MB => 11.3MB. [04:42] hm [04:43] in a test, i want to create a (local) branch, then open it over the smart protocol [04:43] what's the easiest way to do this? [04:46] nm, got something working [05:04] lifeless: I deleted your subunit/filter merge proposal and created it again so that I could blog about something more easily [05:04] lifeless: please ignore the mail :) [05:10] igc: a quick update. revno 53 drops it by another 2MB, so now 4.4MB down from 6.5 [05:11] how to undo last changes in my directory [05:12] Stanlin: "bzr revert" [05:19] lifeless: woot!. Surprisingly, changing the grouping had a much bigger impact than I expected. [05:19] thanks [05:19] By creating more groups, I'm down to 1.5MB, which is actually finally *smaller* than the knit source [05:19] (1.8MB) [05:19] I'm going to do a conversion from scratch to confirm, but it looks good so far [05:19] (raw size is identical, etc) [05:20] igc: You may want to stop it and use revno 55 [05:20] jelmer: so, it's still running [05:20] jelmer: "copying revision 1405/6696" (I killed it and restarted it at one point, in a bout of nervous fear) [05:37] I was wondering if there was an appropriate way to delete a branch that's in a shared repo? [05:38] if I have /repo and /repo/b1 and b1 branch is using the shared repo for storage, I've just been deleting the b1 directory... Does that leave un-wanted cruft around in my shared repo? [05:39] Is this where the pack command comes in? I guess I'm just unsure since there isn't a remove-branch from repo command... [05:40] eferraiuolo: there's a bzr gc plugin that will remove it [05:40] normally people just leave it there unless it's unreasonably big [05:41] poolie: so there is some cruft left around in my repo if I just delete the branch dir? [05:41] yes [05:42] poolie: thanks. I'll look into the gc (garbage collection??) plugin [05:42] yes [05:43] igc, are if you're still here, is http://pastebin.ubuntu.com/123652/ correct/reasonable? [05:43] igc, also, i was wondering about encoding eg the project name, scenario name, script name into the csv file [06:13] poolie: back from reviewing some chk code [06:13] poolie: that pastebin looks fine bar lines 54/55 which is a partial sentence [06:15] poolie: I'm open to any encoding suggestions, though the current output of 'just a table' has value in it's simplicity === mark1 is now known as markh [06:23] i was basically thinking about putting just a couple of other heading rows [06:23] like tool, version, project, scenario [06:23] suite [06:34] poolie: sure [06:52] it shouldn't break anyone using them in eg a spreadsheet [06:53] as long as they can cope with there being nonnumeric data [06:53] and it'll make it more selfcontained [07:07] hi all [07:18] hi vila [07:19] hi Ian :) [07:35] abentley: hi. [08:00] help - tried to upgrade bzr and now get: bzr: ERROR: The API for "" is not compatible with "(1, 9, 0)". It supports versions "(1, 11, 0)" to "(1, 12, 0)". [08:00] but bazaar is 1.12 - I don't know where 1.9 is coming from [08:03] from a plugin, probably [08:03] deleting bzr-lib seemed to work [08:04] now when I try to update bzr-svn directory I get bzr: ERROR: Not a branch: "http://bazaar.launchpad.net/~jelmer/bzr-svn/trunk/"./ 0kB [08:16] night all [08:19] thrope: what do you mean by 'deleting bzr-lib' ? bzrlib ? Where did you delete that ? [08:20] vila: site-packages [08:21] anyway thats ok now - but it seems bzr-svn and bzr-rebase that I had a branch of have moved or something so I just gave up and downloaded a tar ball [08:22] thrope: So you deleted the bzrlib fron you site-installed packages (but you may still have the bzr script somewhere). What OS are you using ? [08:22] vila: centos - its really fine now - I had installed a new version without manually deleting the old one [08:22] so i deleted the old one (script and site-packages) and reinstalled the new one [08:23] thrope: ok === montywi|zzz is now known as montywi === serg is now known as serg|phone [10:45] is it possible to allow checkins to bzr via http? [10:45] I want to delete Bazaar from one of my projects completely. How do I do that? [10:46] hey what is the parameter for adding a dir but not recursively === ollie_ is now known as Ollie_R [10:47] bzr help add is hard to read? [10:48] luks: nope :) [10:48] luks: thanks [10:48] finiteset, what do you mean? === serg|phone is now known as serg [10:51] Spaz: I have this folder for one of my projects which is a Bazaar branch. It has all the .bzr stuff in it. Now I want to get rid of Bazaar from the folder. I was wondering if I can use a Bazaar command to remove Bazaar from the folder. [10:51] just rm -rf .bzr [10:51] no special commands needed [10:52] So all Bazaar files are in .bzr folder? [10:54] its done thanks [10:55] Spaz: commit needs write access, you need to either install a smart server or configure DAV and use the webdav plugin [10:55] hm ok [10:55] The former is preferred for performance reasons, the later exists for people who just can't administer their http server [10:56] Spaz: what is your server ? [10:56] it's internal [10:56] :p [10:56] (not publically accessible) [10:57] Spaz: or more to the point, what is available on this server ? bzr+ssh it easy to setup, or even bzr: if it's really internal on you don't need to implement access rules [10:57] s/internal on/internal and/ [10:57] well access rules will still be necessary [10:57] bzr+ssh is a possibility [10:59] If you don't mind configuring ssh, bzr+ssh is probably best. [10:59] Spaz: Just as Peng_ said :-) [11:49] Hi, I have a user-question. Is this the proper place to ask? [11:52] I'd say it's *a* proper place [11:53] assuming it's about bzr :) [11:53] Ok. I have a bzr repo with some revs. I need to commit these into svn repo. [11:54] It started as a normal bzr repo; there is no module/branch in the svn repo yet, I have to create it [11:54] how should I do it? [11:55] wysek: I'd use the bzr-svn plugin [11:55] (well, I want to test it before I commit to svn, so I did: svnadmin create ~/repo) [11:55] wysek: how did you install bzr? [11:55] LarstiQ: I had bzr from ubuntu, but 10min ago I upgraded to latest stable [11:57] wysek: via the ppa? [11:57] yes [11:57] assuming a clean svn repo is at ~/svn and my bzr repo is at ~/bzr/$dir. [11:58] I need to commit $dir to ~/svn/$dir [11:58] wysek: (with bzr-svn installed), afaics that should be `cd ~/bzr/$dir; bzr push ~/svn/$dir` [11:58] * LarstiQ goes to work, later [12:00] great, I've just encountered an "internal error" [12:04] wysek: You want the dpush command [12:05] Pushing new branches just off "push" doesn't work yeyt [12:05] *yet [12:07] ok, I'll try [12:08] hmm [12:08] btw, does anybody knows if it is technically possible to push a complete branch to a svn repo served via http and preserve the commiters in the log?? [12:08] wysek@scout:~/bzr/radardaemon$ bzr dpush /home/wysek/svn/radardaemon [12:08] bzr: ERROR: Not a branch: "/home/wysek/svn/radardaemon". [12:08] i have been trying hard with bzr-svn [12:08] even hacking it a bit [12:09] but i always got something like i wasnt allowed to change the revprop on that scenario [12:11] scenario = context = using post-revprop-change hook in server side [12:15] wysek@scout:~/bzr/radardaemon$ bzr dpush /home/wysek/svn/radardaemon [12:15] bzr: ERROR: These branches have diverged. Use the merge command to reconcile them. [12:15] wysek@scout:~/bzr/radardaemon$ bzr merge /home/wysek/svn/radardaemon [12:15] bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified. [12:16] awilkins: what now? :) [12:16] (I did svn mkdir file:///home/wysek/svn/radardaemon before that) [12:25] Are you pushing the trunk branch? [12:25] Or a branch branch? [12:26] wysek: You are creating a new folder, so push to the URI that makes sense for that new folder ; i'd go for [12:26] bzr dpush /home/wysek/svn/radardaemon/trunk [12:26] (I don't know much about svn, trunk...) [12:27] The usual convention is /project/trunk|tags|branches [12:27] bzr: ERROR: Not a branch: "/home/wysek/svn/radardaemon/trunk". [12:27] awilkins: and trunk|tags|branches are just dirs? [12:27] Oops, make that into a file:/// URI [12:27] ok [12:27] wysek: Yes, everything in SVN is a "cheap copy" [12:28] the same [12:28] wysek: There's no technical distinction between tags and branches, it's just convention [12:28] * awilkins looks at the scripts he has doing thing [12:29] Try svn-push [12:29] actually I need to commit to some svn repo: svn://repo/trunk//radardaemon/ [12:29] and I'm just testing it locally [12:29] Yuck, they have the _other_ convention [12:29] I thikn it's svn-push, not dpush [12:30] At least, that's what I've got here - I've been converting old archives into bzr repos and then SVN repos [12:31] so first I need to svn_mkdir $SVN/trunk/ [12:31] and svn_mkdir $SVN/trunk/radardaemon/ ? or just the trunk? [12:31] I'm not so sure about that layout [12:31] But hey, it's a test [12:31] wysek@scout:~/bzr/radardaemon$ bzr svn-push file:///home/wysek/svn/trunk/ [12:31] Initialising Subversion metadata cache in /home/wysek/.bazaar/svn-cache/921462df-d7b4-450a-9d4b-2ef3c14a844f [12:32] bzr: ERROR: These branches have diverged. Use the merge command to reconcile them. [12:32] *diverged* :D [12:32] Are you pushing to a folder that exists? [12:32] rm -rf /home/wysek/snv [12:32] svnadmin create ~/svn [12:33] mkdir ~/svn_template [12:33] mkdir ~/svn_template/trunk [12:33] mkdir ~/svn_template/trunk/project [12:34] svn import svn_template file:///home/wysek/svn -m "Initial folder structure" [12:34] bzr svn-push -d ${bzr_branch} file:///home/wysek/svn/trunk/project/radardaemon [12:35] * awilkins crosses fingers [12:35] Initialising Subversion metadata cache in /home/wysek/.bazaar/svn-cache/52c0211b-6b7a-4d98-8a1d-2bbbabca63ca [12:35] bzr: ERROR: Prefix missing for trunk/project/radardaemon; please create it before pushing. [12:36] svn import does not need commit? [12:36] wysek, what version of bzr-svn are you using? [12:36] Not afaik [12:36] * awilkins cheers jelmer [12:36] wysek, iirc older versions of dpush don't support creating new branches [12:36] 0.5.0-1 [12:37] ok [12:38] it almost worked [12:38] *** Bazaar has encountered an internal error. [12:38] it pushed 24/33 revisions [12:38] the error was: [12:38] bzr: ERROR: subvertpy.SubversionException: ('Attempted to get textual contents of a *non*-file node', 160017) [12:39] hmm, there is a link in my repo, maybe that's the problem [12:40] wysek, does the problem occur if you push repeatedly? [12:40] jelmer: yes [12:40] it seems it "sees" that it has pushed some revs and goes just to the error [12:40] wysek: Can you pastebin the traceback? [12:41] (no progress bar) [12:41] sure [12:42] back in 10m [12:43] http://pastebin.com/m72316e4c [12:44] ok it has nothing to do with the link as it stopped 6 revisions before the link appeared [12:46] in the revision it stopped I have added a binary file [12:46] and the error is: SubversionException: ('Attempted to get textual contents of a *non*-file node', 160017) [12:46] note _textual_ [12:47] seems like a bug:) [12:49] wysek, please run with BZR_PDB=1 set [12:49] that should land you in a debugger [12:50] yep [12:50] wysek, after that, please run "up" followed by "print new_inv.id2path(child_ie.file_id)" [12:51] (Pdb) up [12:51] > /usr/lib/python2.5/site-packages/bzrlib/plugins/svn/commit.py(319)dir_editor_send_changes() [12:51] -> modified_files[child_ie.file_id](child_ie), child_editor) [12:51] (Pdb) print new_inv.id2path(child_ie.file_id) [12:51] tests/src/radardaemonTest/radardaemonTest.csproj [12:51] (hmm, this is not thah binary file I was talking about) [12:52] what about "print new_inv.revision_id" ? [12:52] None [12:53] wysek, what about "print base_revnum" ? [12:53] 24 === barry-away is now known as barry [12:53] wysek, does that file exist in svn, and is it actually a file ? [12:55] jelmer: it does not exist as the push process threw an exception [12:56] btw, in bzr_last_rev it does not exist too, as I removed it from the bzr repo [12:57] wysek, so "print child_ie.file.id in base_inv" returns False? [12:57] after up? [12:58] *** AttributeError: 'InventoryFile' object has no attribute 'file' [12:58] ok [12:58] sorry [12:58] should be file_id [12:58] returns True [12:58] yeah [12:59] wysek, that suggests the file should already be there in the svn repository [13:00] well, the repo was empty before the svn-push [13:00] wysek: but it should exist now, since the push has partially succeeded [13:01] which file? radardaemonTest.csproj? [13:01] wysek, yep [13:01] well, it sort of exists. but it's in a different dir and it's name is different too. [13:02] that is, radardaemonTest.csproj is the name in the last_bzr_rev (and the desired name) [13:02] but in rev24 it is named differently and is in a differrent dir [13:03] wysek, 24 would be the name of the revision in svn [13:03] (I've heard svn does not support filename changes or mv in a "normal" way) [13:03] wysek, not the bzr revno [13:03] yeah, they differ by 1 [13:03] I mean the revno the svn-push process stopped [13:04] so what now? [13:04] any ideas?:) [13:07] wysek, is this bzr repo public? [13:08] jelmer: no [13:08] wysek, so the "svn log -v" output doesn't match the "bzr log -v" output for the revisions already pushed? [13:11] for the revs pushed it matcheds [13:12] *matches [13:13] wysek, do the contents of that particular file match? [13:13] the rev it stopps is full of binary_files add and files moves [13:14] jelmer: yes [13:15] ok I've found sth [13:15] in bzr_rev 24 there is : [13:16] renamed: radardTest => tests/src/radardaemonTest/radardaemonTest.csproj [13:16] removed: radardTest/radardTest.csproj [13:17] as I remember I did some renames automatically and I did a mistake [13:17] wysek, ah, that may be it [13:17] I renamed a dir into a filename [13:17] somehow I got the file back [13:18] wysek, so [13:18] wysek, radardTest is a directory [13:18] wysek, and tests/src/radardaemonTest/radardaemonTest.csproj is a file ? [13:19] right [13:19] wysek, please file a bug about this [13:19] wysek, I'll see if I can commit a test + fix for this this afternoon [13:19] is it a bug with bzr or bzr-svn?? [13:20] I think its bzr bug as it shouldn't allow me such a change, I think [13:20] (or at least, without a warning) [13:25] wysek, it's a bzr-svn bug [13:26] I think such a change is allowed [13:26] it's not a really common kind of change though.. [13:27] I don't know what bzr actually did as the order of file/dir name changes is important in this case [13:27] if bzr did well then it's a bzr-svn bug :) [13:27] I'll try to recreate the bug first, and then file it [13:37] ok I recreated the bug [13:37] but [13:37] I still think it's a bzr bug [13:37] what I did is: [13:38] I had: dir1/ dir2/ dir2/file1 [13:38] then I did: bzr rm dir2/file1 ; bzr mv dir1 dir2/file ; rm -r dir2/file ; echo "new file contents" > dir2/file [13:39] then bzr commit [13:39] log says: [13:39] removed: dir2/file1 [13:39] renamed: dir1 => dir2/file1 [13:39] modified: dir2/file1 [13:39] it does not say that a dir changed into a file :) [13:43] wysek: When you did "bzr rm", you told bzr that you deleted the file. If you wanted to change the file type, you should have just used "rm". [13:44] abentley: I did that by a mistake. I didn't want to revert the changes as there were too many changes. [13:47] mthaddon, spm, herb: PQM stucked again, should be the moon... [13:47] herb: I don't know if you changed the way you kill whatever process but the yesterday occurrence was slightly different than usual [13:47] vila: how so? [13:48] the merge succeeded, yet the public branch didn't contain it... is pqm using some sort of local branch and push regularly ? (The next sumbision went well and made the first merge apparent) [13:50] jelmer: I've just submitted a bugreport [13:50] vila: that's strange. I don't know what would have caused that. pqm should build a fresh tree every time from the public branch. [13:50] wysek, thanks [13:50] Also, I think poolie has a fix for it in the bzr-email plugin but 1) I'm not sure, 2) I don't really know what should be done to get that fix taken into account on pqm (but don't spend time investigatin until we at least try that fix) [13:51] abentley, a kind change while keeping the file id is allowed inside bzr though, right? [13:51] abentley, even if not recommended [13:51] jelmer: Sure thing. [13:54] ok thanks a lot, cu guys [13:56] vila: should be fixed now. [13:59] herb: sounds like some thing happened, http://bazaar-vcs.org/bzr/bzr.dev/ doesn't mention revno 4064 (revision-id:v.ladeuil+lp@free.fr-20090227084553-ritia8ukxh8i25po) [13:59] s/some/same/ [13:59] grrr [14:00] herb: yet, I'm pretty sure the merge succeeded, is there some mirroring between pqm and bazaar-vcs.org ? [14:06] anyone know if it's possible to push a local bzr branch up to a central repository with tortoisebzr? [14:06] jelmer: hi! it's morning here in dc, so i want to try to find some time today to get bzr-svn 0.5.2 up on code.py.org [14:07] vila: no. pqm commits to the public branch at the end of the run if the test suite completes successfully. It *may* do that after the email is sent though. I don't know pqm internals well enough to comment on that. [14:08] herb: ok, thanks for the help anyway. I'll have to resubmit with crossed fingers :-/ [14:08] it doesn't seem like the functionality is in there yet and I just want to make sure I didn't miss it somewhere [14:17] is it possible to have bzr generate patches to reverse existing patches? [14:18] I wan't to revert the effect of a certain patch [14:19] bzr merge (X-1)..X [14:19] er [14:19] bzr merge -r (X-1)..X [14:19] actually, still wrong [14:19] bzr merge -r X..(X-1) [14:20] and I can also do bzr merge -r (X-n)...(X-m)? [14:20] you can use any revision range [14:20] and the range is inclusive on both ends, right? [14:21] so when I do -r 19..9, all revisions from 9 to 19 including 9 and 19 are reverted? [14:21] if you are talking about revisions, then yes [14:21] yeah [14:21] it will take revision 19 and revision 9 [14:21] and compare them [14:21] $ bzr merge -r 19..9 [14:21] bzr: ERROR: No location specified or remembered [14:21] use . as the location [14:22] ok [14:25] and is it also possible to delete existing patches? [14:25] bzr doesn't have patches, you mean revisions? [14:25] looks like the 19..9 range was a bit wrong because some changes were not reverted [14:25] revisions, yeah, same thing.. [14:25] no, it's all immutable [14:26] the point is that revisions are states, not changes [14:26] maybe the range was incorrect [14:26] it's all immutable? like SVN? [14:26] that's bad [14:26] "more" immutable than SVN :) [14:27] is there just some way I can simply return to a specific revision? [14:27] herb: right, this is getting more obscure by the minute :-) pqm now refuses to merge saying there is nothing to merge, yet the branch it is asking to merge contain my revisions :-) Oh well, I think we need to escalate that :) lifeless ? [14:27] do you want a new branch completely ignoring the old revisions or the existing branch changed to have files like in the old revisions? [14:28] luks: looks like the range is non-inclusive [14:28] 19..9 means 19-10 really [14:28] RaceCondition: because you are thinking in changesets, not revisions [14:28] the -r option specificies revisions [14:28] whatever [14:29] I mean, even revision wise, this could still have been inclusive [14:29] they are [14:29] 19..9 does exaclty this: take revision 19, take revision 9, compare them and apply the reversed patch [14:31] vila: what was your change? [14:31] revno 4064 (revision-id:v.ladeuil+lp@free.fr-20090227084553-ritia8ukxh8i25po) [14:33] vila: was that a change to the NEWS file? [14:35] herb: revno 4063 v.ladeuil+lp@free.fr-20090227082909-6i864fof6qyksm87 includes a change to NEWS, 4064 fixed a 2.4 compatibility bug in bzrlib/transport/ftp/__init__.py [14:36] the submission includes both [14:37] vila: ok. I'm going to get the tree in a state where you can submit 4063 and 4064 again. give me a couple of minutes. [14:38] herb: ok, so the tree is refreshed instead of created from scratch then ? [14:38] vila: it seems that way. [14:45] morning all [14:45] hiya jam [14:46] jam: morning! [14:47] jelmer: any possibility of getting bzr-svn 0.5.2 into the ppa? i'd really love to update code.py.org today [14:47] hi beuno, barry [14:48] vila: try to submit now. it should work. [14:49] herb: thanks, done [14:50] barry, I've just uploaded to the PPA (hardy only) [14:50] jelmer: perfect! let me see if i can grab it. thanks [14:50] barry, it'll take some time to build [14:50] jelmer: right! okay, i'll wait a bit, thanks [14:52] Is there any chance brisbane-core is going to make it into 1.13? [14:53] jelmer: I think we are targetting late March, after the next get-together [14:53] ah, hmm [14:53] I *just* got it to the point where inventory compression is reasonable [14:53] so the OOo folks won't be able to take that into account [14:53] we've had excuses to push things earlier based on real-world needs [14:54] but I think we'd like to make this one a bit more polished [14:54] We might have it as a '--development' in 1.13, but I don't think OOo would count that, right? [14:54] I have no idea [14:55] they said "released versions", so I guess not [14:56] converting to 1.9-rich-root is a real PITA, took me a whole night to do 30k revisions === ja1 is now known as jam [15:38] jelmer: ROCK! time bzr pull on the 2.5 branch: 1m8s :) [15:39] barry: :-) [15:39] jelmer: thanks so much. i'm wondering if i should try svn-import again? [15:40] jelmer: i have branches = ... in my subversion.conf file, which should limit to just the branches i care about, right? [15:40] jelmer: that does not include the 2.0 branch which we were having problems with [15:40] barry, yep [15:40] barry, in that case, I think it should work [15:41] jelmer: let's give it a shot! [15:57] jelmer: do you know if the caching changes I gave you had a perf impact for importing something like OOo? [15:57] jam, I haven't tried yet [16:00] herb: submitted and... stucked again, not my day :-) [16:01] vila: boo [16:01] vila: ok. I'll see if I can clear it up. [16:02] * LarstiQ gets confused trying to preserve merged revisions with bzr-svn pushing back to svn [16:02] is there a quick way I could find what revision I deleted a file in? [16:04] rbriggsatuiowa: other than looking at `bzr log -v`? [16:04] herb: I submitted once again but with a different public branch, let's see if it works better [16:05] vila: I was going to suggest breaking it up into two commits to see if one part or the other is causing a problem. [16:05] vila: but we'll go ahead with this. [16:06] yeah - my bzr log -v is dragging down my machine [16:06] herb: I usually submit a single revision and still encounter the problem, so I'm pretty sure this isn't related [16:07] ok === Leonidas is now known as Leonidas1880 === Leonidas1880 is now known as Leonidas1980 === Leonidas1980 is now known as Leonidas [17:48] jelmer: ping [17:49] barry, pong [17:49] jelmer: hi. bzr svn-import pulled in too much it seems [17:50] too much? [17:51] jelmer: well, i wanted to limit it to updating only the 5 or so branches that we're publishing through bzr, but it pulled in everything under http://svn.python.org/projects [17:52] jelmer: i guess what i'm trying to mimic is say 'bzr pull in each of the 5 branches i care about' and ignore everything else in that svn repo [17:53] barry, what was the output from svn-import exactly? [17:54] jelmer: it didn't really output much except for the progress bar, which i didn't watch too closely [17:54] barry, there should be a line saying what repository layout it was going to use [17:56] jelmer: if it did, it didn't survive my control-C :/ [17:56] jelmer: but the subversion.conf now has branching-scheme = trunk1 branching-scheme-guess = trunk1 [17:57] barry: sounds like it didn't see your specific listing request [17:57] or I had you format it wrong, etc [17:57] jam, jelmer let me pastebin what i've got [17:58] ah, of course.. [17:58] jam, jelmer http://pastebin.ca/1348884 [17:59] barry: branches = * won't work with v3 mappings [17:59] ah [17:59] sounds like i really want to update to v4 ;) [17:59] well, for now i think i'll just cron a 'bzr pull' in each directory separately [18:00] and when/if the experiment ends, i'll do things the right way at that time [18:00] with bzr-svn 0.5.2, those are very quick now! :) [18:01] jam: we talked about doing the bzr pack. should i do that in the shared repo directory or in the individual branch directories? [18:02] ah [18:02] sounds like i really want to update to v4 ;) [18:02] well, for now i think i'll just cron a 'bzr pull' in each directory separately [18:02] and when/if the experiment ends, i'll do things the right way at that time [18:02] with bzr-svn 0.5.2, those are very quick now! :) [18:02] * thekorn_ (n=markus@a89-183-70-151.net-htp.de) has joined #bzr [18:02] jam: we talked about doing the bzr pack. should i do that in the shared repo directory or in the individual branch directories? [18:03] barry: so first off, I see your repo got quite a bit bigger, is this because of the extra branches? or is there just a lot of stuff going on? [18:03] and you run 'bzr pack' at the root of the repo [18:03] jam: i think it's because of all the extra branches i got with svn-import [18:03] jam: i guess there's no way to clear that out? [18:04] barry: well, branch out to another repo, and then bring it back, but not easily [18:04] for now, we'll just live with it [18:04] jam: dang. yeah [18:04] it shouldn't impact things *too* much [18:05] barry: though I seem to see about 200MB *more* data that was just brought in [18:05] perhaps there is a mapping issue causing the data to be copied 2x ? [18:09] ugh [18:10] barry, jelmer: I see a mix of "svn-v3-trunk1" and "svn-v3-single1" in the index files [18:10] which certainly sounds like a mismatched conversion [18:10] jam: it's certainly possible that i f'd up somewhere ;) [18:11] jam, jelmer the pack is finished [18:11] barry: well, it just sounds like you effectively have 2 different conversions [18:11] stored in the same repo [18:11] which is a bit less than ideal [18:11] jam: that doesn't sound good ;) [18:11] since instead of being a 200MB repo, it is a 400MB now [18:11] jam: that could affect branch times for clients, right? [18:12] barry: so we should only be copying half the data, but it means seeking through the other data as we do it [18:13] jelmer: do you know how you would get "svn-v3-single1" mapping? [18:13] Is that what you get when you do "bzr branch" instead of "bzr svn-import" ? [18:13] jam: Yes, that's what bzr-svn will use if the branching scheme it's determined doesn't match [18:14] barry: so looking closer, it seems the only extras might be: [18:14] sandbox%2Ftrunk%2F2to3 [18:15] jam: (also specific to v3, v4 will always create the same svn-v4 mappings) [18:15] is that one of the important branches? [18:15] jam: no, that's one of the ones i don't care about and deleted after killing the svn-import [18:16] barry: so what are the *specific* branches you are interested in? [18:16] (I'm a bit confused between '2.6/' and 'experimental/2.6' and some other such differences) [18:17] jam: 2.5, 2.6, 3.0, py3k, trunk [18:17] barry: and probably the 'users/'? [18:17] jam: the experimental stuff is not the svn mirrors [18:17] (though I assume those are native bzr branches) [18:17] jam: right, users too [18:17] i guess we care about experimental but i don't think anyone's using it afaik [18:17] i don't even know what shared is for === thekorn_ is now known as thekorn [18:18] jam: perhaps we should get rid of experimental and shared [18:30] herb: sorry for the delay, my last submission (using an http: public branch instead of a lp: one) went through === beuno_ is now known as beuno [18:46] vila: good news [18:48] herb: I'll stick to that until I'm in a better position to diagnose the problem, I'm not sure using http is the right solution (I seem to remember having problems with that too, but my memory is blurry (it's hard to keep straight facts which such transient bugs)) [19:16] How can I clear the related branches (pull, push, submit) info? [19:19] luke-jr: there's currently no way through the UI [19:19] luke-jr: you can delete the entries from the config files [19:19] .bzr/branch/branch.conf or ~/.bazaar/locations.conf [20:11] hm [20:21] I'm trying to figure out how to get a unified diff with commit message out of bzr. Google suggests that it it isn't possible, is that still the case? [20:22] tyhicks: you'll have to be a bit more specific. diff and log produce that output, so what about that isn't good enough? [20:23] tyhicks: or do you mean log -p? [20:23] LarstiQ: Well those are 2 different commands - maybe I'm being selfish in wanting it done in a single command? [20:23] tyhicks: you're not being selfish [20:23] LarstiQ: I need to post a patch to a bugzilla ticket [20:24] tyhicks: oh, in that case, use `bzr send` [20:25] tyhicks: assuming the project uses bzr, maybe I shouldn't have assumed so? [20:25] LarstiQ: Yes, my project uses bzr [20:25] tyhicks: this would be easier if I had enough context information :) [20:26] tyhicks: ok, then `bzr send` sounds like the way to go [20:26] i'm having issues with bzr svn-import [20:26] [root@ind-prod003 /home/awos-bzr/repo]# bzr svn-import https://awos.svn.sourceforge.net/svnroot/awos . [20:26] bzr: ERROR: Not a branch: "https://awos.svn.sourceforge.net/svnroot/awos/". [20:26] * tyhicks runs off to play with bzr send [20:26] Spaz: is bzr-svn listed in `bzr plugins` ? [20:27] just svn [20:27] right [20:34] Spaz: bzr: ERROR: [Errno 0] Path 'https://awos.svn.sourceforge.net/svnroot/awos/' is not canonicalized; there is a problem with the client. [20:34] Spaz: is what I get [20:35] hm [20:37] LarstiQ: I'm still missing something with bzr send. I've already written up a nice commit message - but bzr send doesn't seem to include it in the unified diff. [20:41] tyhicks: the produced bundle actually includes all metadata [20:41] tyhicks: so you can bzr pull/merge that file [20:42] LarstiQ: But that bundle means nothing to the package maintainer who is viewing the bugzilla ticket [20:43] LarstiQ: No worries, I piped bzr diff to a file and copied the commit message from bzr log to the top of the diff. That doesn't take too long to do by hand [20:43] tyhicks: I thought you said the project was in bzr? [20:44] LarstiQ: It is in bzr, but this is an external bug tracker and people viewing the bug need to see the commit message, not the bzr bundle [20:44] maybe I'm too tird to make sense of this [20:45] tyhicks: so what I think the maintainer would do, is bzr pull url/to/bug/tracker/attachement [20:45] tyhicks: and get your changes [20:45] tyhicks: no monkeying with diff and patch [20:45] grr [20:45] tyhicks: but if you want to do things manually, look at `bzr log -p` from 1.12+ [20:46] what's the best (most reliable) way to migrate a bzr repository to svn [20:46] i can't make a dump unfortunately [20:46] as the repo is hosted on sourceforge [20:46] Spaz: svn->bzr or bzr->svn? [20:46] LarstiQ, svn->bzr [20:46] Spaz: I would use bzr-svn [20:46] LarstiQ: They could do a pull, but it would be nice if they could simply view the patch and commit message in a vcs agnostic way in the bug ticket [20:46] that requires a dump [20:47] i can't get a dump as aforementioned [20:47] LarstiQ: Thanks for the help, I will take a look at bzr log -p as well [20:47] Spaz: it doesn't, are you thinking of svn2bzr? [20:47] tyhicks: hmkay, I don't understand your use case then [20:48] Spaz: it does seem like the svn repo is acting up [20:49] ooh, apparently i can get an svn dump via rsync [20:49] hm [20:49] yeah, bzr-svn doesn't need an SVN dump [20:49] LarstiQ, i tried bzr-svn but it gave me errors [20:50] and an inconsistent repo which made bzr reconcile crash [20:50] jelmer: ^^ [20:51] LarstiQ: The use case is that not everyone uses bzr and lp. Sometimes individual patches have to be carried by maintainers, patches need to be shared through email, etc. [20:52] LarstiQ: I was just looking for a vcs agnostic way to share a diff and the commit message I already wrote for it [20:52] tyhicks: That I get, but doesn't match my understanding of what you described. [20:52] tyhicks: well, log -p for the simple case then [20:52] LarstiQ: cool, thanks again! [20:52] tyhicks: little bit more involved if you need to roll up more than one revision [20:56] Spaz: If you can make bzr-svn 0.5.x do that, I'd be very interested in a bug report.. [20:57] jelmer: I can make 0.5.x do that [20:57] jelmer: oh, depends on what you mean with 'that' [20:57] jelmer: bzr ls 'https://awos.svn.sourceforge.net/svnroot/awos/' [20:58] jelmer: for the canonicalized path [20:58] and now I'm going to bed, ciao [20:58] LarstiQ, the making reconcile crash [20:58] jelmer: that, I don't know how to do [20:59] jelmer, i'm using 0.5.2 [20:59] jelmer, atm it doesn't work on my fbsd box, it works fine on my linux box but it results in a corrupted repo [20:59] Spaz, public repo ? [20:59] the repo isn't public [20:59] but i can give you a tarball [21:00] (well, not public yet, getting it ready) [21:00] I'd be interested in a copy of the svn repo [21:00] Not aware there are any corruption bugs left [21:02] jelmer, https://awos.svn.sourceforge.net/svnroot/awos/, or get the raw repo by rsync -az awos.svn.sourceforge.net::svn/awos/ /foo/bar/ [21:04] LarstiQ, fixed that one [21:06] Spaz, imports fine here, at least trunk [21:07] Spaz, what exactly goes wrong on your end? === thumper_laptop is now known as thumper [21:08] hm [21:09] jelmer, http://pastebin.ca/1349026 [21:09] on checkout [21:10] ok, so my co-worker had bzr delete a file (unintentionally) today when trying to do a commit to a bound branch [21:10] is there any kind of condition where this would happen because it's obviously not desirable [21:11] jelmer, as for reconcile [21:11] jelmer, http://pastebin.ca/1349028 [21:11] he did: bzr add myfile.doc [21:11] bzr commit [21:11] said his bound branch was out of date so he did "bzr commit --local" [21:11] bzr update (at this point his file was gone) [21:11] jelmer, that's the result of doing bzr svn-import https://awos.svn.sourceforge.net/svnroot/awos/ . [21:11] on the box it actually works [21:12] on [21:12] jelmer, should i just try doing trunk/branches separate? [21:12] Spaz, ah, I think I can reproduce it as well now [21:13] anybody have any ideas? I can't seem to reproduce this myself [21:13] jimmy_dean: Did he perhaps do a bzr revert after the update? [21:14] yes he did [21:14] jimmy_dean, that would explain it [21:14] jimmy_dean, "bzr up" will turn local commits into pending merges [21:14] and "bzr revert" removes pending changes, including pending merges [21:15] jelmer, but the bzr revert was done after he had already lost the file [21:16] Spaz, looks like a bzr-svn bug [21:16] whee. [21:16] Spaz, it's not picking up the fact there are old bzr-svn revisions in that svn repo for some reason [21:16] jelmer, any workaround? [21:16] Spaz, no idea what's causing it yet [21:17] ah ok [21:17] jelmer, I have the .bzrlog file from his Windows machine, mind taking a look at it on pastebin? [21:17] jimmy_dean, sorry, already kindof busy looking into this bug spaz is running into [21:18] oh ok, thanks anyway! [21:18] jimmy_dean: I'll take a peek [21:19] jam: thanks, one sec [21:22] Spaz, found it [21:23] hm? [21:23] jelmer, where is it? :o [21:24] jam: ok [21:24] aw dang, bzr-svn isn't built for dapper? [21:24] jam: the file to look for in the log is: Battery Controller CoProcessor Specifications.doc [21:24] jam: http://pastebin.ca/1349047 [21:25] jelmer, the reconcile problem was discovered a while ago: https://bugs.launchpad.net/bzr/+bug/297024 [21:25] Ubuntu bug 297024 in bzr "bzr reconcile crashes" [Undecided,New] [21:25] jimmy_dean: there is no 'update' or 'commit' in this log [21:26] perhaps in ".bzr.log.old" ? [21:26] (we keep 1 level of backlog) [21:26] Spaz, that's just a similar traceback, it's a different bug [21:26] jam: I truncated it, perhaps I was too aggressive, let me paste the whole thing [21:27] jam: http://pastebin.ca/1349052 [21:28] Spaz, I've pushed a fix [21:28] Spaz, You'll have to remove ~/.bazaar/svn-cache and your existing repo [21:28] ok [21:33] jimmy_dean: so.. it looks like it was an 'update' triggers a merge, which failed half-way through because of an open file, and then the following update finished, but the file was gone [21:34] the good news, is that you should be able to do "bzr heads --dead" [21:34] and find the revision that the branch used to be at [21:34] so you can do "bzr merge . -r revid:XXX" [21:34] excellent, thanks...we'll give that a shot [21:34] jelmer: hi [21:34] I would have thought that a merger failing half-way through would have rolled-back the action, but I guess not [21:35] jelmer: so, I'm importing Twisted with bzr-svn using "bzr svn-import --incremental svn+ssh://svn.twistedmatrix.com/svn/Twisted Twisted" [21:35] jml: Hey! [21:35] jelmer: it's copied 20000+ revisions, but it's going really, really, really slowly on the last few thousand. [21:36] * jelmer gives it a try as well [21:37] jml: how large is the tree? [21:37] jelmer: an svn checkout is 42M [21:38] < 2000 files and directories. [21:39] jelmer, http://pastebin.ca/1349063 [21:39] :S [21:40] jam: success! my co-worker said I'm his hero, how you're my hero [21:40] Spaz, you need bzr.dev for bzr-svn trunk [21:40] ah ok [21:40] Spaz, sorry about that [21:41] eh it's fine. [21:42] jimmy_dean: always happy to help [21:42] jam: so do you think that's a bug for bzr on Windows? [21:42] because Windows is super aggressive in its file locking [21:43] jimmy_dean did you ever tried linux ? [21:43] jimmy_dean: sort of, yeah. we certainly should have an alternate way of resolving a locked file than aborting in the middle of an update [21:43] we'd still have to do some sort of conflict resolution [21:44] eix: yes, I use Linux but this machine has to be Windows [21:44] and he uses Linux for certain things [21:44] jimmy_dean no machine has to be Windows :-) [21:45] eix: it does if only certain software runs on it [21:45] jimmy_dean use alternatives [21:45] there aren't any [21:46] same wiht my girlfriends computer - she has to use a certain licensed application for her job. but I admit I have not tried to run it under WINE... [21:47] jml: And you're using bzr-svn trunk? [21:47] jml: whoa, that's a lot of branches [21:50] jelmer: yes and YES [21:50] jelmer: Twisted's been using the same dev process as bzr and Launchpad except in Subversion :) [21:51] jml: nice :-) I think that's the first project I see that actually uses cheap branching in subversion [21:51] we could probably clean up a lot of the dead branches. I'm not sure when we did that last. [21:51] jam: What's this mutter message for: [21:51] 324.402 Collapsed 1 keys into 1 requests w/ 1 file_ids w/ sizes: [336] [21:51] we're into swap on that svn server. [21:52] although I don't think it's actively swap*ping* [21:52] (how can I tell that?) [21:52] eix: like SolidWorks for 3D modeling [21:52] jimmy_dean try blender ;) [21:52] eix: I love Linux don't get me wrong, I'm sold out on it...but I also like to use the best tool per each job [21:53] jimmy_dean I'm really thirsty I want linux to be adopted in business world... [21:53] is there a way to exclude branches by pattern using `bzr svn-import`? [21:53] eix: Blender is not optimized for 3D modeling for creating industrial product that you'll send and have a factory make [21:53] not only for their damn servers [21:53] ah [21:54] jelmer: just tracking how we split up a request for XX files into YY bytes [21:54] jam: I think I'll add my co-worker's experience as a bug and let the developers decide if it actually is one or not [21:54] jam: so that's mainly useful for remote transports, I guess? [21:54] jam: thanks again for the help...you saved a month's worth of work redo [21:54] jelmer: generally, though it isn't really necessary overall [21:54] hence mutter() [21:55] we can remove it if it is causing you problems [21:55] it's ok, but a little bit verbose compared to everything else [21:55] jelmer: have you fixed anything performance related in bzr-svn over the last day or so? [21:55] jml: not really [21:55] jelmer: hmm. ok. [21:56] so, I'm wondering if this is a memory thing. [21:56] jml: If memory is a problem for you, do you have the latest subvertpy? [21:56] jelmer: yes. [21:56] I'm about to reach r1000 [21:57] jelmer: of ~27k? [21:57] 1084/34680 [21:58] jelmer: ok. [21:58] while _tasks and now >= _tasks[0].timeout: [21:58] IndexError: list index out of range [21:58] jml: Is that similar to what you were seeing? [21:58] jelmer: I've hit Ctrl-C and restarted the process a couple of times now. [21:58] doh [21:58] so it's "copying revision 779/5703" [21:58] ah [21:59] "2439.492 Collapsed 1 keys into 1 requests w/ 1 file_ids w/ sizes: [1390946] [21:59] " is the last thing in the log. [21:59] jml: Strange, there shouldn't be a particular reason for it to get slower over time [21:59] could be the server? [21:59] but it doesn't seem to be under particular load. dunno [21:59] jml: That last bit is pretty large [22:00] jelmer: yeah. actually I'll pastebin a chunk of the log. [22:00] hmm, I need "bzr svn-import -j" [22:01] heh [22:05] actually I won't pastebin the log. [22:05] since it just interrupted itself, I think [22:06] moin [22:06] lifeless: good morning. [22:07] jml: nose uses 'inspect the exception in addError', and have a deprecated addSkip [22:07] interrupted? as in, blew up? [22:07] bzr uses inspect the exception in addError [22:07] lifeless: sweet. [22:07] lifeless: I like that way of doing it as well. [22:07] why [22:08] lifeless: because it makes the interface narrower and easier to use with other pyunit things [22:08] lifeless: what do you think? [22:08] jml: bzr does it that way to meet the pyunit protocol; I don't think narrow is particularly strong as a reason [22:08] lifeless: neither do I. [22:09] I want to change the protocol [22:09] lifeless: you want addSkip? [22:09] I think a stronger question is 'does the source of the skip event matter [22:09] lifeless: by "source", do you mean the test? [22:10] line of code [22:10] 85% mem usage :( [22:10] addError and similar interfaces give you a stack trace [22:10] so they pinpoint where it happened [22:10] addSuccess and similar don't [22:12] lifeless: so, I can't think of a use-case where I'd want that information beyond having the name of the test. But I can't think of a good reason to *not* have that information either. [22:12] lifeless: so I'm wondering why you think it's an important question? [22:13] if we start with the premise of designing for python inclusion; then the base classes for both test and result will be in sync, so 'pyunit compatibility' isn't hard any which way; so I then started thinking about how the different approaches vary [22:13] jelmer: is it possible that there's a particularly troublesome revision? [22:14] jml, could be; a particularly big file, for example [22:15] jml: Did you re-build subvertpy ? [22:15] jelmer: I got the trunk for it and ran python setup.py install [22:15] is there anyway to get a readout of transfer speeds when doing a bzr co over sftp. There is a progress bar but it is very vague, and seems to jump in large chunks which is not especially useful. The verbose argument also doesn't give any more info [22:15] jelmer: but that was 1-2 days ago. haven't done anything to it since. [22:16] Ollie_R: what version of bzr are you using? [22:16] jml: That should do it [22:16] jml: i believe 1.5 let me check [22:16] jml: another copy of subvertpy installed by PPA perhaps? [22:17] I'm at 3500 now [22:17] Bazaar (bzr) 1.3.1 on both client and server/repo [22:17] Ollie_R: upgrade. the progress bar is substantially improved. [22:17] (as indeed is the rate of progress :)) [22:18] ah ok great [22:18] do both client and server need to be running the same versions? [22:18] jml: what i have so far is 'addSkip is clearer for implementors of Results; it can have a exc_info if desired; its not innately compatible with existing TestResult objects that didn't subclass TestResult' [22:19] jelmer: I can't find a python-subvertpy or a python2.5-subvertpy package [22:20] jml: 'addError is unclear for implementors as they don't have a full list of exceptions-that-are-skips, that-are-expected-fail, etc; using addError will mean that tests that skip show up as errors rather than as test-framework issues, and using addError defines that there will be a stacktrace' [22:20] Ollie_R: Not in theory at least. I run with a 1-2 version skew pretty regularly without problems. [22:21] I've never tried a ~9 version skew, but I would guess it works OK (though it may not show much improvement on some things, since both sides wouldn't support $SOMETHING_NEW) [22:21] * jml afk [22:23] the version labelling is kind of strange bzr 1.1rc1 2008-01-05 bzr 1.9 2008-11-07 bzr 1.10rc1 2008-11-28 bzr 1.11rc1 "Eyes up!" 2009-01-09. Expected it to go to 2.0 - kind of strange [22:23] It can't go to 2.0 until it can read email. Law of nature. [22:24] fullermd: being serious? [22:24] I'm always serious. [22:24] Or is it never? One of the two. [22:25] hah [22:25] so which version is considered stable atm [22:25] Ollie_R: that's not really strange at all [22:25] just noticed i am running 1.5 on my macbook [22:25] Ollie_R: 1.12 [22:25] The latest release, generally. [22:25] Ollie_R: versions are not decimal [22:26] this is pretty common in lots of software [22:26] radix: hmm some apps go from 1.9 to 2.0 though. So if something is 1.9 you have no reference if it is going to go to 2.0 or 1.10,,, [22:27] Well, lots of apps go from 1.4 to 2.0 too.. [22:27] Heck, bzr went from 0.18 to 0.90, which is still WAY weirder in my book. [22:28] lifeless: let me think out loud for a bit [22:28] well my box here is 1.3.1 which at a glance looks like a newer version than 1.12 so that seems odd to me [22:28] neways all a little irrelevent [22:28] once you internalize the fact that versions aren't decimal, you'll get over it :) [22:28] radix: yep [22:29] lifeless: the way I see it, there are two ways to add more types of events to unittest: add more methods to the listener interface or enrich the object that represents the event [22:29] It would probably confuse more people if we called it "1.C" :p [22:30] lifeless: I guess if I wrote unittest in the first place, I would probably have defined a TestResultEvent class and sent those to TestResult, rather than the multiple-method approach they have now [22:32] lifeless: incidentally, you used to consider "using addError will mean that tests that skip show up as errors rather than as test-framework issues" to be a good thing [22:32] lifeless: have you changed your mind? [22:33] jml: that was designed around pyunit [22:34] jml: I'm designing for pyunit now [22:34] lifeless: :D [22:34] lifeless: part of our "ply mwhudson with whisky until he commits testtools to trunk" plan? [22:35] * mwhudson blinks [22:35] mwhudson: sssh. it's a secret plan. [22:35] * mwhudson goes away again [22:36] oh, cpython trunk? [22:36] yeah. [22:39] lifeless: what do you want addSkip's parameters to be? [22:39] lifeless: and how do you see this interacting with Feature support. [22:40] jml: I thought it was offer mwhudson whiskey but withhold until he commits it [22:40] lifeless: it's a delicate balance. [22:41] alka seltzer would be a better inducement this morning, i think [22:41] mwhudson: :) [22:43] jml: so that was why the question about exc_info relevance [22:43] jml: I think TestResultEvents are messages, and xUnit has a smalltalk heritage where messages are messages [22:44] jml: which is to say TestResultEvent isn't any better than explicit method calls for this, IMO === barry is now known as barry-away [22:45] am i right in thinking that if i do a light checkout from a to b then i can't do a checkout from b to c ? [22:45] Ollie_R: if you do a checkout from b to c, it will be a checkout from a to c [22:46] Ollie_R: if you want multiple branches, the branch command makes new branches [22:46] i want to start using bzr to deploy websites. so i have a repo and my develoeprs checkout locally. Then my website is a checkout of the repo which I update as and when i need to [22:47] I suggest you use the bzr-upload plugin [22:47] developed by a guy at a website hosting company :) [22:47] but obviously as the dir is going to be web enabled I don't want people to be able to checkout from my actual website [22:47] lifeless: yeah i know of it [22:47] lifeless: that's why I'm interested in addSkip's parameters :) [22:48] the authentication ring (authentication.conf) stuff made it into mainline, right? (this stuff http://bazaar-vcs.org/DraftSpecs/AuthenticationRing) [22:48] brutimus: yup [22:48] ok thank you lifeless.. i must be doing it wrong then :-) [22:49] I'm sorry, I'm trying to get a copy of bazaar source branch but I get this error: http://rafb.net/p/b4T8mc45.html [22:49] jml: I think that addSkip(test, str()_able_reason) is minimal and meets the needs of all tests I've seen [22:49] billiejoex: you have an older version of bzr [22:49] lifeless: are you planning on using skip for features? [22:49] lifeless: and how do tests signal a skip [22:49] yeah bzr-upload plugin isn't quite right as oddly I want to be able to commit from the live checkout to send back the users files added to the live site via a cms. [22:50] basicially normal bzr will work i just need to prevent people checking out from http://www.example.com/ when the site is live [22:51] lifeless: it's a bit unfortunate that lenny has 1.5, making it impossible to checkout bzr.dev :-/ [22:51] bzr-upload basicially just looks like bzr revision history linked in with a rsync [22:52] Ollie_R: checkout --lightweight will have that property; but just blocking the .bzr dir in apache will have it too [22:52] lifeless: ok brilliant thanks for that bit of info, cleared things up nicely. Hadn't considered doing this via apache actually [22:53] lifeless: 'm using the latest 1.12 version [22:53] billiejoex: 1.12 can read 1.9 [22:53] billiejoex: what does 'bzr --version' show ? [22:54] lifeless: 1.6.1 [22:54] billiejoex: then thats the version you're actually using [22:54] I thought I did get the 1.12 version :\ [22:54] :> [23:04] jml: not sure re: features [23:05] jml: TestCase.skip(), like TestCase.fail() [23:05] jml: I'd kind of like TestCase.succeed() too :: [23:05] lifeless: so it would raise an exception? [23:05] yes, to allow dropping out of an arbitrary call depth [23:05] which lets people write helpers to decide when to skip [23:07] lifeless: what use cases are there for skip besides missing features? [23:09] jml: expensive test, and expensive test mode not on [23:09] jml: test enumeration [in a sick sort of way :P] [23:09] jml: users may find others; probably will in fact :) === montywi is now known as montywi|zzz [23:09] hi, how does one use the --stacked option in bzr branch? [23:10] lifeless: those are good use cases. [23:10] lifeless: so, I am thinking that missing features is a special kind of skip [23:10] lifeless: is that the way it's done in bzr right now? [23:13] anyone? [23:14] rasker: what are you trying to do? [23:15] jml: self.requireFeature raises UnavailableFeature, which is not a subclass of SkippedTest, and there is an addNotSupported on bzr's TestResult [23:16] jml: I'd be comfortable mapping that to skipped, at least for now [23:16] lifeless: ok. [23:17] lifeless: so I'm happy enough with adding addSkip. [23:17] and not imposing any extra burden on addError. [23:18] jml I'm looking at a project that contains one feature/bugfix per branch. I'm writing a script that automatically merges a few branches against the release branch to see if anything breaks (sort of like 'continuous integration'). I'm thinking I can use the --stacked option to pull in the branches, stacked against the release branch [23:19] jml does that make sense? [23:19] rasker: sure. [23:19] rasker: probably easier than using stacked is to use shared repos [23:20] jml: revno12 is tip ? [23:20] rasker: so, bzr init-repo ; cd ; bzr branch trunk; bzr branch [23:20] rasker: that second "branch" command will only fetch revisions that are in the branch but not in the trunk branch. [23:21] lifeless: yes [23:21] lifeless: man, it runs the full test suite in 0.006s -- why can't all my projects be like that. [23:22] jml right, I see. so the amount of data downloaded from launchpad for a trunk plus a bunch of it's development branches for example would be less? [23:22] for each branch [23:23] rasker: yes. (if I understand you correctly) [23:23] rasker: the trick is running init-repo in a directory above the branches. [23:24] jml great! Just what I was looking for. Just for interests sack then, how does stacked work (the docs are a bit hazy)? [23:24] jml: because most of your projects do a bunch of things [23:25] rasker: so, roughly speaking, a repository is a bucket for revisions [23:26] rasker: a stacked branch is a branch whose bucket is missing most of its revisions, but has a pointer to another branch where those revisions can be found. [23:26] jml, I branched difftodo. I have a patch that I'll want you to look at on Sunday. [23:27] rockstar: awesome [23:27] rockstar: why don't you submit a merge proposal? [23:27] rockstar, I will when I'm not on a semi-hostile network. [23:27] * jml wants to use the sexy new diff generation stuff on Launchpad [23:27] rockstar: ahh ok. [23:27] rockstar: where are you right now? [23:27] jml, you've seen thumper's MAD, right? [23:28] jml, in the Denver airport. They're boarding now. [23:28] rockstar: I've seen its effects, not the actual code. [23:28] jml, ok, that makes sense. the repository then contains 'full' or complete branches? or is it something like, a repository uses stacked branches internally? [23:29] jml, can you submit merge proposals for junk branches? [23:29] rockstar: no you can't [23:29] I didn't think so. [23:29] rockstar: I guess I should register a project. [23:29] Make a project please. [23:29] :) [23:29] rasker: not quite [23:29] rasker: repositories don't contain branches [23:30] rasker: they just contain revisions. [23:30] rasker: quite often a branch contains its own repository [23:30] rasker: this is what happens in the default case when you do 'bzr branch ' [23:31] difftodo is your python pending thing? [23:31] lifeless: yeah. [23:31] cool [23:31] well, I'm -> lunch event [23:31] I have testtools [23:31] will make a skipped thing I think is beautiful [23:33] lifeless: sweet. [23:33] rasker: so, when you run init-repo in dir1/ and then branch to dir1/dir2/, Bazaar finds the repository in dir1/ and sticks all the revisions in there. [23:33] rockstar: https://edge.launchpad.net/difftodo [23:34] oh wait. the branch. [23:34] jml ok so repositories are more flexible and --stacked is basically used to save space? [23:35] rasker: again, not quite :) [23:35] :) [23:35] rasker: all branches have repositories whether you like it or not -- most of the time you don't have to care about this fact though [23:35] rasker: both stacking and *shared* repositories are used to save space and prevent unnecessary network transfer. [23:35] jml perhaps if you could give me an example of where --stacked would be used I could differentiate them better? [23:36] rockstar: https://code.edge.launchpad.net/difftodo [23:36] rasker: perhaps, but no example is leaping to mind and it's past time for my morning shower :) [23:36] rasker: --stacked is used to get a branch which *can only be used while online* but downloads less data [it skips all the history] [23:37] rockstar: have a good flight [23:37] rasker: a shared repository is used to allow many branches with common history to share the storage of their history [23:37] rasker: imagine you have 1GB of history, and a working tree of 50MB [23:37] rasker: a shared repository will need to download that GB. [23:37] rasker: a stacked branch will download ~50MB [23:38] rasker: but you can't use the stacked branch without being connected to the server that has the rest of that 1GB [23:39] rasker: for many small but related branches a shared repo will work better - more setup time but you get offline support [23:40] jml lifeless !!!! Ok I finally understand !!!! Thank you both for taking the time to explain. [23:42] jml: at 13k [23:42] jml: When did it slow down for you exactly? [23:43] jelmer: ~5000 before the end. [23:43] jml lifeless so basically --stacked effectively gets you the working tree and would do something like refer back to the original branch for the history if needed [23:44] rasker: exactly [23:44] I'm heading out now [23:44] ciao [23:44] thanks