[00:20] <jeremyw> I have a revision id for a file that was merged into the branch.  I try to get the revno of that revision id and I'm told there is no such revision.  How can you get the revno without looping through all revisions and checking the inventory?
[00:32] <mmclark> got a question about pushing a shared repo to a server
[00:33] <mmclark> if i setup a shared repo locally: (e.g. bzr init-repo website ; bzr init website/trunk)
[00:34] <maxb> poolie: ping?
[00:34] <mmclark> ... hack on the trunk, and then am ready to push the trunk to a server so others can access it, according to the docs I can do something like....
[00:35] <mmclark> bzr push --create-prefix bzr+ssh://host/path/to/repos/website/trunk
[00:35] <mmclark> to create the branch on the remote server.  so far so good...
[00:36] <mmclark> what I don't get is that locally, in the top-level repo, there's a .bzr folder where (if I understand correctly), files will be shared amongst branches
[00:37] <mmclark> there's no similar .bzr folder on the server, so it appears there's no sharing.
[00:37] <dash> mmclark: the repo is for sharing _revisions_ between multiple branches
[00:37] <mmclark> is that correct?  is the approach above the best way to go?
[00:37] <mmclark> ok
[00:37] <dash> mmclark: you have to do init-repo on the server side to get the same thing there.
[00:38] <mmclark> ok, so if i start by doing a bzr init-repo bzr+ssh://host/path/to/repos/website ...
[00:38] <dash> haven't tried that, but it might work :)
[00:38] <mmclark> and then push the branch as I did, then we've got the same scenario both locally and remotely
[00:39] <dash> right
[00:39] <mmclark> ok - i'll give that a try.  thanks
[00:59] <poolie> hi maxb
[01:03] <maxb> poolie: hi
[01:03] <maxb> You mentioned that pitti said 2.2.1 needed to be a SRU - I was wondering if you had a link to that, as I got a verdict that a post-RC release pocket upload was still reasonable, said about 24 hours ago
[01:04] <maxb> either way, I've subscribed ~ubuntu-release and requested an official verdict
[01:04] <poolie> maxb, he said that in #ubuntu-devel about 16h ago
[01:04] <poolie> i think it will be in the irclogs.ubuntu.com scrollback
[01:05] <poolie> if we can do better that's brilliant
[01:06] <maxb> hmm
[01:07] <maxb> I think we're hearing a slightly different position from different ~ubuntu-release members, so I guess we'll see what they say in response to me subscribing them to the bug
[01:08] <poolie> from my experience you'll have to actually poll them not just subscribe them
[01:08] <maxb> Meanwhile, I think we should try to get some bzr selftest analysis of 2.2.0-1 vs. 2.2.1-0~bazaar1~maverick1 in the bug, in the spirit of the MicroReleaseException
[01:10] <poolie> it could be good to check the failures are a subset
[01:23] <poolie> maxb i'll try to do that soon
[01:44] <jeremyw> Anyone have a minute to help me out with the bzrlib API?  I'm completley stumped.
[01:45]  * maxb is no expert, but perhaps...
[01:45] <poolie> jeremyw: sure, just ask
[01:46] <jeremyw> I have a revision_id and when I try to get its revno, I'm told there is no such revision.  I guess that revision_id corresponds to another repository.
[01:46] <jeremyw> Is there any way to get the revno without iterating over the whole history and seraching each revision's inventory?
[01:46] <jeremyw> I asked this earlier but got no response.  Pardon the asking to ask thing...didn't want to waste my time again.
[01:47] <maxb> What API? Branch.revision_id_to_dotted_revno ?
[01:47] <jeremyw> I got the revision_id using b.repository.get_inventory(youngest_revision)[file_id].revision
[01:48] <jeremyw> And I later use b.revision_id_to_revno()
[01:48] <jeremyw> b is a branch.Branch
[01:49] <maxb> revision_id_to_revno only consults the mainline
[01:49] <maxb> Use revision_id_to_dotted_revno
[01:51] <jeremyw> That helps.  :)  The numbers don't match what 'bzr log' would output but I'm sure I can figure out why.
[01:51] <jeremyw> How easy was that...ugh.
[01:51] <maxb> uh, they don't match?!
[01:52] <jeremyw> Well, basically I'm trying to find the last revision (local) a file was modified.  If I use log.find_touching_revisions(), I get some revisions that I'm comparing this other work to.
[01:52] <jeremyw> Maybe find_touching_revisions() isn't right?  I'll consult the log.
[01:53] <jeremyw> Okay...so 'bzr log setup.py' shows 425 as the last modified version while the revision_id_to_dotted_revno returns 424.
[01:55] <james_w> revision_id_to_dotted_revno returns a tuple doesn't it?
[01:55] <jeremyw> Maybe my approach is wrong.  What I've done is I use branch.list_files(recursive=False) to get the file_id.  I then use the file_id to get a revision_id it was last modified.  I then am using this API you told me about.
[01:56] <james_w> that's certainly the approach that I would use
[01:57] <jeremyw> It returns a tuple...going to see what the pieces mean...maybe there is something I can do to get the exact same number that 'bzr log -l1 PATH' gives me.
[01:58] <fullermd> The tuple woudl be the components of the [dotted] revno.
[01:59] <fullermd> So it's 424.something.something; you see it listed on log in 425 because that's the rev that merged those changes.
[01:59] <jeremyw> If I use log.find_touching_revisions(file_id) and I get the last entry, I get a number that matches the same output as 'bzr log -l1 PATH'.
[01:59]  * jeremyw reads
[01:59] <jeremyw> fullermd: So how might I get 425 instead of 424?
[02:00] <fullermd> Well, 425 is sorta a lie.  Depending on semantics.
[02:00] <jeremyw> But I don't understand the semantics enough to figure out if my code/approach is borked or I've got it right and the CLI is giving you the lie.
[02:01] <fullermd> 425 just copied in the changes from 424.whatever.whatever.  Collapsed log shows it because otherwise it couldn't show anything, which is flat wrong.  Expanded log shows it because it's too confusing to have a right-side path without showing where it walked off the left side.
[02:02] <fullermd> Defining changes is a little tricky with branched history.  In this case, 425 has different contents in that file from 424, so in one sense, it changed.  But it's the same contents as 424.whatever.whatever, which is ALSO a parent of 425.  So in another sense, it didn't change.
[02:02] <fullermd> What bzrlib is telling you is that 424.something.something is the rev where that was actually changed.
[02:03] <fullermd> log actually does a fair amount of work beyond that to try and make pretty-understandable output on top of the low-level facts.
[02:04] <jeremyw> Alright.
[02:04] <jeremyw> So let's pretend you had a repository browser and I showed you 424 but the cli showed you 425.  You'd be confused right?
[02:04] <jeremyw> Any thought on how I might be able to remedy this?
[02:05] <fullermd> 424 isn't the answer.  The answer is 424.something.something.  It's a dotted revno, not on the mainline.
[02:05] <fullermd> I believe you just glue the tuple bits together to get the full thing.
[02:06] <jeremyw> Okay.  I see what you mean.  But if I wanted to only track mainline, how could I get 425 without doing it the same way log does, which is really expensive?
[02:06] <jeremyw> I want to lie.  ;)
[02:06] <fullermd> Well, I'd suspect if there were a cheaper way to lie, we wouldn't have made log expensive for no reason   :)
[02:06] <jeremyw> I guess not.
[02:07] <fullermd> At a high level, you'd need to take that rev you found, and walk forward until you first hit the left path.  That's probably not going to be especially cheap.
[02:08] <mkanat> I think that it's possible to do some things more cheaply if you only care about mainline.
[02:08] <jeremyw> Here's what I'm talking about: http://dpaste.com/250788/
[02:08] <mwhudson> if you build the merge sorted revision graph it's easy enough
[02:08] <mkanat> jeremyw: Yeah, you might just want to try using bzr-history-db?
[02:08] <mkanat> If it works outside of loggerhead, that is.
[02:09] <mwhudson> jeremyw: 3.5 s seems awfully slow, are you read locking the branch?
[02:09] <jeremyw> Yes.
[02:09] <mwhudson> and it's a 2a format branch?
[02:10] <jeremyw> Yup.
[02:10] <jeremyw> Now you see why I'm trying to do this quicker.
[02:10] <fullermd> I presume that's 3.5 seconds to do log __init.py ; log docs ; log loggerhead ; [...].  That doesn't sound all that slow to me.
[02:10] <james_w> there might be a Graph call to get first merged point of A in to B, which is what you want here
[02:11] <mkanat> mwhudson: I've seen that sort of operation take 3.5s before, many times. Although usually on heavily-loaded systems when working with a large history.
[02:11] <jeremyw> This is the loggerhead sources...only 428 revisions.
[02:11] <jeremyw> Not really a large history.
[02:12] <jeremyw> I mean, I'm reporting against the loggerhead sources, the root of the branch only.
[02:12] <mkanat> jeremyw: The loggerhead sources are deceptive.
[02:12] <mkanat> jeremyw: They have lots of large merges.
[02:13] <jeremyw> Okay.
[02:13] <mkanat> So the mainline history is short, yeah, but the full history is pretty complex.
[02:14] <jeremyw> Okay.
[02:15] <jeremyw> I guess I could save some time by only using the find_touching_revisions() for revision_id that aren't on the mainline.  In the case here, it's roughly 60% of the files listed so maybe I could shave off 1.5 seconds from the 3.5 seconds.
[02:15] <jeremyw> Not a huge gain but, well, if it's the only way to do it...
[02:16] <fullermd> Well, the most expensive part is probably building the graph.  And once you do that once (in a single process), reusing it should be pretty cheap.
[02:16] <jeremyw> I can test this by running the same thing twice?
[02:17] <jeremyw> That wasn't really a question.
[02:17] <jeremyw> Shaved off .11s.
[02:19] <jeremyw> Well, sounds like I'm stuck for now.  Using the log, I get cli/mainline accurate results but suffer a performance hit.  I can dig that since it works and wouldn't prompt confusion.
[02:21] <jeremyw> One of the biggest hits for log.find_touching_revisions() is that it starts from oldest to newest to create the graph and since I want the last changed revision, I'd need to go backwards.
[02:21] <jeremyw> I'll try that and see if I can speed things up.
[02:26] <jeremyw> Thoughts?
[02:27] <poolie> jeremyw: i thought there was a way to go backwards?
[02:27] <poolie> i'm pretty sure log from newest to oldest doesn't buffer the whole thing
[02:27] <mkanat> jeremyw: I think you want bzr-history-db.
[02:27] <mkanat> jeremyw: Its purpose is to speed up that operation, IIRC.
[02:28] <mkanat> jeremyw: It's jam1's baby.
[02:47] <poolie> maxb, there is bug 651706, does that sound familiar to you?
[02:47] <ubot5`> Launchpad bug 651706 in Bazaar ""problem with the SSL CA cert" when running tests from installed 2.2.1 (affected: 1, heat: 6)" [High,Confirmed] https://launchpad.net/bugs/651706
[02:54] <jeremyw> You guys are going to laugh...writing my own version of find_touching_revisions() that goes backwards, does it in .79s instead of 3.5s and returns the same results.  :)
[02:56] <jeremyw> http://dpaste.com/250801/
[02:56] <jeremyw> mkanat | fullermd | mwhudson: ^^^
[02:56] <jeremyw> Pretty fricking slick.
[02:56] <jeremyw> I see that the loggerhead directory entry is missing...I bet I can fix that.  Other than that, it's identical and much faster.
[02:57] <mkanat> jeremyw: Sounds like find_touching_revisions itself should be fixed?
[02:57] <mwhudson> that seems more like it
[02:57] <jeremyw> Well, my approach doesn't care about creating a log output for each revision where it's logged, only the last.
[02:57] <jeremyw> So I don't think find_touching_revisions is the problem.
[02:58] <mkanat> jeremyw: In that case, isn't there a better way to do it already, iter_...something?
[02:58] <jeremyw> To do it backwards or to get the last without the rest?
[02:59] <jeremyw> I wonder why loggerhead is missing from the output in the third list...
[03:02] <jeremyw> It was my fault...bad range usage.
[03:07] <jeremyw> My last paste: http://dpaste.com/250802/
[03:07] <jeremyw> That shows the final results.
[03:09] <jeremyw> That isn't fricking bad if you ask me.  :)
[03:11] <mkanat> jeremyw: Nice.
[03:13] <jam1> jeremyw: just to mention, find_touching_revisions looks to be a pretty terrible function in general, it grabs the full inventory of every revision in the mainline... going in reverse is an option, but it isn't exactly a great option, anyway yes, for your use case going in 'reverse' makes sense, but just loading "revision_history()" is pretty expensive (think emacs)
[03:14] <jam1> jeremyw: note that "find_touching_revisions" isn't actually used by log, there is only one user, a hidden command "cmd_touching_revisions"
[03:14] <jam1> definitely not what I would pick as my starting material
[03:16] <jam1> as reference, try doing the same thing for bzr's source tree
[03:18] <jam1> jeremyw: one option is to use "for rev_id in repo.iter_reverse_revision_history(branch.last_revision()):
[03:19] <jam1> possibly batch them, and then call deltas = repo.get_deltas_for_revisions(revison_ids, file_ids)
[03:33] <peitschie> hi everyone
[03:34] <peitschie> is there anyone here that might have a shoulder for crying on?
[03:34] <fullermd> Will there be cake?  'cuz I'll take a lot of crying for good cake.
[03:35] <peitschie> hmm
[03:35] <peitschie> depends on whether i can get it out of bzr lol
[03:35] <peitschie> so not likely :(
[03:35] <fullermd> ...   OK, I'll take crying for bad cake too.  I'm not particular.
[03:36] <peitschie> $: make cake
[03:36] <peitschie> make: *** No rule to make target `cake'.  Stop.
[03:36] <peitschie> bugger
[03:36] <peitschie> i dont have the source
[03:37] <jeremyw> jam1: I'll look into that.  Would repo.iter_reverse_revision_history(branch.last_revision()) be any lighter than just doing what find_touching_revisions() in reverse would do?
[03:37] <fullermd> That sounds like a bug in make.  Something that important should be built-in.
[03:37] <peitschie> i agree... i need to go raise a report i reckon
[03:37] <jeremyw> jam1: I'll probably spend some time with cmd_log.run() to make sure I'm not doing things completely wrong using any version of find_touching_revisions().
[03:38] <mkanat> jeremyw: I think that's the method I was thinking of.
[03:38] <jam1> jeremyw: there are a few things
[03:38] <jeremyw> jam1: If you know of any way to find the last revision a file was changed that is what you'd use, let me know.
[03:38] <jam1> 1) just doing it in reverse is a good start for you
[03:38] <jam1> 2) switching to iter_reverse_revision_history() will help *a lot* for large histories like emacs
[03:38] <jam1> (think 100k mainline revs, vs 400)
[03:39] <jeremyw> That's the end result here...based on a path, and potentially a revision, find out when it was last changed.
[03:39] <jam1> 3) Switching the api to do multiple file-ids at once will be a big win for your use case
[03:39] <jam1> since otherwise you iterate the same history multiple times
[03:39] <jam1> 4) If you just want the last modified revision tree.inventory[file_id].revision is that value, but it is the 'actually changed' value, not the last revision which merged the last change
[03:40] <jam1> 5) lp:bzr-history-db makes it fast to find the mainline revision that merged a given revision by writing out some cached info into a sqlite database
[03:40] <jam1> (as in, low ms not seconds)
[03:41] <jam1> I don't remember if I have that specific function encoded, but it would be pretty cheap in the datastructure
[03:41] <jam1> jeremyw: The loggerhead trunk branch has incorporated bzr-history-db into the main process now
[03:42] <jeremyw> jam1: Cool.
[03:43] <jeremyw> jam1: That's the next enhancement I was goign to make to my version of find_touching_revisions_in_reverse, to handle multiple file_ids at once.
[03:44] <jeremyw> What I'll probably do to finish this learning process is to enhance my version to do multiple file_ids at once and another version doing the iter_reverse_...
[03:45] <jam1> jeremyw: so if it was me, and I was really concerned about performance, I would grab bzr-history-db, use for file_id in file_ids: revision_id = inv[file_id].revision
[03:45] <jam1> and then look up the mainline revs for all of those in one go
[03:45] <jbowtie> peitschie: You don't have the source, because the cake is a lie.
[03:45] <jam1> def get_mainline_where_merged(self, revision_ids):
[03:45] <jam1> in history_db.py
[03:46] <jeremyw> jam1: Pretend that isn't an option right now, bzr-history-db.  I'm trying to learn and add a feature at the same time.  I'd deal with a little loss of performance at this state for a solid understanding by doing it myself.
[03:46] <jam1> jbowtie: the cake being a lie is the lie. If you play through the whole thing, there is a cake in the closing scene
[03:46] <jbowtie> fullermd: I'm sure you meant to say "baked in"
[03:47] <jbowtie> jam1: Yes, a plastic cake. It's a double-bluff.
[03:48] <jbowtie> On topic, I'm wondering how bzr-history-db interacts with foreign branches.
[03:48] <jam1> jbowtie: its a cache, it will read the whole history one time, and then incremental in the future
[03:49] <jam1> but some like bzr-git don't really like incremental for some things. Mostly require you to convert first
[03:49] <jeremyw> Damn...all attemps are horribly slow on larger repositories, like bzr itself.
[03:50] <jeremyw> dotted_revno was the fastest.  Too bad there isn't some quick way to get from dotted to merged when there are changes off mainline.
[03:50] <jeremyw> Maybe that's where bzr-history-db comes in.
[03:50] <jam1> jeremyw: bzr-history-db
[03:50] <jam1> :)
[03:50] <jbowtie> I'm just wondering if I could use it to speed up some of the bzr-tfs operations, particularly those that require mapping back and forth between repositories.
[03:50] <jam1> Basically, bzr stores a map from child => parent, and you need parent => children
[03:50] <jam1> so you need a new index
[03:51] <jeremyw> Trust me, I'm hearing what you're saying.  I just wish I understood enough to avoid it.
[03:51] <jam1> jeremyw: the problem is the only way to invert child => parent is to walk all revisions, which is expensive
[03:52] <jam1> there are some bits you can make cheaper, but a lot of things are "it may also be a child but you just don't know it yet"
[03:52] <jam1> jeremyw: I'd be happy to chat with you to increase your knowledge :)
[03:52] <fullermd> Oh, it's easy; first you stick the history in a relational database...
[03:52] <jeremyw> Are there any shortcuts that could be made if it was a hosted, no real changes being made to the branch itself, repository?
[03:53] <jam1> if you were to say do "branch.repository.revisions.get_known_graph_ancestry([(branch.last_revision,)])" you'd end up with a Graph object that can be traversed bidirectionally very quickly
[03:53] <jam1> with the pain that it has to always load the whole ancestry
[03:53] <jam1> fullermd: oh wait, that's already been done :)
[03:53] <thumper> jam1: sorry for not calling before
[03:54] <jam1> thumper: np
[03:54] <thumper> jam1: got dragged out to get a new vacuum cleaner
[03:54] <thumper> I have a problem with some stacked branches
[03:54] <fullermd> That sucks   :p
[03:54] <thumper> where one branch is stacked on another but they share no history
[03:55] <thumper> particularly when I go reconfigure --unstacked
[03:57] <thumper> ah poo
[03:57] <thumper> it is worse
[03:58] <thumper> lp:ubuntu/language-pack-gnome-yo is stacked on lp:ubuntu/lucid/language-pack-gnome-tg
[03:58] <thumper> rev 1 of lp:ubuntu/language-pack-gnome-yo is dated after rev 2
[03:58] <thumper> and rev 2 is a merge of  lp:ubuntu/lucid/language-pack-gnome-tg
[03:59] <thumper> trying to reconfigure lp:ubuntu/language-pack-gnome-yo unstacked fails
[04:00] <thumper> poolie: any idea ^^?
[04:00] <thumper> http://pastebin.ubuntu.com/502991/ is the error
[04:03] <peitschie> hi everyone... I am wondering if anyone could give me a hand trying to get out debug data for: https://bugs.launchpad.net/bzr/+bug/485601
[04:03] <ubot5`> Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 5)" [Medium,Incomplete]
[04:09] <smoser> anyone know what the issue is here:
[04:09] <smoser> $ bzr branch lp:ubuntu/maverick/ssh
[04:09] <smoser> bzr: ERROR: Server sent an unexpected error: ('error', '<Fault -1: "Unexpected Zope exception: CannotHaveLinkedBranch: <DistroSeries u\'maverick\'> cannot have linked branches.">')
[04:18] <thumper> smoser: yes
[04:19] <thumper> smoser: poor error message mostly
[04:20] <thumper> smoser: ssh isn't a package name
[04:20] <thumper> smoser: try openssh
[04:20] <thumper> https://code.edge.launchpad.net/ubuntu/maverick/+source/openssh
[04:21] <smoser> pfft.
[04:21] <smoser> luser error
[04:21] <smoser> sorry. thanks.
[04:47] <poolie> thumper: hi there
[04:47] <thumper> hi poolie
[04:48] <poolie> thumper: not immediately obvious to me
[04:49] <thumper> :(
[06:16] <jeremyw> Anyone having issues with the bzr branch on launchpad?  I get to 14440k and it stops, every time.
[06:42] <sladen> probably being stupid, but what's the equivalent to  git am?  (There are lots of ways to /export/ patches as emails, but no obvious way I can see to import them with dates/headers automatically)
[06:50] <jeremyw> Is there a way to use the bzr source tree as a bzr installation without installing?
[06:51] <jeremyw> My first thought was to symlink bzrlib into site-packages like I do with mercurial.
[06:51] <jelmer> jeremyw: that should work
[06:51] <dash> jeremyw: if you're going to do that, why not do the regular install step?
[06:52] <jelmer> sladen: "bzr send" can generate bundles that you can "bzr pull" or "bzr merge" like a branch.
[06:52] <jeremyw> dash: Well, I'm trying to just use the bleeding edge so that when my app is done, I can just say that I support the newest version instead of having to stay up to date.
[06:52] <jeremyw> jelmer: I was running into trouble with it previously...I'll try again.
[06:53] <jelmer> jeremyw: what sort of trouble?
[06:53] <jeremyw> Failing to load compiled libs that would halt branching lp:bzr.
[06:54] <jeremyw> Hard stop every time at the same point.
[06:56] <jelmer> jeremyw: none of the compiled modules are required to run bzr
[06:57] <jeremyw> I know but until I did a real install "./setup.py install --home PATH", it would stop at the same place everytime.
[06:57] <jeremyw> I can't explain it but I've been troubled by it for 3 hours.  Only when I tried the full install on a whim did things work.
[06:57] <jeremyw> But that was after my machine crashed the first time because of it, losing about 3-4 hours of work.  :-/
[06:57] <jeremyw> My fault, I know...
[07:14] <jeremyw> I lost my work on making find_touching_revisions() 77% faster.  Eff me.
[07:16] <jeremyw> That was bad math on my part.  It's 3x faster.
[07:26] <sladen> jelmer: thanks.  The "bundles" were coming from git, after git-bzr bzr-git, fast-export/fast-import all failed
[07:26] <sladen> jelmer: however, 'git format-patches -k' was working
[07:28] <jelmer> sladen: hmm - I'd be interested in hearing why bzr-git didn't work
[07:34] <vila> hi all !
[07:34] <jelmer> 'morning Vincent!
[07:35] <vila> jelmer: welcome back in civilized TZ ;-)
[07:37] <jelmer> vila: I don't think there is anything civilized about waking up at 7AM ;-)
[07:37]  * jelmer is still slightly jetlagged
[07:40] <vila> hehe
[07:50] <poolie> hi there vila, jelmer
[07:50] <vila> poolie: one word: http://pypi.python.org/pypi/bzr :)
[08:00] <mtaylor> hey all...
[08:00] <mtaylor> $ bzr push --remember lp:~haildb-core/ubuntu/maverick/haildb/trunk
[08:00] <mtaylor> This transport does not update the working tree of: bzr+ssh://bazaar.launchpad.net/~haildb-core/ubuntu/maverick/haildb/trunk/. See 'bzr help working-trees' for more information.
[08:01] <mtaylor> um - I know that - why is it carping about that?
[08:05] <vila> poolie: can you reproduce bug #651706 or is it sporadic ?
[08:05] <ubot5`> Launchpad bug 651706 in Bazaar ""problem with the SSL CA cert" when running tests from installed 2.2.1 (affected: 1, heat: 6)" [High,Confirmed] https://launchpad.net/bugs/651706
[08:05] <poolie> mtaylor: good question
[08:05] <poolie> i wonder if it thinks that branch has a working tree for some reason
[08:05] <poolie> vila, i don't know yet, i've only tried once, will try again soon
[08:06] <mtaylor> poolie: yeah - it's weird. it doesn't recur, but I had it on one push yesterday too
[08:07] <vila> mtaylor, poolie : Isn't it something that occur when a .bzr dir is left on the server in some corrupted state ?
[08:07] <vila> like while a push is interrupted or aborted ?
[08:08] <mtaylor> vila: ah - that would make sense - I did interrupt a push earlier
[08:08] <vila> mtaylor: IIRC the next push won't complain, but come back if they do
[08:09] <mtaylor> vila: they don't. just wanted to report in case that was something you guys didn't know about
[08:09] <vila> mtaylor: thanks for that !
[08:10] <vila> mtaylor: really appreciated
[08:10] <mtaylor> anytime!
[08:10] <poolie> vila, do you think this issue with svn should block 2.2.1 into maverick?
[08:11] <vila> poolie: the one involving people with 2.2.1 and 2.1.1 ?
[08:12] <maxb> Have we figured out why 2.2.0 is behaving differently to 2.2.1?
[08:12] <vila> Since the bug has been fixed in 2.1.3... there is little we can do if people don't upgrade, so the question is what upgrade paths they can use.
[08:13] <vila> poolie: so my answer to your initial question is: no, this shouldn't block 2.2.1 for maverick
[08:14] <peitschie> poolie: i'm originator of the 2.2.0 => 2.2.1 svn email warning today if thats what you're discussing :)
[08:14] <vila> peitschie: excellent !
[08:15] <vila> peitschie: so, about 2.1.1, what OS is this ?
[08:15] <peitschie> vila: we're running windows boxes with clients at 2.1.1, 2.1.2 & 2.2.0... with a smart server (bzr+ssh) at 2.1.1
[08:16] <peitschie> vila: oh.. the server is debian lenny
[08:16] <peitschie> vila: i'm working with server guys to get that updated to something more recent... potentially bzr 2.2.0... and all the devs will be jumping onto 2.2.1 tonight
[08:17] <vila> peitschie: I'd kindly suggest upgrading your windows boxes to the same 2.2.1...you're typing and acting faster than I type ;)
[08:17] <peitschie> vila: if it's related to https://bugs.launchpad.net/bzr/+bug/485601 or https://bugs.launchpad.net/bzr/+bug/522637  like we suspect, in "theory", reconciling the shared repo and getting all the devs to start clean again should fix it
[08:17] <ubot5`> Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 5)" [Medium,Incomplete]
[08:17] <vila> peitschie: that's the idea yes
[08:17] <peitschie> :)
[08:18] <vila> peitschie: I think spiv would have the definite answer here about which versions are compatible with which, but in this particular case, trying to ensure compatibility between all micro versions....
[08:18] <vila> sounds like a nightmare and a waste of time
[08:18] <peitschie> vila: are there likely to be issues running 2.2.0 on the server and 2.2.1 on the clients?
[08:19] <peitschie> vila: I agree... it's one of those things I should have been more attenative to at the time... unfortunateyl we are just getting people creeping into bzr at the moment.  I was being a little too cautious about changing things that hadn't yet broken :)
[08:19] <vila> AIUI the problem was ghosts coming from bzr-svn no ?
[08:20] <vila> so if you're now using bzr only they shouldn't come back haunting you
[08:20] <peitschie> that'd be nice... we've had a few discussions about that, but unfortunately we have several dev tools (TeamCity, JIRA to name a few) that don't play terribly well with bzr at this point
[08:21] <peitschie> the discussions continue, but this project is a little late already and quite entrenched so I suspect moving to pure bzr may end up impractical... I am trying though :)
[08:21] <vila> ha, so you're still using bzr-svn somewhere ?
[08:22] <peitschie> svn is our main commit point actually :S
[08:22] <vila> in this case, I think only the clients matter anyway
[08:22] <peitschie> to stop the haunting i have a rather strange design setup here
[08:22] <peitschie> basically, devs commit to a shared repository on a network server, and then merge these changes into svntrunk
[08:22] <peitschie> so locally most devs have ghosts all over the place
[08:23] <vila> but if you upgrade the server, stick to our stable releases, that would avoid this kind of weird interactions
[08:23] <peitschie> but the shared repo on the server at least has a complete view
[08:23] <peitschie> vila: is the stable the 2.1.X series?
[08:23] <vila> 2.2
[08:23] <vila> so 2.2.1
[08:23] <peitschie> ahh... awesome
[08:24] <peitschie> I'm getting the server upgraded to 2.2.0 I believe... all clients will be 2.2.X series on fear of me distributing their parts for them :P
[08:25] <vila> poolie: I can reproduce #651706 with 2.2.*0*
[08:26] <peitschie> vila: would there be a significant downside to using 2.2.0 rather than 2.2.1?
[08:26] <vila> peitschie: well, the bug we're talking about has been fixed in 2.2.1 no ? :D
[08:27] <peitschie> vila: assuming we both mean https://bugs.launchpad.net/bzr/+bug/522637 :)... it was in 2.2.0
[08:27] <ubot5`> Launchpad bug 522637 in Launchpad Bazaar Integration "BzrCheckError: Cannot add revision(s) to repository: missing referenced chk root keys (affected: 16, heat: 66)" [Low,Triaged]
[08:27] <vila> ha no ! 2.2.0 already for #522637
[08:27] <vila> peitschie: could type a little bit slower to stop making me look like a monkey ? :D
[08:28] <vila> joke aside, also check the bzr-svn plugin version, but for windows 2.2.1 should be good too
[08:29] <vila> hmm, jelmer wasn't able to reproduce it so I think this means this was a bzr only issue
[08:30] <poolie> vila, that's actually really good you can reproduce it there
[08:30] <poolie> that was going to be my next step
[08:30] <poolie> so we can just say that on 636930
[08:31] <peitschie> vila: heheh... if I type faster doesnt that make me *more* of the code monkey?
[08:31] <vila> peitschie: :D
[08:32] <peitschie> vila: so basically, 2.2.0 should have this fix, and as far as your aware, 2.2.0 in the server should be sufficient (i won't sue you if your wrong btw... just looking for a gut-feeling/opinion :) )
[08:32] <vila> peitschie: exactly
[08:33] <peitschie> vila: much awesomeness! thanks :)
[08:33] <vila> peitschie: thanks for helping sorting this out quickly ;)
[08:34] <peitschie> vila: is it worth me sending around another email with the summary of our discussion here? i.e., the difficulty was caused by inconsistent clients... therefore probably a good idea to either bulk upgrade, or tread carefully?
[08:34] <vila> peitschie: that would be awesome
[08:35] <vila> maxb: this may sounds strange but can a ppa be used for lenny or any debian if we provide the right packages ?
[08:36] <jelmer> vila: no, this isn't possible
[08:36] <vila> darn
[08:37] <vila> jelmer: can you elaborate a bit ? A on-line explanation would be enough :)
[08:38] <jelmer> vila: https://bugs.edge.launchpad.net/soyuz/+bug/188564
[08:38] <ubot5`> Launchpad bug 188564 in Soyuz "Build also packages for Debian in PPA's (affected: 38, heat: 274)" [Low,Triaged]
[08:40] <jelmer> vila: it might be more useful to get newer bzr releases into the Debian backports though, as that would be the first place where debian stable users look
[08:40]  * vila reading the bug comments
[08:41] <vila> Ha, right, build infra
[08:43] <vila> ok, so this is a WIP
[08:47] <vila> mgz: FYI, I'm going to revert from py27 on the babune's maverick slave
[08:52] <peitschie> vila: oh... the bug (#522637) is fixed in the 2.2.0 series... but the 2.2.1 release... so it hasta be 2.2.1 I guess
[08:54] <maxb> vila: Well, I suggested that peitschie use the hardy packages on lenny. As I said in the email, it's a hacky kludge, but in the specific instance of the bzr package for hardy onto lenny, it seems to work
[08:55] <maxb> It's absolutely not something to recommend as a general procedure, though
[08:56] <vila> max, peitschie : sounds like the cheapest alternative for the server admins no
[08:56] <vila> ?
[08:56] <maxb> jelmer: Question for you - how would you feel about uploaded 2.2.1 to sid, as a feeder for backports?
[08:56] <peitschie> sounds like our only option atm really
[08:56] <maxb> vila: cheapest alternative? It's an option which peitschie can use *right* now, if that's what you mean
[08:57] <peitschie> max: are there likely to be issues updating to the official backport when that eventually makes it out?
[08:57] <peitschie> i'm assuming no.. but it doesn't hurt to ask :)
[08:57] <maxb> peitschie: Well, you do have other options: you could install from source, or rebuild the packaged source on debian yourself :-)
[08:57] <maxb> upgrading... let me remind myself of backports versioning scheme.....
[08:57] <peitschie> maxb: i'm assuming that isn't going to be much prettier from the ppa...?
[08:58] <peitschie> worse comes to worse we can purge bzr and install the official one when it hits
[08:58] <vila> peitschie: you're right and lp is wrong: http://paste.ubuntu.com/503077/
[08:59] <peitschie> vila: should I update the bug report at all or just leave things?
[08:59] <maxb> peitschie: ok, so: 1) I expect what hits backports will be an indentical source package, just rebadged with the appropriate version number, so the only difference will be the build environment, and 2) yes the version number should be greater, so apt should just do the right thing
[08:59] <vila> peitschie: you mean marking it as fix released in 2.2.1 ? Refresh the page :)
[09:00] <peitschie> vila: :O... you guys are so speedy here!
[09:00] <peitschie> maxb: that sounds good.  thanks for checking that for me :)
[09:00]  * vila try to type faster :)
[09:01] <jelmer> maxb: That doesn't work, backports have to be created from packages in testing and we won't be able to do a new upload that will end up in testing.
[09:02] <jelmer> maxb: see the backports FAQ
[09:02] <vila> poolie: can't reproduce bug #651706 on maverick 8-)
[09:02] <ubot5`> Launchpad bug 651706 in Bazaar ""problem with the SSL CA cert" when running tests from installed 2.2.1 (affected: 1, heat: 6)" [High,In progress] https://launchpad.net/bugs/651706
[09:02]  * vila tries harder
[09:02] <poolie> vila, i thought you just said you could?
[09:02] <poolie> or you can't reproduce it in a source tree?
[09:03] <vila> I can reproduce with 2.2.0 system install, I can't with 2.2.1 from sources, but both mention leaking tests...
[09:04] <vila> ... which I could very easily be persuaded that they are the cause of the transient failure
[09:05] <vila> I'll try again with the stable ppa installed
[09:05] <maxb> jelmer: There was mention of it being occasionally acceptable to backport from unstable, I was hoping we could convince people that it was a sensible thing to do
[09:06] <jelmer> maxb: afaik that only applies to things like security uploads
[09:12] <vila> poolie: wow, reproduced when running from the ppa version 8-/ That would make the debugging interesting...
[09:13] <vila> hmm, could that be the test ssl certs not installed correctly...
[09:15] <poolie> i suspect it's something like that
[09:16] <poolie> maybe ownership or permissions?
[09:16] <poolie> or not shipped at all?
[09:16] <vila> shipped, permissions look correct
[09:19] <poolie> strace time?
[09:19] <vila> good idea
[09:21] <poolie> maxb: still here?
[09:21] <maxb> hi
[09:31] <vila> poolie: bingo, we don't install ca.crt...
[09:34] <vila> poolie: the fix is a one-liner in setup.py, should I target 2.0 or 2.2 ?
[09:35] <poolie> 2.2, i would say
[09:35] <poolie> but, hang on, do we really need to install a certificate?
[09:35] <poolie> this is a made-up one just for running the tests?
[09:36] <vila> for the test sever yes
[09:37] <poolie> let's make sure it's not installed anywhere someone could mistake it for a real one
[09:37] <vila> We had a fix long ago for this, I don't understand why this file wasn't spotted earlier, I guess the fix itself wasn't properly tested or... unexpectedly succeeded :)
[09:38] <vila> look at /usr/lib/python2.5/dist-packages/bzrlib/tests/ssl_certs
[09:38] <vila> there is a create_ssls.py there that should make it clear enough
[09:39] <vila> and the script defines... a rather fictional locality and country code, etc
[09:40] <vila> even if someone pick it up I strongly doubt it will be able to certify anything dangerous
[09:55] <vila> poolie: https://code.edge.launchpad.net/~vila/bzr/651706-test-ca-crt/+merge/37109
[09:55] <vila> go lp go, update this diff ;)
[09:59] <bialix> GaryvdM: it seems we should made release of qbzr 0.20b1 for bzr 2.3b1, shouldn't we?
[10:00] <vila> bialix: as long as you release 0.20 for 2.3.0
[10:00] <vila> bialix: I don't think you strictly *need* to release it, but that will be good
[10:01] <bialix> vila: qbzr has switched to the 1 major release per 1 major bzr release
[10:01] <bialix> we did 0.14 exclusively for 2.2
[10:01] <bialix> we did 0.18 exlusively for 2.1
[10:01] <bialix> we did 0.14 exclusively for 2.0
[10:01] <bialix> we did 0.19 exclusively for 2.2
[10:01] <bialix> and 0.20 will be exclusive for 2.3
[10:01] <vila> you just *rock* :)
[10:02] <bialix> vila: this is not the first time you asking this
[10:02] <vila> blame Alzheimer :)
[10:02] <bialix> nooo
[10:02] <bialix> :-)
[10:02] <vila> bialix: who are you ?
[10:03] <bialix> man with a headache?
[10:03] <bialix> I said something bad/wrong/weird again?
[10:03] <bialix> sorry
[10:03] <vila> bialix: ideally qbzr, like all plugins that are shipped with stable bzr releases should also define stable series, no ?
[10:03] <vila> ;)
[10:04]  * poolie looks
[10:04] <bialix> what it means: should also define stable series
[10:04] <vila> bialix: exactly what you listed above :)
[10:04] <bialix> where I should list them?
[10:04] <bialix> wiki will be OK?
[10:05] <vila> lp:qbzr home page even
[10:05] <bialix> it makes sense
[10:05] <bialix> should do
[10:14] <poolie> vila, your patch looks good to me
[10:14] <vila> poolie: thks, already sent to pqm ;)
[10:15] <vila> poolie: sry, I should have said it earlier
[10:15] <poolie> np
[10:21] <GaryvdM> Hi all
[10:21]  * GaryvdM was afk, reading back
[10:22]  * bialix waves at Gary
[10:22]  * bialix wait a minute and waves again
[10:22] <GaryvdM> Hi bialix
[10:23] <vila> GaryvdM: \o_ _o_ _o/ \o/
[10:24] <bialix> round dance
[10:24] <bialix> dance vila dance
[10:24] <poolie> hi gary, bialix
[10:25]  * vila pumps the volume.... oh wait, no music here ;)
[10:25] <GaryvdM> So for 2.3b1, I included tip versions of most plugins
[10:25] <vila> pumps *up* grr
[10:25] <GaryvdM> including qbzr
[10:25] <bialix> hi poolie!
[10:26]  * GaryvdM -> afk
[10:26] <vila> GaryvdM: which is a good way to make people release official versions :) I fully agree with the idea, but will it work ?
[10:26] <bialix> GaryvdM: the last bug report about QBzrGlobalConfig said user has 0.19
[10:32] <poolie> that's all for me, good night
[10:33] <vila> poolie: g'night !
[10:35] <vila> poolie: try to give the orphans some love tomorrow ;)
[10:35] <peitschie> wow... it is that time... i'm off too
[10:35] <peitschie> thanks for all ur help vila... was very much appreciated
[10:35] <peitschie> hope ur day/night/afternoon/thing goes well :)
[10:35] <GaryvdM> bialix: so the have bzr.dev/2.3b1 with qbzr 0.19 - they should just upgrade qbzr
[10:36] <vila> peitschie: np, your clear reports were also much appreciated !
[10:38] <GaryvdM> bialix: and i think that we should mark the next releases of qbzr 0.18 and 0.19 as incompatible with bzr 2.3
[10:40] <bialix> GaryvdM: fine with me
[10:40] <GaryvdM> bialix: the fix was quite a big change, so I'm in 2 minds about backporting.
[10:41] <bialix> GaryvdM: backporting what?
[10:41] <GaryvdM> bialix: the config fix
[10:42] <bialix> is it only required for 2.2?
[10:43] <GaryvdM> bialix: It is required for bzr 2.3
[10:43] <bialix> yep, sorry
[10:44] <bialix> I don't mind to leve it unfixed in 0.19
[10:44] <GaryvdM> we were using a _method which got removed
[10:46] <bialix> so that's our problem
[10:47] <GaryvdM> yes
[10:53] <vila> bialix, GaryvdM: Excuse my Alzheimer but which python version is used in the 2.2 and 2.3 installers ?
[10:53] <bialix> 2.6
[10:53] <bialix> hate it
[10:57] <vila> thx
[11:07] <GaryvdM> bialix: I'm hoping to land lp:~garyvdm/qbzr/log_refactor/ soon
[11:07] <bialix> cool
[11:08] <GaryvdM> I'm dogfooding, need to fix some last bugs.
[11:09] <GaryvdM> It's allready in the threads branch, and working well there.
[11:10]  * GaryvdM -> lunch
[15:09] <Glenjamin> I don't suppose anyone's ever deployed the http bazaar smart server wsgi app on gunicorn and proxied through to it?
[15:52]  * jeremyw goes back to finding the last changed revision of a file...
[17:22] <awilkins> Ooooh. Bazaar job.
[17:22] <awilkins> Anyone have an idea what the payscale is :-)
[17:26] <cody-somerville> awilkins, if its a Canonical gig, you normally negotiate your salary
[17:27] <awilkins> Scary
[17:27] <awilkins> Would be sweet to work on something useful though :-)
[17:38] <tsmith> Hi. I have suffered a tremendous security breach due to BZR and would like to know how to prevent it in the future.
[17:38] <rubbs> may I ask what the breach was?
[17:39] <tsmith> Well, it could be *really* bad. Fortunately, only a low-grade site was compromised.
[17:40] <tsmith> I run (among many other things) a PHP course and detected a security breach on the URL for the third session's final exam.
[17:40] <tsmith> Basically, someone bzr branch http://mywebsite/final_exam, and it worked, and they ended up with all the (supposed to be secret!) source code.
[17:40] <tsmith> Since this is basically *impossible* w/ SVN and CVS, I didn't realize BZR allowed this, and I have to know how to stop this for every one of my sites.
[17:40] <Kinnison> So the security breach was that you published the branch on a public website?
[17:41] <vila> tsmith: lp:bzr-upload
[17:41] <tsmith> well my deployment practices have not changed from svn to bzr, so obviously I accept responsibility.  I just want to know what is the proper way to deploy to production?
[17:41] <Kinnison> Personally I use bzr export
[17:41] <Kinnison> and then rsync
[17:42] <Kinnison> but as vila suggests, there's a bzr-upload plugin too
[17:42] <vila> Kinnison: which is what bzr-upload aims to reproduce ;)
[17:42] <Kinnison> aah, handy-dandy
[17:42]  * Kinnison shall add that to his list of things to think about when he has time
[17:43] <Kinnison> tsmith: another good idea is to put a .htaccess in place which denies access to .bzr
[17:43] <vila> relying on bzr to calculate which files should be uploaded/deleted/renamed
[17:43] <Kinnison> that way even if you forget, it will keep you safe
[17:43] <tsmith> villa: what is the difference between upload and export?
[17:44] <vila> tsmith: export is one-short, upload is incremental (well, it won't patch your files, it needs to upload them again)
[17:44] <vila> one-shot :)
[17:44] <tsmith> So export uploads *everything* but upload is more like rsync
[17:44] <vila> right
[17:44] <tsmith> ok that's exactly what i need
[17:44] <tsmith> thank you very much kind sir
[17:45] <vila> you're very welcome
[17:45] <Kinnison> Oh, tsmith, welcome to bzr.  It may confuse you at first, but you'll never want to go back in the end :-)
[17:45] <tsmith> Kinnison, thanks, but I've been using it since the 0.5 days ;-)
[17:46] <vila> tsmith: wow, you beat me ! I think I started in the 0.7 days ;)
[17:46] <awilkins> tsmith, And take comfort from the fact that I've clipped that IRC log for an internal training course :-)
[17:46] <tsmith> an internal training course on how to avoid loss of source? :)
[17:47] <awilkins> I'm talking about general VCS and specific issues migrating to DVCS
[17:47] <tsmith> awilkins, ok, cuz I had no idea this **could** happen.
[17:48] <tsmith> i use bzr+ssh:// for everything
[17:48] <tsmith> i am pretty sure i'm not the only one, too
[17:48] <tsmith> bzr: ERROR: Invalid http response for http://repo.phpexperts.pro/driving_app/.bzr/branch-format: Unable to handle http code 500: Internal Server Error
[17:48] <vila> tsmith: yup, that was one of the reasons to write bzr-upload in the first place
[17:48] <tsmith> <-- success
[17:48] <vila> geez, that was fast !
[17:49] <vila> tsmith: 7 minutes between answer and tested deployment 8-)
[17:50] <tsmith> well i already implemented upload on incendiary.ws
[17:50] <tsmith> bzr branch http://www.incendiary.ws/ if you want to help me QA
[17:50] <tsmith> lol
[17:50] <tsmith> and the site still seems to live
[17:50] <tsmith> ok cheers, guys
[18:34] <mgz> vila: thanks for the heads up on babune maverick change
[18:34] <mgz> right thing as we're approaching 10-10-10, and I think I have a handle on the remaining python 2.7 issues
[18:34] <mgz> (though I need to file bugs on a few still)
[18:40] <exarkun> What are my options if I have a branch with private stuff in it that I want to make public?
[18:41] <mgz> probably the import/export thing to make a new history
[18:45] <exarkun> By "new history" you mean a history beginning after all the current history?
[18:46] <mgz> well, presuming the private stuff you don't want to make public was there to start with, I mean a completely recreated history with that ommitted
[18:46] <dash> exarkun: it's pretty hard to publish a branch without publishing all the revisions in it, AFAIK.
[18:47] <mgz> see the bzr-fastimport plugin and using that to filter out certain things.
[18:47] <exarkun> mgz: I don't see how export/import would recreate the history.  It looks like it just bundles up a particular revision into an archive.
[18:47] <mgz> 'export' was confusing, forget I used that word.
[18:47] <exarkun> ah, ok
[18:49] <exarkun> The other half of the question, I guess, is where people keep their private stuff.  In a separate branch that's not published?
[18:50] <mgz> depends what you mean by private I guess, if it's code, then yeah. config stuff is often just in the tree but unversioned
[18:51] <exarkun> in this case it's python source, but it's really configuration.
[18:51] <exarkun> Hm, maybe I should make someone implement X509 based authentication
[18:52] <exarkun> Then it wouldn't actually need to be private, I think
[18:57] <mgz> yeah, making it not need to be private would be the best thing, if it's practival
[19:28] <vila> mgz: exactly (about maverick). python-2.7 seems to have survived to the operation though, I don't where I got the idea that it was installed by default, in fact I had a symlink in ~/bin, so it's still possible to use python2.7 explicitly for focused tests
[19:29] <mgz> vila: do you know if Gary or Alexander are working on bug 632465 or should I fix it tonight?
[19:29] <ubot5`> Launchpad bug 632465 in Bazaar Windows Installers "bzr.exe tried to use the system msvcrt90.dll from system32, not the bundled one (affected: 2, heat: 16)" [Critical,Confirmed] https://launchpad.net/bugs/632465
[19:29] <vila> mgz: no idea, sry :-/
[19:30] <vila> mgz: but bialix mentioned a workaround right ?
[19:30] <vila> There is something more... but I don't remember what
[20:46] <mtaylor> hey lovely people...
[20:46] <mtaylor> ValueError: We are missing inventories for revisions: [StaticTuple('jaypipes@gmail.com-20100924204917-evjhm0hc7s5t25ol',)]
[20:46] <mtaylor> I'm getting a fail when I'm trying to commit to a lightweight checkout ^^
[21:31] <rockstar> jam, mtaylor is having issues with a lightweight checkout and the remote repository, but I don't know how to help him debug.
[21:40] <GaryvdM> mtaylor: Please could you pastebin the traceback. I don't think I can help, I'd like to learn more, and having the traceback will tell me what to read.
[21:40] <mgz> argh, buildout is massive bullshit
[21:41] <mgz> GaryvdM, are you looking at the manifest thing? because I've not even got as far as getting buildout past the "download stuff" stage yet
[21:43] <jeremyw> jam: I don't care what everyone else says about you.  You're a gentleman and a scholar.
[21:43] <GaryvdM> mgz: I'm not, cause I don't know where to start.
[21:43] <mgz> okay, well, I'm pretty sure I can fix it easily, but I hate build stuff and am failing to actually get to step 0: get installer built
[21:43] <mtaylor> GaryvdM: yes! .. one sec
[21:45] <mgz> buildout is currently managing to break my bzr installation by somehow intruding it's bullshit isolation across to the subprocess
[21:45] <GaryvdM> mgz: please pastebin buildout error. I may be able to help.
[21:45] <mgz> and actually debuging anything is a pain because everything's in zips that always get redownloaded
[21:47] <mgz> the error is trivial, gf.recipe.bzr tries to run `bzr get ...` and buildout has screwed with the environment so that it can't find bzrlib
[21:47] <mtaylor> GaryvdM: http://paste.openstack.org/show/36/
[21:47] <mtaylor> jam: ^^^
[21:47] <mgz> I could work around by sticking an installered bzr.exe on the path, but this is dumbness I want fixed
[21:49] <GaryvdM> mgz: That's the setup on the build host.
[21:49] <GaryvdM> mtaylor: Thanks.
[21:49] <mgz> right, there are probably a selection of things that happen to work with how the build host is setup but not on my machine
[21:49] <mgz> I've avoided a few already.
[21:51] <mgz> and the buildout docs suck, of course.
[21:51] <mgz> when is this ever not true.
[21:54] <GaryvdM> mtaylor: That is happening in autopack. I wonder if the same happens on a manual bzr pack ?
[21:59] <mtaylor> GaryvdM: can I run that?
[21:59] <mtaylor> GaryvdM: trying
[22:01] <GaryvdM> mtaylor: yes
[22:08] <mtaylor> GaryvdM: bzr pack seems to have fixed the tree
[22:08] <mtaylor> rockstar: ^^
[22:08] <rockstar> mtaylor, hooray!
[22:10] <jeremyw> Anyone that was following my work yesterday to get the last changed revisions for a directory of files: http://paste.ubuntu.com/503509/
[22:10] <jeremyw> Check those numbers out.
[22:10] <jeremyw> Thanks to jam I was able to identify the approach that yielded the best results.  :)
[22:11] <GaryvdM> mtaylor:  hmm - If autopack failed, and pack passed, that's a bug in autopack then.
[22:11] <rockstar> jeremiah, nice.
[22:11] <mtaylor> GaryvdM: w00t! I'm helpful
[22:11] <rockstar> Er, jeremyw... ^^
[22:11] <jeremyw> Going from 115s to 0.8s...wow.
[22:12] <jeremyw> And that's without bzr-history-db.  ;)
[22:13] <GaryvdM> mtaylor: I think we should try log a bug.
[22:14] <jeremyw> Using find_touching_revisions() going backwards, insted of 1...N, would produce a time ~30s.  I don't have that metric in here.
[22:15] <mtaylor> GaryvdM: agree
[22:15] <GaryvdM> mtaylor: I think it's bug 437003
[22:15] <ubot5`> Launchpad bug 437003 in Bazaar 2.0 "Failure to autopack because of 'missing inventories' (affected: 4, heat: 15)" [High,Confirmed] https://launchpad.net/bugs/437003
[22:18] <GaryvdM> jeremyw: May I ask what are you building?
[22:19] <jeremyw> A rocketship powered by the heat generated by producing a rev_id to mainline_rev_id map.
[22:19] <jeremyw> ;)
[22:19] <jeremyw> This code is for a repository browser.
[22:19] <mtaylor> GaryvdM: yes. I agree with you
[22:22] <GaryvdM> jeremyw: Ah.  For web, gui, or cli?
[22:23] <jeremyw> Web UI
[22:24] <GaryvdM> jeremyw: Ah cool.
[22:26] <GaryvdM> jeremyw: KnownGraph rocks...
[22:26] <GaryvdM> so dose jam!
[22:27] <GaryvdM> *does
[22:28] <jeremyw> The KnownGraph is great but when merge_sorted(), it's a freak of nature.
[22:46]  * jeremyw feels his bzrlib kung fu getting stronger...
[22:51] <mgz> is this really true? bzr-windows-installers requires gnu make... just to build windows html help... and there are batch scripts in the bzr tree it could be using anyway
[22:53] <jeremyw> Ouch.
[22:54] <jeremyw> How's the Bazaar installer for OS X?
[22:56] <mgz> that's handled somewhere else entirely I think, you'd need to ask Gordon Tyler
[22:58] <jeremyw> Cool.
[22:58] <jeremyw> Just figured I'd ask while we were on the subject of installers.
[23:55] <poolie> hi all
[23:55] <FryGuy_> is there any way to do a reverse merge? currently i'm in a checkout of a branch, but I want to switch to another branch, and merge the first branch into the branch I'm going to. If I do a switch then merge it's going to complain about having to delete folders that have temporary files in it, when they're just going to be created again
[23:57] <poolie> FryGuy_: not quite
[23:57] <thumper> poolie: hi
[23:57] <poolie> you could delete the temporary files with clean-tree
[23:57] <poolie> or make another checkout
[23:57] <FryGuy_> ya, i was figuring that's the case
[23:57] <thumper> poolie: I have a local example of the unstacking failure
[23:57] <thumper> poolie: but it is about 10 meg
[23:57] <FryGuy_> i don't want to have to rebuild the source though, which is why i didn't do it that way
[23:57] <thumper> poolie: where do you want it?
[23:58] <FryGuy_> and checkout takes like 5 minutes to get all the source :(
[23:58] <poolie> thumper: make a bug and attach a url
[23:58] <poolie> maybe you should branch locally?
[23:58] <FryGuy_> it is local
[23:58] <thumper> poolie: do you want the branches tarred up and put in the librarian or people.c.c
[23:58] <FryGuy_> it's like 500 megs
[23:58] <poolie> people.c.c
[23:58] <FryGuy_> and my hard drive is slow
[23:58] <poolie> ok
[23:59] <poolie> it would be nice to add an option to merge in reverse order
[23:59] <FryGuy_> a merge --switch option?
[23:59] <poolie> hi jam?
[23:59] <poolie> something like that