[00:15] thewrath: did you install bzr using cygwin's setup.exe? [00:15] lifeless, yesterday, you suggested that there were bugs for 1.16.1 other than bug 365615 and bug 390563 [00:15] Launchpad bug 365615 in bzr/1.16 "'AbsentContentFactory' object has no attribute 'get_bytes_as' errors with CHK repository on write operations" [Critical,Fix committed] https://launchpad.net/bugs/365615 [00:15] Launchpad bug 390563 in bzr "absent factory exception from smart server when streaming 2a stacked branches" [Critical,In progress] https://launchpad.net/bugs/390563 [00:15] lifeless, can you please point me to them? [00:15] jml: did I? I thought I said I was flat out :P [00:15] jml: and I recall talking about 2.0 in terms of what bugs there were [00:16] anyhow, I'm not aware of other 1.16 worthy cherrypicks === mthaddon is now known as afk === afk is now known as mthaddon [00:16] once abentley's skip-dupes patch lands in trunk that might be worth putting in 1.16 too; though I thought lp devs ran off nightlies [00:19] lifeless, we do run off nightlies. === mthaddon is now known as afk [00:20] in which case there are no other patches for 1.16 that I know of [00:20] ok. [00:20] what about things to cherrypick to Launchpad? [00:21] mwhudson has them in hand [00:21] sweet. [00:21] thanks. [00:32] morning [00:33] hai [00:33] hi lifeless [00:49] jml, re your "branches that fix bugs" [00:49] there are some more cases like that in devnotes 3.0-ui document [00:49] http://doc.bazaar-vcs.org/devnotes/bzr-2009-ui-refresh.html [00:50] poolie, ahh thanks. [00:50] poolie, I'd been meaning to refresh myself on the devnotes branch but let it slip my mind. [00:51] np [00:51] i don't necessarily want that document to become a laundry list of every possible thing you could want to do with bzr [00:51] but these are at least a bit related [00:51] also airing them on the list may atract more thoughts [00:53] well this has a specific focus I guess [01:15] jml, could you send a short metronome mail re 1.17? [01:17] poolie: yep, it's already on my list for today [01:17] oh cool [01:17] maybe i should send one about 1.17 vs 2.0 [01:18] that's probably a good idea [01:21] my list for today is perhaps slightly too long, but I know only one way of making it shorter. [01:24] poolie: I'm also going to cut 1.16.1 today, if I can. [01:24] delete things? or do things? [01:24] i was planning to do both :) [01:24] do things. [01:32] igc: I'm working on iter-changes today [01:32] igc: now that the crisis with fetch is fixed [01:32] lifeless: cool [01:32] igc: I'd appreciate your holding off your other landing ;) [01:33] lifeless: I'm doing reviews and clearing the desks to work on bug 374735 [01:33] Launchpad bug 374735 in bzr "Plan and UI for upgrading multiple stacked branches " [Critical,Triaged] https://launchpad.net/bugs/374735 [01:33] sure [01:34] hello igc, lifeless [01:34] hi poolie [01:34] i'm planning today to: send a coscup abstract, (re)send a blog acct to igc, write up a patch explaining the 2a format, do the minimal activity-tied-to-pb fix, order a new disk [01:34] hi poolie [01:35] talk to spiv === Toksyury1l is now known as Toksyuryel [01:35] and hopefully get other uifactory fixes done [01:35] they have a tangle-of-string quality - fixing each test makes for larger changes [01:36] all good, but it's not converging [01:36] so sometimes i take a step back and try something smaller [01:36] but still [01:48] thanks for the review igc [01:54] another unusual error from our systems: https://devpad.canonical.com/~matsubara/oops.cgi/2009-06-25/SMPM01 [01:55] http://paste.ubuntu.com/203878/ [01:55] it would be nice if that was openid [01:55] when mirroring http://bzr.malept.com/avant-window-navigator [01:55] yes. [01:55] didn't you file a bug on that 3 weeks ago? [01:56] I don't think so. [01:56] https://bugs.edge.launchpad.net/bzr/+bug/377453 ? [01:56] Ubuntu bug 377453 in bzr "Error from smart server: ScopeReplacer object '_KnitGraphIndex' was used incorrectly" [High,Confirmed] [01:57] oh good. [01:57] hmm, different but similar [01:57] add it to the same one I think [01:59] done. [02:00] so, iter_changes tests existing now [02:00] time to fix implementations [02:13] can anyone confirm: setup.py build_ext -i is putting the so files in bzrlib/bzrlib/ ? [02:14] * fullermd hasn't seen it... [02:16] * igc school visit & lunch - bbl [02:17] bug 392355 [02:17] Launchpad bug 392355 in bzr "C extensions placed in wrong directory" [Critical,Triaged] https://launchpad.net/bugs/392355 [02:17] lifeless: no [02:17] mwhudson: python version? bzrlib version? [02:17] mwhudson: are you on karmic? [02:17] lifeless: no [02:17] python2.6 jaunty 4477 [02:17] jml: you're on karmic aren't you... could you check for this (in 1.16 and-or bzr.dev) [02:18] 4479 sorry [02:18] I just did a fresh branch of lp:bzr and they're all in bzrlib/ where they belong. [02:19] fullermd: when you run setup.py build_ext -i ? [02:19] Yah. [02:19] Well, ./setup.py [...] [02:19] fullermd: so bzrlib/*.so, not bzrlib/bzrlib/*.so [02:19] Right. [02:19] ok [02:19] thats good data [02:19] It could well be setuptools [02:19] (py 2.6) [02:19] sorry distutils or something [02:20] (9:17:33 PM) thewrath: hey guys with bzr or svn any way to find the number of modified lines [02:20] (9:17:50 PM) thewrath: svn diff | grep "^+" | grep -v "^+++" | wc -l gives you added lines [02:20] (9:18:00 PM) thewrath: svn diff | grep "^-" | grep -v "^---" | wc -l is removed [02:20] (9:18:13 PM) thewrath: but i need modified lines and unmodified lines [02:20] what are you trying to calculate [02:21] lifeless, the bug refers to 'make build' -- I don't even have a build target in my copy of bzr. [02:21] jml: I fabricated. just 'make', or setup.py directly [02:22] i need to find the total number of added, removed, modified and unmodified lines from revision a to revision b [02:22] the first three are easy [02:22] the last one is much harder [02:22] 'modified' can be pretty tough to quantify... [02:22] I'm not aware of any simple way to do it [02:22] lifeless: how u calculate the modififed [02:23] thewrath: I'd use some of the existing python libraries to parse the diff and turn added and removed into modifications when they are adjacent [02:23] thewrath: be a couple of hours work top, at most. [02:23] thewrath: anyway, why do you want this? [02:23] igc, re the revert patch [02:23] lifeless: its for work [02:23] can you try to add a blackbox test? [02:24] I actually thought diff(1) had an arg to show the whole files, which would help with the last, but it doesn't seem to. [02:24] there's a slim nonzero chance it'll break [02:24] You could fake it by asking for 99999 lines of context, I guess. Would work on all those sub-100kLOC files. [02:25] lifeless, https://bugs.edge.launchpad.net/bzr/+bug/392355/comments/1 [02:25] Ubuntu bug 392355 in bzr "C extensions placed in wrong directory" [Critical,Triaged] [02:25] fullermd: we don'tsupport that argument, I don't think [02:25] Well, but we could use the external diff, instead of the internal one. [02:25] jml: so its broken for you too [02:26] yep. [02:26] lifeless: can i sent you a pm [02:26] thewrath: I guess === BasicPRO is now known as BasicOSX [03:02] lifeless, does this critical bug mean I should use a chroot to rollout 1.16.1? [03:02] I guess I could always experiment. [03:03] jml: the so's don't go in the tarball [03:03] jml: so no special actions required there [03:03] however johnf probably needs to know to build debs properly [03:04] and all the C files go to the correct place, I see. [03:24] just popping out to the chemist [03:24] brb [03:45] * spiv pops out for food === abentley1 is now known as abentley === abentley1 is now known as abentley [04:18] deep hack time [04:19] SMS or ring if you need me === r0bby is now known as r0bby|arr === r0bby|arr is now known as r0bby [04:30] lifeless: (realize you're away) fix for progress bar droppings pushed [04:31] yay hacks === abentley1 is now known as abentley [04:47] poolie: yay [04:47] poolie: do you need a review? [04:47] yes [04:47] is easy [04:48] i also need a lunch [04:48] is it 'if count < 1: return' ? or something like that? [04:48] close [05:22] * jml sends a metronome email [05:25] Oh, good, the RC is on my mother's birthday. Now I'll remember to call her. Just don't slip the date! [05:31] igc: may have found other latent commit bugs with this work :) [05:33] lifeless: I recall raising one or two when I was last looking in there [05:44] thanks lifeless [05:51] ok. time to cut 1.16.1. [05:51] it's going to look a _lot_ like the current launchpad branch of bzr :) [05:59] jml: yay releases! [06:04] lousy internet :( [06:04] glyph, Twisted should do time-based releases! [06:05] jml: you know what else [06:05] jml: Twisted should have a release manager [06:06] jml: and a hundred billion dollars. [06:06] glyph, and a pony [06:07] maybe I'll steal the RM job from radix [06:07] if only I were less of a bum. [06:10] jml: well, relatively speaking [06:11] :) [06:12] has skip-dupes landed in bzr.dev? [06:13] hmm. computer says no. [06:13] there's no bug associated with it either [06:13] its not needed for 1.16.1 anyhow [06:13] because 2a is not popular, and you're landing a separate fix that means skip-dupes isn't needed anyway. [06:14] (needed in terms of 1.16.1 as a server, or locally) [06:14] ok. [06:18] still love merge --uncommitted. [06:24] when doing a point release... [06:24] ? [06:24] should I change the introductory paragraphs? [06:24] I make use of it in nasty and evil ways on many occasions. [06:24] in the NEWS file, that is. [06:24] the whichwhat? [06:24] its a new release [06:24] it should get its own intro [06:25] OK. That's not how 1.14 & 1.15 were done, but it is how 1.13 was done. [06:31] can someone please look over the release announcement? [06:31] http://paste.ubuntu.com/203968/ [06:34] poolie, lifeless: ^ [06:42] new codename needed I think [06:42] and the top line should say 1.16.1 [06:42] this is a new release; 1.16 is the series [06:43] personally, I don't htink you should be moving the bug block [06:43] big block* [06:43] that was the 1.16 release [07:02] * jml tries to find prior art to copy from [07:02] use case for you [07:02] 'I am a debian user and I have 1.16 already' [07:02] they should see the new changes they are getting. [07:14] hi all [07:14] hai [07:14] * vila stares at the restart button (triggered by the ssl update) :-/ What the hell these days ! [07:15] back in a restart [07:19] re-hi [07:28] poolie: ping [07:39] I'm off. Back later to finish the bzr 1.16.1 release. [07:43] jml: excellent metronome mail ! [07:43] vila, thanks. [07:46] lifeless: still around for a quick chat ? [07:47] vila: sure [07:47] whats up? [07:47] jml: when you return, testresoureces has branches that need your personal touch === cprov-afk is now known as cprov [08:23] night all [08:24] hello vila! [08:24] jml, yes, really nice mail there [08:25] i mean the metronome one [08:25] jml, if you're still here, the release mail draft confuses me [08:26] it almost looks you you're marking all of the trunk changes as being in 1.16, which would either be inaccurate or a mistake [08:37] I got a centralized repo to which I was the only committer. someone has an --unchanged commit on it since a few hours. I try to push my work but I keep getting "branches have diverged" [08:37] bzr merge tells "nothing to do". bzr pull tells "no revisions to pull". bzr up tells "Tree is up to date" [08:37] what am I supposed to do? [08:38] Adys: You can either 'push --overwrite' or 'merge; commit; push' [08:38] merge doesnt work =/ [08:38] I dont know if its a bug [08:39] ill try push --overwrite [08:39] Adys: wait [08:39] Ok [08:40] 'push --overwrite' will ignore the --unchanged commit and make it hard to get back to, while 'merge; commit;push' will take into account [08:40] Adys: what do you want to do ? [08:40] vila, merge doesnt work [08:40] it tells "nothing to do" [08:41] Adys: It works then, doing nothing is sometimes the Right Thing :) [08:42] hm [08:42] hold on i screwed something up ... [08:42] Adys: What does 'bzr info' says ? Are you working with a standalone branch, a checkout ? [08:42] standalone [08:42] uh, is there some way to undo a pull? =P [08:43] Adys: 'pull --overwrite' [08:43] Yeah I just did that, it had an old location saved [08:44] think I lost some code.. not a big deal [08:45] Adys: committed or not ? [08:45] yes [08:45] committed but not pushed [08:45] then it's not lost [08:46] How do I get it back? [08:46] you have to find the revid you're interested in and pull it somewhere safe first (aka, not in your current branch) [08:47] okay [08:49] vila: I need to grab rev 525, but when I branch it it updates to rev 524 [08:49] use 'bzr heads --all' and see if you can find it back [08:51] found it, what do I do now? [08:51] HEAD: revision-id: adys@azura-20090626072855-ze3ykij2nuraihhe (dead) [08:55] Adys: bzr branch -rrevid:adys@azura-20090626072855-ze3ykij2nuraihhe [08:56] Adys: replace and by valid and appropriate values [08:56] Ah great stuff, thanks. :) [08:58] hello hello [08:59] poolie, had a chance to sanity check? [08:59] vila: got it all sorted, thanks a lot! [08:59] Adys: Always happy to help (TM) [08:59] ™ [08:59] gasp [08:59] unicode [08:59] gasp, customized keyboard layouts :D [09:04] bazaar-vcs.org appears to be down :( [09:04] jml, i don't think it is present... [09:04] still checking [09:04] jml, srsl? [09:04] srsly* [09:05] poolie, yes, srsly. [09:06] Indeed. Cool! Can't connect. [09:07] fixed [09:07] (thanks elmo) [09:08] That was quick. What was wrong? [09:08] buggered if I know :) [09:09] jml, it certainly looks like it's not in there [09:09] i wonder how the text got into news? [09:09] jml i guess launchpad got fixed? [09:09] which bit of launchpad? [09:10] apache upgrade didn't restart cleanly; sorry about that [09:10] peng: ^-- [09:10] Oh. [09:11] jml, the appserver outage? [09:11] poolie, yes. that got fixed [09:14] poolie, what's the number of the bug that appears in NEWS that isn't fixed? [09:15] bug 376478 [09:15] Launchpad bug 376478 in percona-xtrabackup "Specify Target Directory Name with innobackupex" [Undecided,New] https://launchpad.net/bugs/376478 [09:15] you cherrypicked trunk r4470 [09:15] which claims to fix that [09:15] ah [09:15] https://bugs.edge.launchpad.net/bzr/+bug/376748 [09:15] Ubuntu bug 376748 in bzr "after conversion chk formats are badly packed" [Critical,Fix released] [09:15] it might just be lack of cherrypick tracking... [09:16] normally people tend to merge the bugfix branch into the release branch rather than cherrypicking [09:16] but it's a reasonable enough thing to do [09:18] Can I fake the timestamp on a bzr commit? [09:18] yes. [09:18] (without changing my system clock) [09:18] of course in this case you couldn't because it was based off too late a version of trunk [09:18] soren, yes [09:18] Cool. How? [09:19] Python! [09:19] (looking up the api) [09:19] I was afraid you'd say that. [09:19] Oh, well. [09:22] Hm... Doesn't look to hard at all. [09:22] (famous last words) [09:24] soren, yeah... I think I'd just hack something up based on cmd_commit(). [09:24] possibly even add an option to cmd_commit for the timestamp. [09:26] poolie, so where were we? [09:26] i'd be ok with an option to cmd_commit [09:27] jml, it's in, and it seems like a reasonable thing to put in [09:27] so i think we're good to go [09:28] rock'n'roll. [09:29] spiv, still around? how did you go today? [09:37] I have a question: I do bzr status and I get a lot of modified files, even though they haven't been touched. But they have an * at the end. What does that mean? [09:38] help form bzr hackers needed [09:38] see http://pastebin.com/m40991c66 [09:38] why I've got error? [09:39] jml: Oh. I was thinking of just calling bzrlib.commit.Commit.commit() from python with the right arguments. This is (hopefully) just a one-off thing. [09:40] jml: Oh, that is what you're suggesting as well. [09:40] soren, basically, yes. [09:40] * soren has not had sufficient coffee today. [09:41] soren, although tweaking the commit command is probably even less work, as long as you don't bother with user-friendly parsing & data validation. [09:41] which you won't, because it's a one off thing :) [09:41] True, true :) [09:45] Wyvern: The executable bit probably changed. [09:47] Indeed! Thanks. [10:05] jam: FYI, mail2.domainpeople.com yelled at me when I tried to send an email to you. (Nothing important, I just used Reply All on a mailing list post.) [10:06] is CommitBuilder.record_entry_contents() going to be removed before 2.0 ? === jml changed the topic of #bzr to: Bazaar version control system | 1.16.1 released 26th June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ [10:19] *mutter mutter* [10:20] conflicts are teh suck [11:07] How do I specify a base revision during a merge? [11:08] I'm trying to merge two trees that have no common ancestry (bzr-wise, but in the real world, they do), and "bzr merge" suggests that I can somehow do it anyway if I specify a base revision for the merge, but I don't see how to do that. [11:11] soren: "bzr merge -r0..-1" will allow you to merge unrelated (bzr-wise) trees [11:12] soren: because 0 is common to histories, in a sense. [11:13] Yeah, I was hoping that would be the case (0 being everyone's grandparent). [11:13] haha.. [11:13] spiv: YEs, that seems to do the trick. Lovely. Thanks! === mrevell is now known as mrevell-lunch === Xavura is now known as Xavura|busy === mrevell-lunch is now known as mrevell === nevans1 is now known as nevans [14:44] abentley: [14:44] awilkins: [14:44] abentley: How easy would "parallel" support be in bzr-pipeline? [14:45] awilkins: Not terribly hard, but if the parallels ever met, that would cause criss-cross merges. [14:47] abentley: I posted to the list about supporting something similar in loom ; the idea of having a web of patch branches that all converge on a single "work" branch, with UI assistance for committing the correct hunks to the appropriate branch [14:47] Like Mercurial pbranches (only they don't have that UI support) [14:47] awilkins: If by converge, you mean A -> B -> C, A ->D -> C, that would be very, very bad. [14:48] abentley: Because each branch would be receiving the same merges from the base branch? [14:50] awilkins: Well, let me think about this. [14:50] For reference : http://arrenbrecht.ch/mercurial/pbranch/ [14:51] awilkins: You get criss-cross when you merge in an inconsistent order, and thereby repeat the merge of revision X with revision Y in two places. [14:51] awilkins: It may be that a pipeline can prevent that, but I'd have to think about it. [14:54] abentley: I have this mental picture of a commit dialog in qbzr where the patch is on the left and there is a radiobutton column on the right for each patch branch and you select which hunk goes where. [14:55] awilkins: I've never been a fan of selective commit, but I can envision adding it to the uncommitted changes of that pipe. [14:56] abentley: Does each pipe have a working tree? [14:56] awilkins: No, each pipe has a shelf. [14:57] abentley: That sounds like the implementation I had in mind ; shelve the changes and switch-unshelve-commit for each branch [14:58] abentley: I just don't have the time to actually write it though [14:58] awilkins: I'm suggesting that the user would still commit the changes, rather than having it happen automagically. [15:01] abentley: I can see that working as long as you're not allowed to commit to a branch that depends on branches with shelved changes [15:02] awilkins: I think that restriction would not be workable. [15:03] abentley: How do you cope with the scenario when you want to commit C, and B has changes in it's shelf ; the changes are presumably in the working tree of C also, and you've just committed them? [15:03] abentley: how can I tell if a given installation of bzr is built with the C extensions? [15:03] kfogel: Presence of .pyd files [15:04] awilkins: It would be unusual for the changes to be in the working tree of C also. [15:04] awilkins: thank you. where would they be? (some python path on my system?) [15:04] abentley: I thought A -> B -> C ... doesn't that imply that the changes from B are in C and C may even be dependant on them [15:05] kfogel: They should be in the bzrlib folder [15:05] awilkins: thanks [15:05] kfogel: "lib" on Win32 bzr.exe, %PYTHON%/lib/site-packages/bzrlib for win32/python [15:05] awilkins: No, it doesn't imply that. When you want that to be true, you run the "pump" command. That merges from A->B->C, but it doesn't do anything with uncommitted changes. [15:06] abentley: I'll have a play with bzr-pipeline for a bit and think some more [15:06] abentley: It sounds like I'm not totally grokking the way it work [15:08] abentley: Is there a good source of documentation besides the help? I've only found the launchpad page (after seeing it mentioned o the mailing list) [15:08] awilkins: The way it works is, you're hacking on something in A, then you realize you need to fix B. You switch-pipe B, which automatically stores the uncommitted changes in A. You fix B and commit. You switch-pipe back to A, which restores your changes. You finish hacking in A. You pump, which applies the changes in A to B, and the changes in B to C. [15:10] awilkins: "bzr help pipelines" is the main documentation. There's also a comparison with looms in pipeline-and-loom.txt in the source tree. [15:10] awilkins or abentley: if I have done a long-running 'bzr upgrade --2a' to get a tree to 2a format, and I *think* it completed (but for various reasons am not sure), is there some command I can run to verify, other than 'bzr info -v' ? [15:10] abentley: That help topic doesn't seem to be in the lp:bzr-pipeline trunk [15:10] awilkins: Sorry, "bzr help pipeline" [15:11] kfogel: On the same topic, I've been running --2a conversions and getting segfaults on windows where it just fails silently, so I'm no help here [15:11] awilkins: ugh. no useful trace? [15:11] Peng: I believe my mail host no longer allows direct emails from people, you have to go through official ISPs [15:11] kfogel: bzr info -v won't tell you whether it's well-formed. You would need to run "bzr check" for that. (Which takes a verry long time) [15:12] kfogel: Just a minidump and an offset in the groupcompress extension [15:12] abentley: 'bzr check' time comparable to the original 'bzr upgrade' time? [15:12] kfogel: I'd make a trivial branch and upgrade it to 2a to see what the successful log output looks like [15:12] (because that was almost 4 days) [15:12] kfogel: worse. [15:12] abentley: holy cow [15:14] abentley: Ok, it still sounds compatible with my intentions as long as the criss-cross merge is dealt with [15:15] abentley: Because you would actually be working in C, you know how the merged output should look because it's what you actually wrote, so does that make it easier? [15:16] awilkins: I don't know what you mean by "you would actually be working in C". [15:16] abentley: You have pipes A > B | D > C [15:17] So when you pump, changes in A are merged to B and D and then C [15:17] So you end up with two merge revisions being merged to C and they are a crisscross merge [15:18] If you are editing in C and your "chunk selective commit" has directed some changes to go to A, some to B and D (and none to C because it's just a convenient tip to amalgamate patches) [15:18] A > B, D > C does not lead to a criss-cross merge. [15:18] awilkins: Why would changes from B be merged into D? [15:19] abentley: Not from B to D [15:19] That would be a linear pipeline of A > B > D > C [15:19] A to B and D [15:19] B to C, D, to C [15:19] awilkins: So you really men A > B, A > D > C? [15:20] abentley: And B > C also [15:20] Including an additional revision of changes to B and/or D [15:21] awilkins: As long as the parallel lines don't merge from one another, I'm not sure that leads to a criss-cross. But I still need to think about that. [15:22] awilkins: In any case, if you pump from A, you're not necessarily "working in C". That would only happy if conflicts were encountered merging into C. [15:23] abentley: I'm thinking ; edit with the lightweight checkout aimed at "C" ; commit chunks to A, pump [15:24] abentley: Because you're editing in a checkout of C, you know how the end state of the tree should look, so you either don't have conflicts or you know exactly how to resolve them before you start the merge [15:24] I'm not sure you don;t have conflicts 100% of the time [15:24] awilkins: If you're in C and you pump, that will do nothing, because you pump from the current pipe to the following pipes. [15:24] awilkins: If you're in C, you can't commit chunks to A. [15:25] abentley: Edit in C : special-multi-pipe-commit to A (shelve ; switch A ; commit ; pump) [15:25] awilkins: You're now in A. [15:25] Not working in C. [15:26] abentley: Automating this is what I'm driving at ; all the dancing up and down pipes handled in software [15:27] So after, switich to C (which got your changes merged upward by the pump) [15:28] So the intent is "I always want to work in a tree that looks like it would with all my patches applied, but I want to be able to commit to each of my patches separately" [15:28] awilkins: I'm not in favour of committing changes to A without even having looked at A with those changes. [15:28] I agree that there is potential hairiness there [15:30] I think the add-to-shelf approach has merits too [15:30] It makes things a little less quick, but I agree it adds safety [15:32] My concern with it was that if you have a bunch of changes hanging around in a shelf, they are not committed in the branch you intend them for, they are in it's shelf. You may commit the changes to descendants of that branch ; not entirely a disaster because if you merge them from beneath later they are just a no-action merge. [15:33] awilkins: I don't think it's likely that you would commit the changes to descendants of that branch. [15:34] abentley: Have you removed them from the tree when you shelved them to that branch? [15:34] awilkins: yes. [15:34] hmm, i have not heard of bzr-pipeline before. is it a thing like loom? [15:34] abentley: So now your work cannot continue until you visit A and commit/pump yes? [15:35] awilkins: Your work would only be unable to continue if all the changes you wanted to make depended on the shelved changes. [15:35] dash: yes. [15:36] i've been using loom a lot this week [15:36] i've been wondering if something better was possible. :) [15:37] dash: Looks like you walked into the right discussion ; I'm likeing pipeline so far in that I have the impression that it implements the features of looms by manipulating standard branches (?) [15:38] dash: As a contributor to loom and heavy user, I think something better is possible, and pipeline is my attempt to achieve it. === abeaumont_ is now known as abeaumont [15:39] awilkins: It does manipulate standard branches. The feature parity is not exact, and that's deliberate. [15:39] pipeline is interesting; If I read the code right it has strong parallels to topgit [15:40] * awilkins adds another mental bookmark to review [15:40] dash: have you been liking loom? [15:40] lifeless: Mostly. [15:41] lifeless: I've shied away from using it because of the stacked branches design [15:41] My use case lately has been dealing with code at work where a snapshot of a public SVN repository was taken, checked into a company-internal SVN repo, and both were modified independently for about three months [15:41] and now I am trying to reconcile the changes [15:41] awilkins: sit in top tree, commit to arbitrary 'patch' - thats a goal I have too, for both generic bzr and looms; but requries care because it is conceptually bad (committing untested code). Howver some folk really do want it [15:42] and, in particular, stratify them into independent patches [15:42] My use case is a software project in an SVN repo which I sync periodically [15:42] I tidy the code and document it and also write patches [15:42] dash: I find shelve very useful there [15:42] lifeless: yes. using shelve a lot too. [15:42] dash: commit -i and a split-commit command would be nice [15:42] yeah [15:42] But I don't want things to be dependant on each other (in terms of DAG) [15:43] anyhoo, its past midnight [15:43] shelve is a little awkward when dealing with 200+ diff hunks :) [15:43] -> sleep [15:43] I find myself alternating between diff-based and pack-based shelve [15:45] "conceptually bad (committing untested code)" ; I don't think committing untested code is bad, as long as it's plain you're not committing to a branch that will be shipped untested ; AFAIK the Bazaar development process handles this by testing merged revisions before it commits them and that's the place to be [15:45] EAch time I try pack-based shelve on win32 it's failed so far [15:46] The merges I've submitted to Bazaar have included revisions that definitely didn't pass testing because I separated the commits into one revision for the tests that exposed a broken feature, and one that fixed it. [15:46] But the merge revision is the one that counts for testing purposes [15:47] awilkins: yeah, that's the workflow i'm familiar with from svn [15:48] Anyway ; so, I want to be able to submit patches to my foreign SVN repo without cherrypicking out changes from branches lower in the loom [15:58] hm. [15:58] i'm not familiar with doing that [15:59] so far i've just used 'bzr diff -rthread:' to create patches to send in [16:00] dash: I created a branch from HEAD of trunk, cherrypicked the patch into it, and pushed it to trunk using bzr-svn [16:03] dash: Does each thread only list the changes it introduces when you do that or do you get the threads beneath it?# [16:05] it's the diff between the thread and the one below [16:06] I suppose that works, in a pinch [16:06] Doesn't account for diffs to things that were changed by the thread below with respect to trunk though [16:07] well right [16:07] but i've always envisioned a loom as a stack of patches [16:07] The topgit README also makes it sound like the feature I seek! [16:08] Yes, that's the thing that puts me off using it - I have no idea what order I want to put patches in [16:08] a diff against the bottom thread would include all the changes of the intervening thread [16:08] well, they have to go in some order :) [16:08] Yes, but I don't want to have to decide what order before I merge them, before I've even started writing them [16:11] TopGit readme is very dry and needs more pretty ASCII art like Mercurial pbranches [16:15] awilkins: changing the order of pipes would not be easy, but it's theoretically possible. [16:19] abentley: Would that involve a lot of rebasing? [16:19] awilkins: No. [16:21] abentley: I can't think of a way to do it without rebasing ... but now I have to go and pick my wife up from the station, so I'll think about it on the way. === awilkins is now known as awilkins_train [16:21] awilkins: Merging. [16:21] INcluding reverse merging? (now I'm really gone) [16:36] So... At the risk of looking like an idiot, has anyone else noticed bzr 1.16 spamming "unsupported locale" warnings when running under any locale other than en_GB.UTF-8 or C? [16:36] (And yes, I have several other locales generated and usable by everything else) [16:43] infinity: WFM in Klingon. but then, i always challenge such error messages to personal combat with bat'leth. [16:48] Reproduced here on an up-to-date karmic (times two), and a jaunty with the PPA 1.16 installed. [16:49] To be fair, didn't test EVERY locale, but en_US and en_CA are both grumpy and both quite obviously working in other apps. [16:55] is there a way to apply shelved changes without removing them from the shelf? [16:59] I guess not, since there's no parameter that indicates that possibility. [17:10] hmm, a `bzr branch` from an svn repo seems to have gotten me some ancient files [17:18] Tak: which don't show up in "svn ls "? [17:19] no, I mean they're not current [17:25] oh, I see [17:36] jam: Oh, OK. It was an ISP, though. A stupid cheapo shared host, but they still count. :D [17:39] Peng_: I don't really know the answer, but I've gotten similar messages emailing vila from my home machine [17:39] I had to proxy through my ISP to get it to work [17:40] I don't know why they would reject you [17:41] jam: Well, okay. Anyway, I just wanted to alert you if necessary. :) [17:41] I didn't want your email anyway :) [17:42] I'm just hiding behind my mail host [17:43] Heh. [17:44] LarstiQ: I don't see jelmer around, but I had a question about what I should be bundling in the win32 installer [17:44] jelmer mentioned something about changing bzr-rebase => bzr-rewrite [17:44] and I don't really know what the latest versions of [17:45] rebase/rewrite, svn, subvertpy etc are [17:45] any ideas? [17:47] * Peng_ runs them all from source. :P [17:47] s/source/bzr/ [17:54] *arg*** [17:54] It seems the project is now called "bzr-rewrite" [17:54] but the *tag* is "bzr-rebase-0.5.1" [17:54] bad jelmer, no biscuit [17:55] ah well, I can cheat easily enough [17:58] when using bzr export ../foo.orig.tar.gz ... is there any way to --exclude a file from being exported? [18:07] hmm... seems "cd bzr-rewrite; py setup.py install" still installs itself as 'rebase' as well. [18:08] weird === awilkins1train is now known as awilkins [18:14] jam: FWIW, I still call it "bzrlib.plugins.rebase" and it doesn't mind, so maybe you should stick with rebase for now. [18:14] jam: Obviously it would be best to ask jelmer. :D [18:14] yeah, I'm sticking it where it wants to be [18:14] just seemed wrong [18:14] probably just an incomplete conversion at this point === Kissaki^0ff is now known as Kissaki [18:49] Stupid question: Have enough 2a bugs been fixed that it's reasonably to dogfood it, and interact with different formats over the network? [19:05] hi [19:39] Anyone know what the right path is to obtain loggerhead 1.2.1? [19:42] ...1.2.1? Isn't that from the 1990s? [19:42] yeah im thinking the same [19:42] Why? [19:42] my boss asked me to do this so im sort of flying blind [19:42] disregard my question [19:42] Wouldn't you want something...modern? [19:42] yeah indeed i do [19:42] i want absolute current [19:42] rellis__: bzr branch lp:loggerhead :D [19:42] hehe alright [19:43] thanks [19:43] Guaranteed to partially work at least 14% of the time! [19:43] what more could i ask for? [19:46] does 1.16 work more than 14% of the time :) ? we're seeing a couple bugs with 1.10 [19:47] upgrading to 1.16 seems to have fixed my issue with the svn branching [19:49] Tak: Do you know the path to checkout 1.16 specifically? [19:49] or is it just trunk? [19:49] eh, I used the release download [19:50] huh i missed that on the site i guess [19:50] OK, are we talking about Loggerhead or Bazaar now? [19:51] loggerhead [19:51] yeah that's exceptionally confusing =p [19:51] rellis__: 1.16 hasn't been released yet. It's just the trunk. [19:51] okay nifty [19:52] oh, yeah, I'm talking about bzr, sorry [19:52] flvr8: Are you talking about Loggerhead or Bazaar? If LH, which bugs? Have you filed reports? [19:52] np :) [19:53] The trunk has a tendency to randomly break sometimes (cough test suite cough), but it fixes lots of things. [19:53] peng - loggerhead as well. (i work with rellis). haven't yet filed a bug, but when we browse to one of the repositories we get an error (for which i haven't yet filed a bug): [19:53] An unexpected error occurred whileproccesing the request: KeyError: .... [19:54] flvr8: I think some KeyErrors have been fixed, but my memory is fuzzy. [19:54] ok, we'll check out trunk and see [19:58] I know an *IndexError* was fixed a while back, but that bug was introduced in the trunk. :P [20:01] So bzr branch lp:loggerhead should give me current 1.16 development work right? [20:02] The readme says 1.10 so it's a little confusing.. [20:03] rellis__: Yeah. Seems nobody updated the version number [20:03] fair enough :) [20:14] Peng: I'm seeing ImportError: No module named main trying to fire up the new serve-branches from trunk... do i need to install some prereq's? [20:16] rellis__: Yeah. See the README. Uh, Paste, SimpleTAL and simplejson (on Python <2.6) are the necessary ones. [20:16] hmmm thought i had those [20:16] i'll reverify [20:16] rellis__: Oh, crap. I didn't see the "main" bit. [20:16] yeah that threw me [20:17] made me think it was something internal [20:17] rellis__: It is. ISTM serve-branches is finding an old copy of the "loggerhead" package. [20:17] ahh gotcha [20:17] hmmm [20:20] Hi [20:26] looking for a seeming python dependency issue at Loggerhead / Bzr [20:46] When I try to use loggerhead against one of my projects I get this error.. KeyError: 'someguy@somebox-20090314122230-5ds8oco7g27p9ukx' [20:46] any idea what causes this? [20:49] This is the full error from the loggerhead log file.. http://www.pastebin.ca/1475807 [20:52] sanjays: Aye? [20:53] ya [20:53] sanjays: What's the issue? [20:53] had a particular problem with loggerhead as frontend of BZr repository [20:54] after import by developers it cannt show the trunk [20:54] i will tell u the exact error if that helps [20:55] rellis__: That error isn't familiar to me. Upgrading is all I can suggest. [20:55] fair enough peng [20:55] it's the same erro sanjay's refering to [20:55] Oh. [20:56] Peng would you expect the python module for loggerhead to still register as 1.10 like the readme file? [20:57] We did a trunk checkout then installed and we see 1.10 listed everywhere.. [20:57] rellis__: Yeah, it still thinks it's 1.10. [20:57] cool [21:16] hi, I did a 'bzr pull --overwrite' and get a text conflict... how is that possible? [21:24] jam, hi [21:24] still around? [21:25] I've got an interesting traceback where check blows up, and reconcile finds nothing [21:25] https://pastebin.canonical.com/19049/ [21:25] lifeless, maybe you're around and bored on a saturday ^ [21:25] I'm probably going to file a bug, but I'd like to see what's interesting to add to the bug info [22:16] beuno: yeah [22:16] was afk for a bit, though :) [22:16] jam, filed as 392698 [22:16] bug #392698 [22:16] Launchpad bug 392698 in bzr "bzr 1.16 blows up on upgrade or check" [Undecided,New] https://launchpad.net/bugs/392698 [22:17] beuno: and it dies on upgrade as well? [22:17] at least it looks like you have a missing text in your repository [22:17] the inventory wants "(file_id, revision_id)" [22:17] but the repository says "I don't have that" [22:17] AFAIK, there isn't much reconcile can do [22:17] as it can't *create* the file for you [22:17] now, if we have the sha1 sum, we could probably fake it [22:19] jam, it dies on both upgrade and check [22:20] it's odd that *this* branch is broken, since there hasn't been anything fancy done to it [22:20] I'm less interested in fixing it, and more in debugging why it happened [22:20] it's history isn't terribly important to me [22:23] * beuno is in the process of upgrading the remaing ~60 branches at the office to 2a [22:23] only that branch failed up to now [22:23] and it has to be something that happened from 1.9 to now, which I upgraded a few months ago [22:24] so it's a bug in bzr 1.13+ [22:29] beuno: see my comment [22:29] It was probably a bug in a really old version [22:30] that generated a slightly bogus inventroy [22:30] and bzr 1.12 or so wouldn't have fetched the data properly [22:30] to handle the really old problem [22:30] 1.13+ should handle it more correctly now [22:31] I'm not 100% sure when the fix landed, but the fix was written by lifeless at rev: robertc@robertcollins.net-20090310065003-a57qlol97z6ohczi [22:32] jam, so is there anything I can do to provide useful information here? or just delete, init, and move in with life? [22:33] *on [22:33] beuno: I have a theory about what happened, but it is pretty difficult to prove or disprove... [22:34] beuno: is this a branch with a separate repository? [22:34] It might be interesting to see what "bzr log -r revid:'martin@pentacorp.net-200705250025002205-ybn9m9tqnxu122qo'" says [22:34] or even "bzr log -v" [22:34] or bzr log -v --show-ids [22:34] to see if 'wiki_icon.gif-20070525002152-lu3yrapgr7a4d8dp-75' was modified in that rev [22:34] jam, it's a standalone branch [22:35] let me try that... [22:35] beuno: do you have more branches of this project? [22:35] Note that the dates are ~ the same [22:35] jam, probably not anymore, no. It hasn't been touched in a while, so developers likely deleted them locally [22:35] and that -75 means this was the 75th file to be added in this commit [22:35] which means it sounds a lot like something that was approximately the initial commits [22:36] Amazing what info you can glean from non-random revision ids :) [22:36] bzr: ERROR: Requested revision: u'revid:martin@pentacorp.net-200705250025002205-ybn9m9tqnxu122qo' does not exist in branch: BzrBranch7('file:///var/www/ellatinoamericano/') === Kissaki is now known as Kissaki^0ff [22:37] beuno: interesting, sounds like a ghost rev then [22:37] wonder how that happened [22:37] beuno: there is something weird about 200705250025002205 [22:37] are you sure that was cut & pasted correctly? [22:38] yeap [22:38] 2007-05-25 00:25:00: 2205 [22:38] KeyError: ('wiki_icon.gif-20070525002152-lu3yrapgr7a4d8dp-75', 'martin@pentacorp.net-200705250025002205-ybn9m9tqnxu122qo') [22:38] still too many digits [22:38] bzr log doesn't blow up [22:38] 2009-06-26 18:03:31 [22:39] bzr revision is from 2007-07-11 [22:39] 20090626180331 [22:39] 20070525002152 => 20070525002152 [22:39] 2007-05-25 00:21:52 [22:39] neither does bzr log -v -n0 [22:39] looks like we generally used date to seconds [22:39] which would be: [22:40] 2007-05-25 00:25:00 [22:40] or [22:40] martin@pentacorp.net-20070525002500-ybn9m9tqnxu122qo [22:40] beuno: can you try "bzr log -v --show-ids -r revid:martin@pentacorp.net-20070525002500-ybn9m9tqnxu122qo" ? [22:40] jam, I can upload the repo for you, it's private-ish, but not critical, so it's ok for you to look at it [22:40] beuno: devpad would be fine [22:40] malbisetti@pentaserv:/var/www/ellatinoamericano$ bzr log -v --show-ids -r revid:martin@pentacorp.net-20070525002500-ybn9m9tqnxu122qo [22:40] bzr: ERROR: Requested revision: u'revid:martin@pentacorp.net-20070525002500-ybn9m9tqnxu122qo' does not exist in branch: BzrBranch7('file:///var/www/ellatinoamericano/') [22:41] beuno: alternatively "bzr log --long --show-ids | less" and search for 22qo [22:41] but I can do that === vxnick is now known as vxnick-AFK [22:41] I want to know who this latin american is... so yes, please upload :) [22:42] heh [22:42] alternatively, create a tarball, gpg sign it to my pub key [22:42] and upload it wherever you want [22:42] it's about 14mb [22:42] uploading... [22:45] it should be about 6 minutes [22:50] jam, https://devpad.canonical.com/~beuno/ellat.tgz [22:52] jam, I'm also curious as to why it failed now, and not when I upgraded it to 1.9 [22:52] beuno: upgrade to 1.9 doesn't do much but change the indexes, IIRC [22:52] as in, it doesn't have to check every text, etc [22:52] it just rewrites what is there to be a btree rather than a KnitIndex [22:52] beuno: *especially* if you used the fast-path writer that I had written [22:53] ah [22:53] I didn't [22:53] but I see what you mean [22:53] beuno: it is also possible that the upgrade itself is the part that broke things [22:53] it just didn't care that the text was missing [22:53] beuno: I get "not in gzip format" [22:53] is it encrypted? [22:54] or is it bzip2 ? [22:54] uhm, no, should be tar.gz [22:54] argh [22:54] seems broken [22:54] it is just tar [22:54] no gz [22:55] did you manage to unpack it? [22:55] beuno: "tar xvf ellat.tgz" worked [22:55] cool [22:55] I missed a flag then :) [22:56] I think I've had firefox automagically decompress things for me when downloading from some servers. I tend to just always use "tar xf" to extract, modern versions of gnu tar don't need the j or z flag, they autodetect if you omit [22:57] beuno: something very weird [22:57] ah just a sec [22:57] missed a flag [22:57] forgot you now need -n0 [22:57] yeah :) [22:58] beuno: so something very strange after all [22:58] according to 'bzr log' the first revision is [22:58] 2007-07-11 [22:58] but your error is on a file with [22:58] 20070525 [22:58] ha [22:58] and a commit around [22:58] 20070525 [22:58] so somehow your branch has a revision that existed... 1+ months before the branch [22:58] well, FWIW, that branch was re-inited at some point due to breackage [22:59] but the bzr dir was probably killed, and init + added everything [22:59] maybe someone merged it in that had the old branch? [22:59] I do see a revision present: [22:59] ('martin@pentacorp.net-20070525002205-ybn9m9tqnxu122qo',), [22:59] it wouldn't of let them I guess, since there's no common ancestors [23:00] which probably isn't in the ancestry of the branch [23:00] but is present in the repo [23:00] this is getting stranger as we go :) [23:01] beuno: so I can do "bzr branch -r revid:'martin@pentacorp.net-20070525002205-ybn9m9tqnxu122qo' . ../ellat2" [23:01] and then I see [23:01] $ bzr log ../ellat2/ [23:01] 1 Martin Albisetti 2007-05-24 [23:01] inicio [23:01] so *my* guess is that *you* are responsible :) [23:02] beuno: and if I look at "bzr log -v --show-ids" for that revision [23:02] I also see what I expected [23:02] namely, the file [23:02] the file-id matches [23:02] only notice that the revision id is different than what you gave as an error [23:02] 2007 05 25 00 22 05 [23:03] where you had 2007 05 25 00 22 00 ... [23:03] heh, it was 2007, I was doing all kinds of crazy things (?) [23:03] beuno: I see the same error [23:05] wooo, finished upgrading all branches, that was the only one that exploded [23:05] pretty impressive considering we've been using bzr since 0.12 [23:06] beuno: so my guess is that the original commit was bogus [23:06] which is why you started over [23:06] if you do "bzr branch ellat ellat2" [23:07] you should probably be able to upgrade ellat2 [23:07] as it will have pruned out the bogus revision [23:07] cool, easy peasy [23:08] is there anyway reconcile could tackle this in the future? [23:10] jam, you're right [23:10] oddly enough [23:10] beuno: so... something still strange. In that I get the same failure [23:10] check finds 81 revisions on the borked one [23:10] but I don't see any way yet for it to occur. [23:10] and 57 on the branched one [23:10] so maybe it is a different rev which is broken [23:11] jam, upgrading went fine on the newly branched one as well [23:12] the 81 vs 57 revs is intriguing [23:12] beuno: anyway, I'm off for now [23:12] but I find the bogus text in the inventories of 20 revisions [23:13] beuno: https://pastebin.canonical.com/19053/ [23:13] jam, cool. Hope it helps at all, and thanks for the workaround [23:13] have a nice weekend [23:13] which is probably the 20 or so that aren't in the branch anymore :) [23:39] vila: ping [23:52] beuno: ?