[00:13] hm [00:14] why are the only calls to bzrdir.clone() with preserve_stacking=True in the branch_implementations tests? [00:14] hm [00:14] i guess a branch is certainly involved if there is stacking going on [00:19] mwhudson: push --stacked uses clone, no ? [00:19] lifeless: i guess i should have inserted the word 'direct' into my sentence somewhere [00:19] "Lightweight checkout (format: dirstate or dirstate-tags or pack-0.92 or rich-root or rich-root-pack)" :) [00:20] spiv: and the format is actually development1 ? [00:20] mwhudson: no, it actually is one of those [00:20] ok [00:20] spiv: https://bugs.edge.launchpad.net/bzr/+bug/250422 [00:20] Launchpad bug 250422 in bzr "pushing over hpss ignores stacking policy" [Undecided,New] [00:20] spiv: instant thoughts? [00:24] mwhudson: "that sounds like a bug" [00:24] spiv: i'm glad you think so [00:24] mwhudson: A -Dhpss trace might be interesting. [00:25] mwhudson: a wild guess is that RemoteRepository doesn't look at the stacking policy? [00:26] I din't want to invent ftp [00:26] so the client is meant to resolve $shit [00:27] spiv: the problem is that i don't know which piece is _supposed_ to look at the stacking policy [00:27] i guess i should read through cmd_push [00:33] so I'm thinking for marks [00:39] mwhudson: me either :) [00:41] hmmmm [00:44] spiv: the problem seems like it might be RemoteBzrDir.get_config not doing the right thing [00:49] mwhudson: I can certainly believe that. [00:49] spiv: i commented on the report [00:50] mwhudson: if you implement a "def get_config(self): self._ensure_real(); return self._real_bzrdir.get_config()" does that fix it? [00:50] spiv: let's find out [00:51] spiv: no [00:52] though, um [00:52] spiv: if you add it to the right class, yes, that seems to help [00:52] :) [00:54] mwhudson: that's good to know. Send a patch to the list :) [00:54] spiv: where should a test go? [00:56] er [00:56] config = my_dir.get_config() [00:56] if config is None: [00:56] self.assertFalse(isinstance(my_dir, bzrdir.BzrDirMeta1)) [00:56] raise TestNotApplicable( [00:56] 'This BzrDir format does not support configs.') [00:56] * mwhudson objects, furiously [00:56] IsNotInstance ? [00:56] hmm, I want a composer [00:57] lifeless: I suggest Bach [00:57] EDEAD [00:58] in this regard, I'm a vitalist [00:59] so what are BzrDirFormat5 and BzrDirFormat6 ? [00:59] bzr 0.5 and 0.6 [00:59] they are all-in-one formats [01:01] so caring about them is not at all encouraged? [01:01] we upgrade from them [01:02] but clearly they cannot support stacks because their repository is not modular - you can't change the repository logic without stopping it being a bzrdirformat5 or whatever [01:04] ok cool [01:05] that test wants a whitelist not a blacklist because of e.g. bzr-svn etc [01:05] its an /interface/ test not an implementation test. [01:08] hi :-) [01:08] lifeless: whitelist as in "these formats are allowed to not do get_config" ? [01:09] 09:56 < mwhudson> self.assertFalse(isinstance(my_dir, bzrdir.BzrDirMeta1)) [01:09] thats a whitelist [01:09] these formats are required to do it [01:09] oh, ok [01:09] ppires: hi [01:10] mwhudson: installing bzr-svn won't magically change a static list like that, and it doesn't have a full plain text format [01:10] lifeless: right, fair enough [01:10] do i need bzr installed in order to use something like bzr-eclipse plug-in? [01:11] ppires: yes [01:11] ppires: there is a faq for installing bzr-eclipse [01:12] yes there is lifeless, but as i'm having some issues with the plug-in itself just wanted to double check. thanks [01:12] Verterok: ^ [01:12] Verterok is the author [01:12] lifeless: it wasn' [01:13] t immediately clear to me that bzr-svn's bzrdir should return None from get_config as opposed to a config that had no values set [01:13] mwhudson: I don't actually know what it does offhand :P [01:13] though i guess set_default_stacked_on is part of the config interface... [01:17] lifeless: it returns an object that converts some svn file properties to bzr settings [01:17] is it a known bug that merging a bundle based on a revision you don't have causes a traceback (couldn't find it on lp but want to double check). [01:17] in particular the mergeWithUpstream property used by svn-buildpackage, which is convert to the equivalent for bzr-builddeb [01:18] hmm [01:18] * mwhudson appears to be unable to drive send [01:18] mwhudson: why does that matter? [01:18] bzr send -o- produces something reasonable [01:19] but 'bzr send' doesn't attach anything to the mail [01:19] lifeless: thanks [01:19] jelmer: because of the way the test for bzrdir.get_config() is written [01:20] ppires: if you have any issues with the plugin, maybe I can help [01:21] Verterok: I demoed bzr-eclipse at lugradio live too FWIW [01:21] ppires: also I'm going to release a new build in the next few days (hope I can get it for tomorrow) [01:21] lifeless: yay! :) [01:22] hi Verterok i'm here looking how to install plug-ins. http://bazaar-vcs.org/UsingPlugins is not very clear about it [01:22] i mean, they talk about folders, but not how to install them. should they be compiled somehow? [01:23] ppires: which OS? [01:23] http://bazaar-vcs.org/XMLOutput only offers the source-code. [01:23] Linux, Ubuntu 8.04 to be more precise [01:24] ppires: bzr branch lp:bzr-xmloutput/0.4 $HOME/.bazaar/plugins/xmloutput [01:24] ppires: that should do the trick :) [01:24] is there a convention for including bug numbers in merge requests? [01:24] ppires: or you could do a checkout: bzr co lp:bzr-xmloutput/0.4 $HOME/.bazaar/plugins/xmloutput [01:25] lp is a shortcut to launchpad? [01:26] Yep. [01:26] cool! [01:26] bye guys [01:27] Verterok: i'm using eclipse ganymede (3.4) and bzreclipse leaves some "unable to staisfy dependency" in the Error log [01:28] morning [01:28] ppires: I'm not sure if it works with 3.4, let me check (I'm still with 3.3) [01:29] mornin' igc [01:29] hi Verterok [01:30] i cannot reach "Console" and "Decorators" tabs. eclipse complains about invalid values [01:30] bye lifeless and thanks [01:31] morning igc [01:31] ppires: you must configure the location of the bzr executable [01:32] ppires: in the "Bazaar" pref. page [01:32] * Verterok launching Eclipse 3.4 [01:32] spiv: sent to the list [01:40] ppires: I can't even start 3.4 :( (I think I should download the final release :P ) [01:40] you were right Verterok [01:41] ppires: it's working? if not, could you pastebin the error? [01:41] eheh, i'm running the latest stable release [01:42] Verterok: this is a lamme question, but are Decorators the ability to mark graphically resources like files? [01:42] and folders.. [01:43] mwhudson: thanks [01:43] ppires: yes, to show the status of the file/folder/project [01:44] ok, i answered this one and i was in doubt. https://bugs.launchpad.net/bzr-eclipse/+bug/160907 [01:44] Launchpad bug 160907 in bzr-eclipse "When creating new classes in Eclipse it would be nice if they were automatically added to bazaar" [Undecided,Incomplete] [01:45] wow cool bot! [01:46] ppires: right, the files/folders are flagged with the db-like orange icon (like in the CVS plugin) [01:47] never used cvs. anyway, Verterok does this plug-in support bzr+ssh? [01:48] ppires: it should, because it uses bzr to execute the commands [01:49] i'm not used to bzr that's why this may sound a bit confusing to me. [01:49] ppires: be carefull with the authentication, check Bug #121936 [01:49] Launchpad bug 121936 in bzr-eclipse "Eclipse hangs in bazaar operations that require user input" [High,Triaged] https://launchpad.net/bugs/121936 [01:52] ic, tks! [01:52] ppires: for workaround until I fix it, look the Authentication section in http://bazaar-vcs.org/BzrEclipse/Installation [01:52] now i'm going for bed. work tomorrow. tks a lot Verterok! i'll keep in touch ;-) [01:53] ppires: np, sleep well, see y'later [01:54] * Verterok running out of battery, be back in while [01:56] * mwhudson lunches [02:02] * beuno dinners [02:03] + [02:08] * emgent thinking to sleep. [02:40] this is a little surprising: http://pastebin.ubuntu.com/29167/ [02:58] * mwhudson digs [04:28] * spiv -> lunch [05:00] * mwhudson is probably done pelting the bazaar list with merge requests now === beuno_ is now known as beuno [05:47] huh how bizaare [05:48] beuno: still here? [05:48] mwhudson, yeap [05:48] despite my ISPs attempt to make me got to sleep [05:48] i have this pair of branches where merging a into b gives 'nothing to do' and merging b into a gives conflicts [05:48] wtf?? === sdboyer is now known as menu_system === menu_system is now known as sdboyer [05:55] what now?? http://pastebin.ubuntu.com/29210/ [05:56] what now?? http://pastebin.ubuntu.com/29210/ === beuno_ is now known as beuno [06:15] mwhudson: that's an unexpected traceback. [06:15] yeah [06:15] It makes about as little sense to me as it does you : [06:15] :) [06:16] it happens with the installed 1.6b3, not bzr.dev [06:16] i guess it's a circular import [06:17] and one of my plugins happens to import branch earlier or something [06:17] spiv: does it happen for you? [06:17] it's very quick, obviously, before even the check that '.' is a branch [06:18] mwhudson: nope, but I only have bzr.dev [06:19] fair enough [06:41] * mwhudson corrects the mail he's about to send from going to Martin Pool to going to Martin Albisetti [06:41] one of you guys has to change his name, i think [06:56] mwhudson: put forward the request in #canonical-sa's? [06:57] spm: maybe [07:02] jelmer_: https://bugs.launchpad.net/bzr-svn/+bug/250706 [07:02] Launchpad bug 250706 in bzr-svn "branching locally tries to reach forward svn server" [Undecided,New] [07:33] I want a programming language / refactoring tool / editor / vcs that understands itself. [07:33] and a pony. [07:35] A self-aware pony? [07:36] maybe. [07:37] It's hard to say. I so rarely use ponies to make changes to things. [07:38] jml: i'm sure you can still get a LispM from somewhere [07:39] mwhudson: do you reckon they'd integrate with my freerunner? [07:39] jml: they would probably destroy it quite thoroughly if they fell on it [07:39] haha [07:39] freedom prevails. [07:40] my word, you can still buy genera [07:42] or pirate it, apparently: http://www.advogato.org/person/johnw/diary/12.html [07:52] * mwhudson wallows in computing nostalgia [07:53] mwhudson: heh [07:54] on http://en.wikipedia.org/wiki/HyperCard now [07:54] mwhudson: so, the thing that provoked this outburst of mine was thinking that I was saying "extract method foo from bar" twice: once in emacs and once in my bzr log [07:54] jml: someone has been talking about this sort of thing on the rope-dev mailing list recently i think [07:55] mwhudson: glyph mentions this sort of thing from time to time. [07:55] oh wow. rope isn't brm. [07:56] but he's not been being very clear and i haven't put the effort in to really understand what he's on about [07:56] *nod* [07:56] yeah, rope looks a little interesting [07:56] but, sigh, time [07:56] wonder what "Mercurial, GIT and SVN (pysvn library) support in refactorings" means [07:57] also i entirely failed to get ropemacs to work at all last time i used it === doko_ is now known as doko [09:58] jelmer_: for the auth problem, somehow some branch.conf werent wearing the good url, fixing it fixes auth cache. [09:59] jelmer_: can we use svn urls and rely on svn cache, without having to put url with creds inside ? [09:59] jelmer_: i mean urls in the branch.conf [10:23] night [10:25] Good night. [10:45] Changing an unlocked branch through bzrlib doesn't set a lock right? (for example branch.set_push_location(location)). I wonder how bzr-gtk should behave regarding setting and releasing locks on branches. I assume you only read_lock when it takes a little while to read out all the stuff you need and want a consistent set and set a write_lock if you want change stuff that takes a little while, while changing small bits like the mentioned set_defa [10:45] ult_location() don't need a lock? [10:46] * the mentioned set_push_location() [11:06] Bazaar takes out a write lock for a moment when it renames a modified pack-names into place. It's the right thing to do. [11:21] but fully handled by bzrlib.. I guess bzr-gtk has to be checked that in all cases a lock is set it is released asap. [11:22] * Peng_ shrugs. [11:22] I think many operations take out locks themselves and some require you to do it, but I don't know. [11:28] Does Bazaar have something like Git's merge diff view? [11:32] what is special about gits merge diff view o_O [11:32] i've never seen it [11:32] it shouws two columns of ++'s [11:39] as with http://ss.frim.nl/==814 for example [11:41] no idea personally [11:41] is that a gitk feature, or a git feature? [11:41] (can i do it in a shell) [11:41] git feature [11:42] gitk just adds some colors [11:42] is that the same as "git diff --cc" ? [11:44] more like -c, I think [11:44] but it's the same as "git show " [11:44] I don't think we have that, would you care to file a bug? [11:45] I think it would be good to have for those that want it. [11:45] sure [11:46] and if you can explain the use case, rather than just saying that we should clone the git feature that would be appreciated. [11:46] igc: your merge seems fine, and git-bzr still works as first :) [11:47] Pieter: ok, thanks for the test [11:49] there is merge --preview, is that anything like the git feature? [11:50] I don't know.. can I use it on an existing merge? [11:51] mwhudson: I don't think so. [11:51] ok [11:52] I think the git feature allows you to attribute changes to each side of the merge. [11:52] night all [11:52] night igc [12:06] james_w: #250783 [12:06] thanks [12:24] is anyone familiar enough with http://research.operationaldynamics.com/blogs/andrew/software/version-control/bzr-orthogonal-patches.html to answer a couple of questions related to it? === mark1 is now known as markh [12:24] Moin. [12:31] markh: Possibly. What are the questions? :) [12:32] the article mentioned keeping the revision history for the underlying changes as a motivation - but once you get to the end of his article (ie, after the final commit), a "bzr log --long" only shows a single revision for the merge - not the smaller revisions that you merged from the initial tree. [12:32] so the question is "what am I missing?" :) [12:33] so the "bundle" and everything else described works as advertised - but the point about the revision history isn't mentioned after the introduction [12:37] actually, I think I know... [12:37] I did "bzr merge ..\orig_branch\filename.py" [12:37] I imagine I needed to do lots of individual "merge -r ..." commands to get what I was after [12:38] manually extract them from the log I guess... [12:39] So I'm not really familiar enough with the article to help after all. But you probably do want several 'merge -r's rather than a 'merge '. [12:44] kiorky: bzr-svn already uses the svn cache but it doesn't write to it [12:46] actually, it appears I'm missing the point :) The conclusion says "Contributors meanwhile can create all the private revisions they ever wanted, and don’t have to forecast which are going to be publicly visible and which aren’t. So they can leave off worrying about a proper commit messages, etc, until they actually go to create and submit an orthogonal patch." [12:48] ok, I see where I got confused now :) The person putting the patch together makes the commits, then sends them upstream - but its still only those explicitly committed in the patch creation process that are included, not all the original checkins that went towards it. [12:49] (Off-topic) This is odd. markh's second-to-last line wraps to three lines, and on the second one, a bit of the blank space just shows whatever was last on the screen. Another blank spot doesn't. [12:50] I generally try to keep my branches focused so I don't have to try and reverse engineer a single branch into feature branches [12:51] if they are orthogonal, then I can usually work on them independently. If they are not orthogonal, then the loom plugin can help. [12:51] oh hey, loom, I forgot that as a solution. [12:51] yeah, but often working towards one feature means editing 4 files - which logically break down as 2 patches for review [12:52] then you have 1 tree, with 4 files with mixed up checkins. Its seems very hard to create a bundle from just 2 of those files for review [12:52] if you do have a single branch and the changes you want to separate are related the loom plugin can still be useful [12:52] a patch is obviously fine, but a bundle seems hard [12:52] yeah - I'm not familiar with loom yet :( [12:53] start with two threads: the upstream trunk and your combined branch [12:53] create a thread in between them for the first change, moving the relevant work down from the top thread [12:53] then merge up again (which should be a null merge due to the changes already being present) [12:53] repeat until you're finished and discard the top thread [12:54] thanks for the tip! I'll have a read up on it... [12:56] markh: Shelve from bzrtools would also allow you to do something like this (shelve one reviewable set of changes, commit, unshelve, commit). === serg_ is now known as serg [13:02] Odd_Bloke: thanks, but I think that might be slightly different - each of the files had already been locally committed many times. loom sounds like it might be closer (not that I've looked yet...) [13:02] shelve is closer to mercurials "queues" iirc? [13:03] I'm not sure, but it does sound like looms would work better for you. :) [13:04] markh: from my understanding, you would do one merge -r range for each range you want to include in the logical patch [13:04] Shelves aren't the same thing as mq. [13:04] LarstiQ: hi! and commit each one? [13:04] bugger :) [13:05] Shelve is just for letting you temporarily remove changes from the working tree, and then put them back. [13:05] markh: you could do that if you wanted that granularity, or just commit one thing if that is ok to you [13:05] You could probably use it as a really poor man's mq, but not very well. [13:05] (Since you can have multiple different shelves.) [13:06] what are queues more like then? looms? branches? [13:06] when I initially read the article, I thought it would bring across each of the initial commits, with their original message. I now (think I!) understand it only brings across the explicit commits you make in that "cherry-pick" branch. [13:06] markh: say you want to create a bundle to just review a cog change, and have relevant changes in revisions 1, 2, 4, 6 and 7. [13:06] markh: correct. [13:07] markh: well, content changes even, it doesn't bring across revisions. [13:07] I guess I meant "and commit messages" :) [13:07] markh: untill someone makes it so that cherry picks get recorded fully. [13:08] I was talking with you about this exact issue at eurocon. So IIUC, loom is the only reasonable way to magically create a bundle that did include both changes and checkin messages? [13:08] markh: (continueing my example) you would then 'bzr merge -r 1..2; bzr merge --force -r4; bzr merge --force -r6..7; bzr commit' Assuming I'm not off by one, and you want to create one revision. (Depends on how big the changes are I guess) [13:10] markh: ah, if you want to recreate the revisions more or less exactly, I would do 'foreach rev: do bzr merge -rrev; bzr ci -m `bzr log -rrev path/to/orig`; done' [13:10] in my current knowledge, for that workflow [13:10] looms might be better [13:10] markh: not sure if the foreach plugin would help there [13:10] would that include the original author of the patch? [13:11] markh: no, it would take as committer whatever is set for the one doing the new commits. [13:11] could be done too of course [13:11] I see a good use case for the bzr-orthogonal-patches.html, but just checking loom is probably the only good solution if I want the "full history"? [13:12] but I have to get back to my exercises with ambigous notation :/ [13:12] no probs - thanks! [13:12] markh: the "real" solution is making cherry picks record the fact. [13:12] (in my case, for my recent patch, bzr-orthogonal-patches.html is actually a better answer - I'm just curious) [13:12] imo. [13:12] LarstiQ: right - just making sure I understand things as they are now - its all getting clearer each day :) [13:13] markh: I'm not well versed enough in looms to answer that unfortunately. [13:14] markh: The for loop with the ci -m `bzr log -r` trick is what I practically do right now if I find myself in that situation. [13:16] markh: did I tell you I had gotten python-nautilus running? [13:16] pygi: you were still going to tell me about Novell's plans on nautilus integration btw. [13:16] no! I also found myself cringing at some windows specifics I forgot about when taling to you :( [13:18] but I've a really nice tbzr build, with the very nice qt4 based qbzr, and largely working! But I must go and re-acquaint myself why my girlfriend for a while... [13:18] markh: I really really have to kick myself back to studying now or I'll avoid studying all day long, but I will check back on tortoise status later today, and try to publish something that works with nautilus. [13:18] markh: oooh [13:18] markh: have fun, and I look forward to checking out the qbzr stuff :) [13:20] LarstiQ, you must be joking :) [13:40] Looking at qbzr has really made me want to start working on BazaarX again [13:40] I just need to find the time from somewhere [14:33] Hi. [14:34] Is it a bug or an unwarrented expectation of mine that using setup.py to install bzr into ~/opt/bzr-1.5/ yeilds something that won't work because it can't find bzrlib? [14:34] (well, it does find bzrlib, just the ancient one that's installed system-wide) [14:39] Additionally, is it the case that the current stable bzr-svn requires a non-stable release of bzr to run? [14:39] I ask this question due to receiving this error: bzr: ERROR: Installed bzr version 1.5 is too old to be used with bzr-svn, at least 1.6 required [14:39] (I did a lightweight checkout of http://people.samba.org/bzr/jelmer/bzr-svn/stable/ and bzr was obtained from the release tarball) [14:40] rjek: Try prefixing the bzr command with 'PYTHONPATH=~/opt/bzr-1.5/lib/python:$PYTHONPATH' [14:41] Odd_Bloke: Sure, I've been informed about that solution. But as a non-Pyton user who just wants to use bzr (with no regard of what it's written in) I was a bit surprised that it didn't "just work". [14:43] rjek: Well, if you installed anything in a non-standard location, expecting it to 'just work' is optimistic. [14:43] Not when there's an install script! [14:44] If all it was doing is just copying files to a directory, what's wrong with the common makefile with an install target? [14:44] rjek: you need a released version of bzr-svn for bzr 1.5 [14:44] I was kinda expecting a tool called "setup" to set it up for use, rather than just copying it somewhere. [14:45] rjek: But you don't want a tool called 'setup' to monkey around with your shell environment, because it will almost certainly do something wrong. [14:45] Odd_Bloke: Quite. However, rewriting a bit of the (trivial) bzr launcher script it puts in bin/ seems like an ideal approach. [14:46] If the setup tool isn't actually going to set it up then, perhaps changing its name to something that doesn't suggest that it will would be wise, to avoid confusion for people like me who have no interest in Python? [14:46] rjek: wouldn't you expect a command that involved the word "install" (instead of, say, "copy") to actually make it usable in the installed environment? [14:46] jelmer: Where can I obtain this from? The plugins page on bazaar-vcs.org doesn't mention anything other than the stable branch. [14:46] (i.e., make install) [14:46] Yes. And in general, they do. [14:46] rjek: It's on the bzr-svn wiki page, http://bazaar-vcs.org/bzr-svn [14:47] not if you specify a prefix like ~/opt/bzr-1.5 [14:47] jelmer: That page doesn't exist. [14:47] radix: `./configure --prefix=~/opt/foo && make install` almost always works. [14:47] rjek: maybe you use a different version of 'make' than I do, but it certainly won't set up my PATH and LD_LIBRARY_PATH on my system [14:47] rjek: sorry, http://bazaar-vcs.org/BzrSvn [14:48] I don't understand why "./setup.py install --home ~/opt/foo" should be any different. [14:48] radix: I've not suggested that it should. [14:48] jelmer: Thanks, [14:48] It's _not_ any different from that. you're complaining that it doesn't do _more_ than the usual 'configure; make' dance because it's named differently. [14:48] at least that's my understanding of what you've been saying. [14:48] Erm. [14:49] I'm saying `./configure --prefix=~/opt/foo && make install` yeilds something that just works, and `./setup.py install --home ~/opt/foo` does not. [14:49] ok, I don't get it. how does that work? [14:50] radix: rjek's point is rewriting the bzr script at install time. [14:50] LarstiQ: yes, I understand that feature request [14:50] but "./configure; make install" never made that just work for software I've installed [14:50] rjek: "./configure --prefix=~/opt/foo && make install" doesn't work either in a lot of cases [14:50] For pure apps it would. [14:50] for apps which contains libraries, it may not [14:50] heh, "pure". yes, right [14:50] depending on what the app does wrt. building hard paths into its link [14:51] I can't think of an application I've installed that way that didn't work. [14:51] so yes, if it's only a binary, and you absolutely specify the binary, it'll run the app [14:51] rjek: any app which exposes most of its functionality through a library which the main binary links with [14:51] I've dealt with some recently, actually [14:52] I don't give a toss if it exposes a library - I'm wanting to install bzr to use bzr :) [14:52] * Odd_Bloke notes that "echo PYTHONPATH=$HOME/opt/foo/lib/python:$PYTHONPATH >> ~/.bashrc" would have been much quicker than this conversation. :) [14:52] rjek: yes, I understand that, and bzr should be wonderfully awesome and easy to use [14:52] Odd_Bloke: Not for someone who didn't know how. [14:52] radix: Your sarcasm suggests that it's not important for bzr to be easy to use. [14:52] * Kinnison thinks that having the setup.py somehow modify the incoming bzr driver script to stuff the right pythonpath on the front wouldn't be *too* hard [14:53] I also don't give a toss when I'm using an application that has 'configure; make' and it doesn't work, which actually happens === sdboyer is now known as sdboyer|at_work [14:53] * rjek sighs. [14:53] :( [14:53] * Kinnison looks on, distinctly unimpressed [14:53] never mind, eh? [14:53] Well, we could have handled that better. [14:54] yeah, sorry. [14:54] I'm trying to make amends. [14:54] radix: thanks. [14:57] Interestingly we already put this effort in for Windows [14:57] we create a customised bzr.bat [14:58] ok, I think I've proven to him that I'm way more of an ass than anyone else here [14:58] :-) [14:58] and, now I'm filing a bug about the problem [14:59] < ubottu> Launchpad bug 250789 in bzr "radix is an ass" [Undecided, New] [14:59] ^_^ [14:59] Launchpad bug 250789 in bbs2ch "旧仕様の定数値を参照している" [Undecided,New] https://launchpad.net/bugs/250789 [15:00] that's "radix is an ass" in Japanese [15:00] "radikusu issu an assu" [15:06] bug #250826 (or does the bot automatically find new bugs?) [15:06] Launchpad bug 250826 in bzr "setup.py should rewrite bin script when installed to a non-standard location so it can be run without specifying PYTHONPATH" [Undecided,New] https://launchpad.net/bugs/250826 [15:31] Yay, I restarted Loggerhead with only 0.994 seconds of downtime. :) [15:42] hello [15:43] i tried to install bzr in freebsd from sources but the command bzr is not found [15:43] any idea what might be wrong? [15:43] The 'bzr' script isn't in your PATH? [15:43] this is possible [15:43] wouldn't the installer do that? [15:44] You did a "setup.py install"? Its output should say where it went. [15:44] ah [15:44] hmm, it shows site-packages [15:44] Well, it went in the same directory as "python" is in, unless you told it not to. [15:45] ah [15:45] Stavros_: That's bzrlib, not the "bzr" script. [15:45] indeed, i'm looking for the script [15:45] it turns out that it works in bash [15:47] thanks [15:52] * Kinnison attaches a possible fix bundle to https://bugs.launchpad.net/bzr/+bug/250826 [15:52] Launchpad bug 250826 in bzr "setup.py should rewrite bin script when installed to a non-standard location so it can be run without specifying PYTHONPATH" [Undecided,New] [15:52] * Kinnison goes back to work now [16:14] mwhudson: ping [16:15] rjek, radix, Odd_Bloke: Of course, even easier is to just do [16:15] py setup.py build_ext -i [16:15] ln -s ~/bin/bzr $PWD/bzr [16:16] I think I have the order backwards there [16:16] but you get my idea [16:16] :) [16:17] ah, because it does the magic when it knows its in a development environment? [16:18] radix: no because python always imports from the local directory of the script [16:18] arguably, *python* does the magic [16:18] yeah, but the bzr script isn't in the same place that bzrlib is, right? [16:18] or maybe it is [16:18] I thought it was in a 'bin' or 'scripts' directory or something [16:19] oh, there it is [16:22] jam: But that's not the instructions we specify in INSTALL [16:22] * Kinnison has punted a patch to the bug [16:22] it's not ideal (lacks NEWS etc) but it does the job I think [16:27] radix: no, some of the other canonical projects (like PQM) use a 'bin', but bzr does not [16:27] Kinnison: yeah, I commented on it already [16:27] Kinnison: thanks [16:28] jam: I wonder where the mail from LP is then :-( [16:28] * Kinnison pokes dejectedly at his maildir [16:30] Kinnison: lp delays emails for a few minutes [16:30] oh [16:30] because sometimes you make multiple changes [16:30] and it wants to batch them together [16:32] fair enough [16:32] * Kinnison has responded to your comment anyway [16:33] supposing I have created a bzr repo using bzr cvsps-import [16:33] and I now want to push the lot to a public server [16:33] what's the best way to do that? [16:38] (noting also that this is a live CVS repo, so I don't intend this to be a one-time import; so I need to stow it in such a way that I don't lose any other branches that I add over time) [17:01] slangasek: does cvsps-import create multiple branches? [17:01] yes [17:02] * pickscrape is migrating his IT department from svk to bzr *tonight* [17:03] * pickscrape stresses [17:05] uhm, is that possible to pull changes from smoewhere but without updating the working copy yet, like with hg pull [17:06] slangasek: the repo-push plugin? [17:08] LarstiQ: well, I think my larger concern is not "how do I push it?", but "how should I lay things out so that the cvsps imported branches co-exist with my bzr-only branches?" [17:09] do people know that the bzr website seems to be messed up? [17:10] kiorky: generally no, though if you have a shared repository you can [17:10] cd .. [17:10] bzr branch OTHER_PERSONS_STUFF [17:10] and then you'll have it locally but not merged [17:10] as it seems to be showing a bunch of directories for users rather than the site itself [17:11] Pilky: yeah, the wiki seems to be down [17:11] I'll ask [17:11] Pilky: hmm, non frontpage still seems to work [17:12] Down for me [17:12] ah, back up now [17:12] Yep [17:12] yeah, back up now [17:13] slangasek: I have no cvsps experience, how would they not co-exist? [17:14] hi. anybody know of a guide for getting started with bzrlib? i'm looking at the api docs now, just wondering if there's some description of good starting points for common tasks === splodge2 is now known as splodge [17:15] dash: this has become my bible: http://bazaar-vcs.org/Integrating_with_Bazaar [17:16] thanks! [17:16] that looks exactly like what I want. :) [17:16] dash: along with this: http://starship.python.net/crew/mwh/bzrlibapi/moduleIndex.html [17:32] pickscrape, aha, I found a bug on the page! [17:32] * pygi hides [17:36] :) [17:36] I think I was told it was a bit out of date when I was first pointed at it [17:36] What bug did you find? [17:36] I wish it explained more (i.e. something) about locking. [17:37] LarstiQ: cvsps-import creates a "Bazaar-NG meta directory, format 1". If I add my own branches inside of that tree, will future cvsps-import runs clobber them? And if I don't, will I have inferior performance? [17:38] if nothing else, I can take the cvsps-imports and stick them in an "upstream" tree on my server, and build a "debian" tree next to it [17:41] pickscrape: individual functions will try to take out a lock when they need to, but there are cases where it is better to take out a lock yourself. [17:41] hello everybody, is it possible to track a remote subversion repository in a subfolder, and branch it? I'd like to track the framework used in an application and be able to maintain a branch of it [17:42] pickscrape, a missing ")" :P [17:43] slangasek: the meta directory doesn't tell me much, but assuming it is a repository you can add your own branches under that, I'm fairly confident to say cvsps-import will not clobber even if I don't know it. [17:43] LarstiQ: ok, guess I'll test :) [17:43] slangasek: but you could add your own branches under repo/vorlon for example, I doubt it will touch that :) [17:44] is_null: part of what you want to do sounds like bzr-svn [17:44] LarstiQ: yes, I was aware of commands taking the lock themselves. However, I'm not sure sure about what when it is better to do the locking yourself. [17:44] LarstiQ: ok, confirmed that it doesn't clobber it, thanks [17:45] LarstiQ, i've read this: http://bazaar-vcs.org/BzrForeignBranches/Subversion but it doesn't say about tracking *in* a subfolder of the bzr repo [17:45] LarstiQ: now, the question is whether that's the layout I /want/, since everything imported by cvsps-import has rather ugly names, and I'm thinking it might be nice to have that off in its own namespace :) [17:46] now i've read the faq as well ;) [17:47] slangasek: right, that might be done by cvsps, no clue :/ [17:48] ? [17:48] is_null: well, you would convert the svn branch into a bzr one first, and then track a bzr branch normally (if that worked, sigh) [17:48] slangasek: bzr cvsps-import --layout-as-i-want [17:48] LarstiQ: er, heh [17:49] slangasek: you have by far more cvsps knowledge than I by now though, so :) [17:49] LarstiQ: I'm pretty much stuck with the CVS tag and branch names if I want to be able to use it, so I would argue that the ugliness is inherent :) [17:49] LarstiQ, i mean, can bzr track the svn branch in a sub-directory of the bzr repo? [17:49] like git-submodule (which does not support svn) [17:50] is_null: 'bzr join' [17:50] is_null: I think that's what you're after [17:50] it's good and evil :) [17:50] is_null: in bzr terms, a repository and a branch are different things. [17:50] is_null: I don't know what git-submodule does. [17:51] is_null: but tracking a svn branch by having a bzr branch in a bzr repo is no problem at all, I just think you are using different terminology. [17:51] LarstiQ, bzr repo: /myapp, svn repo: svn://foo, i'd like to track svn://foo in /myapp/framework [17:52] is_null: is /myapp something you created with 'bzr init-repo'? [17:52] LarstiQ, yes [17:52] is_null: ok, no problem then. [17:52] nice, thanks [17:52] well, at least for the 'tracking in a subdir' part. [17:52] is_null: it could be svn://foo does really funky stuff and bzr-svn will be need to taught that [17:53] is_null: but give bzr-svn a try with svn://foo and let us know how it went [17:54] what package is bzr-svn part of? [17:54] is_null: bzr-svn [17:54] is_null: http://bazaar-vcs.org/BzrForeignBranches/Subversion [17:54] thanks again! === abentley1 is now known as abentley [18:05] When using bzr shelve in shell inside Emacs, the carriage-return isn't automatically added when pressing y, n. q, etc [18:05] Does anyone now how to instruct Emacs to add a carriage-return in this case? [18:25] bzr-svn is not up to date with installed bzr version 1.6b3. [18:25] There should be a newer version of bzr-svn available. [18:25] bzr: ERROR: exceptions.ImportError: cannot import name make_file_knit [18:26] with bzr and bzr-svn from the gentoo overlay [18:26] is_null: I think I saw someone mention before that there was something wrong with the gentoo overlay [18:31] is_null: gentoo aside, I'd either match up bzr 1.5 and bzr-svn 0.4.10 (from memory, the page lists which version match), or go with bzr.dev and lp:bzr-svn/0.4 [18:31] LarstiQ: You're correct. [18:31] (with those versions) [18:32] ok! thanks [18:35] same problem when trying to run tests: http://nopaste.com/p/a8I2lKBYG [18:36] with versions dev-util/bzr-1.5, dev-util/bzr-svn-0.4.10, dev-util/bzr-rebase-0.2 [18:37] hrm, anyone know why I would be getting this: http://paste.ubuntu.com/29354/ [18:37] is_null: with bzr 1.5 and bzr-svn 0.4.10 you get a message complaining something doesn't match with _1.6b3_ ? [18:38] LarstiQ: http://nopaste.com/p/aghDKt9Mg [18:39] I moved around branches inside my shared repo, but I don't see why that would make it explode [18:43] is_null: that is very weird. bzr-svn 0.4.10 has cache.py with CacheTable right there [18:44] is_null: can you confirm /usr/lib64/python2.5/site-packages/bzrlib/plugins/svn/cache.py exists? [18:45] 07bd547b639ef507eb603dc85a342a04 /usr/lib64/python2.5/site-packages/bzrlib/plugins/svn/cache.py [18:47] is_null: that is correct. [18:48] anything else i can do? [18:50] is_null: you could run that with BZR_PDB=1 set, only helpful if you know python/pdb [18:51] is_null: ah, hmm [18:52] is_null: please do do that, and then type in 'import cache' 'p cache.__path__' [18:54] is_null: I think I know what the problem is, namely there being a 'cache' module/package on sys.path that bzr-svn isn't expecting there. To be more precise, it is only expecting to be run from a bzr source tree I think. [18:55] LarstiQ, true [18:55] /usr/lib64/portage/pym/cache [18:55] is_null: right [18:55] seems like a minor bug [18:56] is_null: is this something that the gentoo packaging runs automatically? [18:56] LarstiQ, "this"? [18:56] is_null: bzr-1.5 selftest svn [18:57] is_null: or did you run it seperately yourself? [18:57] i do it, but the ebuild can do it as well, i'm not re-installing it each time [18:58] change from cache to: from bzrlib.plugins.svn.cache import CacheTable now a new problem: http://nopaste.com/p/aaUuwowFob [18:58] the same problem [18:58] right, I expect more problems of the same sort [18:58] is_null: so, two things. [18:59] is_null: if you are interested in the results of running the tests, I suggest for that to cd to the bzr 1.5 sourcedir, and run ./bzr selftest svn [18:59] is_null: for the larger problem, I think a bug filed against bzr-svn saying that its importing style is fragile in the face of same named modules on the path is fair. [19:00] is_null: if you want to attach a patch to that bug, I don't think jelmer will have a problem with that ;) [19:00] * LarstiQ is called to dinner. [19:00] is_null: I'll see how far you are when I get back. [19:00] LarstiQ, thanks a lot for you support! [19:05] now i have https://bugs.launchpad.net/bugs/246683 :) [19:05] Launchpad bug 246683 in bzr-svn "Assertion `*path != '/'' failed" [Undecided,Fix committed] [19:06] hum, anyone here know bzr-email? [19:07] more to the point, does it actually work for anyone? [19:07] is_null: you need a newer version of bzr-svn [19:07] slangasek: yep [19:07] slangasek: what's not working? [19:07] File "/usr/lib/python2.5/site-packages/bzrlib/plugins/email/smtp_connection.py", line 213, in send_text_and_attachment_email [19:07] jelmer: that [19:07] LarstiQ: the imports have already been fixed in bzr-svn's branch [19:07] assert isinstance(attachment_text, str) [19:07] AssertionError [19:08] slangasek: can't remember seeing that before; any chance you can file a bug? [19:08] yep [19:09] slangasek: running under BZR_PDB=1 and getting type(attachment_text) would be useful [19:09] my guess is unicode [19:11] jelmer: hmm, but there is no bzr-svn with those fixes compatible with bzr 1.5 is there? [19:13] jelmer, james_w: bug #250901 filed; I'll try with BZR_PDB=1 on my next commit [19:13] Launchpad bug 250901 in bzr-email "traceback on all commits" [Undecided,New] https://launchpad.net/bugs/250901 [19:15] LarstiQ: only the one in Debian has them [19:15] slangasek: thanks [19:15] (Pdb) type(attachment_text) [19:15] [19:15] james_w: ^^ [19:16] anything else I should check before dropping out of the debugger? [19:16] jelmer, you ad [19:16] jelmer, you advice to use which version of svn, bzr and bzr-svn please? [19:17] beuno: check your plugins for bug #250514 [19:17] Launchpad bug 250514 in bzr-email "bzr-email fails to send via a gmail tls smtp connection (needs ehlo cmd)" [Undecided,New] https://launchpad.net/bugs/250514 [19:17] beuno: sorry, bug #250893 [19:17] :) [19:17] Launchpad bug 250893 in bzr "Traceback when moving branches in a shared repo" [High,Incomplete] https://launchpad.net/bugs/250893 [19:17] is_null: in general, I would recommend bzr 1.5 and bzr-svn 0.4.10 [19:17] beuno: at least, auditing the code here, everything looks like it should be fine [19:18] jam, I'll try with --no-plugins [19:18] is_null: however since you're hitting those two bugs I would recommend bzr.dev and bzr-svn from the 0.4 branch in your case [19:18] jam, same with --no-plugins [19:18] jelmer, with svn 1.5.0? [19:19] beuno: can you look at your /...pythonpath/site-packages/bzrlib/bundle/__init__.py file [19:19] and see if read_mergeable_from_url takes possible_transports? [19:19] It certainly does in bzr.dev [19:19] slangasek: looks like this is a bug if no diff should be sent [19:20] e.g. if difflimit = 0 [19:20] jelmer: well, I /want/ a diff to be sent; I thought difflimit = 0 meant unlimited [19:20] :) [19:20] beuno: my best guess after plugins is that the install packaging isn't properly overriding the bzrlib/bundle/ sub-package [19:20] beuno: another thing to check is the timestamps on the __init__.py file and the __init__.pyc files [19:21] if the .pyc is newer, it won't get rebuilt [19:21] jelmer: btw, does anyone have a post-commit hook that will tag bugs 'pending' in the Debian BTS? :-) [19:21] jam, [19:21] lrwxrwxrwx 1 root root 45 2008-07-22 02:17 __init__.py -> /usr/share/pyshared/bzrlib/bundle/__init__.py [19:21] -rw-r--r-- 1 root root 2872 2008-07-22 02:17 __init__.pyc [19:21] beuno: can you check: /usr/share/pyshared/bzrlib/bundle/__init__.py [19:22] slangasek: not yet afaik, but I agree it would be nice to have such a thing :-) [19:22] beuno: though it certainly looks like it is *today* :) [19:22] damn, I just volunteered myself, didn't I [19:22] beuno: and the contents of __init__.py ? does it have possible_transports? [19:22] jam, hm, no [19:23] beuno: .... :( [19:23] beuno: so, do you want to try uninstalling and re-installing? [19:23] and, surprise surprise, it has an older timestamp [19:23] obviously something weird [19:23] I just did: setup.py install in bzr.dev [19:23] beuno: also, how do you have bzr 1.6b4 ? [19:23] slangasek: :-) [19:24] shouldn't that overwrite everything? [19:24] ah, but did you uninstal the system package first? [19:24] beuno: I can't say how smart the python installer is [19:24] jelmer: do you think this should be a feature of bzr-email, or a new post-commit hook? [19:24] as debs verses setup.py install [19:24] jam, ah, I didn't [19:24] (I guess I could just wrap the 'bts' command...) [19:24] beuno: kind of like the old case of "./configure; make; make install' versus "apt-get install" [19:24] they don't *talk* to eachother [19:24] beuno: we can certainly update the bug to say that "setup.py install" doesn't overwrite the existing install cleanly. [19:25] jam, right, I can't remove the package because it will remove: [19:25] launchpad-dependencies [19:25] launchpad-developer-dependencies [19:25] though 'bzr' may punt and point fingers at disutils [19:25] which I sort of need [19:25] beuno: isn't there a remove-force but don't remove dependencies? [19:25] slangasek: I would say it should be a feature of a new post-commit hook, perhaps part of bzr-builddeb (though James is perhaps a better person to decide that) [19:25] I don't know apt very well [19:26] jam: 1.6b4 is what bzr.dev is currently marked as. [19:26] james_w: your thoughts? [19:26] Odd_Bloke: no, I know that, I thought beuno installed from a package, and we've never released a b4 package [19:26] jam, I can't seem to get it to go away on it's own. It insists on taking others with it [19:27] jam: Ah, OK. I only glanced over the scrollback. :) [19:28] beuno: well, I'm at the limit of my understanding of apt-get without a command line (currently logged into win32) [19:28] LarstiQ, jelmer: ^^ do you have an idea how to apt-get remove without taking all dependencies with it? [19:28] Odd_Bloke: ^^ [19:29] * Odd_Bloke doesn't know. [19:29] jam: aptitude unmarkauto I think [19:30] jam, that doesn't seem to do anything for me [19:31] uhm, jelmer [19:31] beuno: if you run that on the dependencies and then deinstall the package itself [19:31] it shouldn't take the dependencies with it [19:31] jelmer, ah, thanks [19:32] slangasek: I agree that it appears to be a difflimit = 0 bug. I also think that there should be a special value for no limit, perhaps 0 or -1 [19:32] slangasek: or did you mean on tagging things pending? [19:32] james_w: ah, I'd moved on, I was asking about tagging things pending :) [19:33] I think something separate to bzr-email would be better. Using bts or tagpending will probably reduce the work. [19:34] right [19:35] i don't understand this error when trying to checkout bzr-svn: http://nopaste.com/p/aFhoMZdbP [19:36] is_null: svn co? [19:36] yes [19:36] is_null: on a bzr branch? :) [19:37] my bad ... i got a little confused [19:38] doko: o/ [19:41] email plugins problem: with bzr push sftp://foo@bar/path/to/repo and a ~foo/.bazaar/locations.conf on host bar, neither the settings in [/path/to/repo] nor [sftp://foo@bar/path/to/rep/] are used here :( Is it my fault? Or are plugins on the repo server ignored? [19:41] allee: the email plugin only triggers on commit, not on push [19:42] doh, I think that was about to be my next question [19:43] jelmer: is this a limitation of the post-commit hook logic? [19:44] slangasek: it's an implementation choice in the email plugin [19:45] slangasek: it only triggers on commit because if you also trigger on push that means you could be sending the notification email more than once (once on commit, once on every push) [19:46] It would be nice to allow the user to decide when to trigger the notification email though [19:46] jelmer: but in theory, there might be different audiences who would be interested in receiving mail about it at different points... [19:46] jelmer: uhm, not good. I prefer not to use a leight-weight checkout, but only stuff that pushed to the 'authoritive central' repo matter. IMHO push IS A commit-in-one-go ;) Is there already a tool that handles push e-mail too? [19:46] i.e., I really want to generate email when I've pushed to a repo on alioth, not just when I've committed locally [19:48] slangasek: yeah, I agree it would be nice to support email on push as well [19:48] wishlist against bzr-email? [19:48] slangasek: yeah [19:50] ah clarification from my side: I don't need a push configured locally, but once on the repo server so everyone push/commit to the central repo triggers it. [19:51] slangasek: can you post the bug/with id here? I would like to subscribe [19:52] allee: well, the latter relies on your server side having some smarts, because the only way to configure this right now is via ~/.bazaar [19:52] allee: yes, I'll post the bug # here [19:54] oh, I naively assume bzr sftp:// does it like rsync: start a remote bzr and talk to it [19:55] allee: bzr+ssh:// does do that. [19:57] Odd_Bloke: bzr+ssh (e-mail) triggers also (e-mail) plugins this way? [19:57] * allee tries ... [20:01] * allee failed [20:03] hi there :-) [20:05] allee: Sorry, I meant bzr+ssh starts a remote bzr, not that it does any of the email stuff. [20:06] Odd_Bloke: no problem. It was worth a quick try ;) Thx. [20:32] allee: shouldn't that plug-in be installed in the remote bzr? [20:33] i'm totally newb at this, but that's my logic. if you call remote bzr, then commits are made in the remote bzr instance, and so triggering any plug-ins there and not on your machine. perhaps i'm wrong [20:34] ppires: The issue here is that the email message is wanted on push to branches on that machine, not on commits to branches on that machine. [20:34] ppires: yes, I did. but e-mail plugin is only called on a) commit and b) on the host bzr does run [20:34] .. not the remote repo server [20:35] allee: If you were bound to a remote branch using bzr+ssh, I would expect commits to trigger on the remote host. [20:36] Odd_Bloke: mhmm, I've to leave now. I'll try your workaround tomorrow. Thx again [20:38] allee: That would still be individual commits and not pushes though. [20:47] Odd_Bloke: ic [20:50] allee: bug #250934 [20:50] Launchpad bug 250934 in bzr-email "bzr-email should support email on push" [Undecided,New] https://launchpad.net/bugs/250934 [20:51] jam: hi [20:51] slangasek: thx [20:51] mwhudson: hi, just wondering if you had PQM rights to merge your earlier patch [20:52] jam: no [20:55] hi, I'm trying to sort out problems with lp:~ubuntu-core-dev/casper/trunk [20:55] also mentioned in https://answers.launchpad.net/launchpad-bazaar/+question/39693 [20:55] trying to branch this locally says: [20:55] $ bzr get casper test [20:55] bzr: ERROR: Revision {Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--base-0} not present in "x_Matt_Zimmerman__Sun_Mar_13_00:51:19_2005_1366.3". [20:56] bzr reconcile crashes: [20:56] Reconciling repository file:///home/cjwatson/src/ubuntu/casper/bzr/casper/ [20:56] bzr: ERROR: exceptions.KeyError: 'Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21' [20:56] mwhudson: I forgot to check, but isn't there an associated bug for that fix? [20:56] or was this a drive-by fix? [20:56] lifeless tried to help me at the distro sprint, but we only really succeeded in making things worse [20:56] so I'd appreciate expert help :) [20:56] (not that lifeless isn't. er. I'll shut up now) [20:56] jam: it was drive-by in fixing some other bug [20:57] bug 250418 in fact [20:57] Launchpad bug 250418 in bzr "bzr_dir_for_branch_stacked_on_relative_url.clone('...', preserve_stacking=True) miscalculates stacked-on URL" [Undecided,New] https://launchpad.net/bugs/250418 [20:57] there's a fix for that one to review too :) [20:57] cjwatson: 'reconcile' complaining is a known issue, I would have thought "bzr branch" was already fixed in the last beta release [20:57] * mwhudson goes to have breakfast [20:58] jam: the branch has been a bit buggered for a long time, though [20:58] it's worked fine for those of us who already have copies of it ... [21:00] cjwatson: well, when I look at it, I see nothing in the repository there [21:00] and the last revision shows up as "NULL" [21:00] http://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/.bzr/branch/last-revision [21:01] cjwatson: is it supposed to be a hosted branch, or a mirrored branch? [21:01] cjwatson: ah, it looks like it might be a hosted branch, and the branch mirror script is borking on the missing mainline revision? [21:02] mwhudson, jml: Can you shed more light on what is going on? [21:02] cjwatson: so are you branching from "lp:casper" which actually means you are using bzr+ssh most of the time? [21:03] jam: I branched from it approximately a zillion years ago [21:03] I think at the time it was hosted on rookery [21:03] right now, bzr info says: checkout of branch: bzr+ssh://bazaar.launchpad.net/%7Eubuntu-core-dev/casper/trunk/ [21:03] cjwatson: well, my current comment is that it is the bazaar-launchpad guys and their custom mirroring stuff [21:04] jam: mwhudson asked me to come here ... [21:04] I would guess that the bzr+ssh side is working okay [21:04] though "bzr reconcile" would still bork [21:04] it should be a hosted branch, yes [21:04] and the mirror script is broken for fetching branches that have ghosts in their mainline [21:04] They might then chose to kick it back to us, because of some fetch api they are using that breaks for them. [21:04] but I'll let them debug that side of it. [21:08] jam: 'bzr push' fails on the same branch, FWIW [21:08] sftp://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/ seems to work, at least for log [21:09] ah, but branch still fails, meh [21:10] I've put the branch at http://people.ubuntu.com/~cjwatson/tmp/casper/trunk/.bzr/ in case it's useful [21:23] jam: ghosts on mainline sounds like a recently fixed bzr bug [21:23] at least there was some problem with them recent [21:23] ly [21:23] maybe this will go away when we update bzr on the codehosting systems? [21:26] mwhudson: if wishes were fishes, we'd all eat a lot of fish [21:26] but yeah, maybe [21:26] reconcile still has a problem [21:26] and check probably does too [21:44] I writing something where I need to get the last rev for a specific file through the bzrlib api. Looking at the API I can see two ways to do it. Either subclass log.LogFormatter and stash revision.revno or to use log.find_touching_revisions. Am I missing a more direct approach? [21:44] muffinresearch: yes [21:47] though i forget what the best way is [21:47] one way is to load an inventory and look at the InventoryFile for the file [21:47] muffinresearch: try this [21:47] First ,do you have a Branch or WorkingTree ? [21:47] but something like: [21:48] Can get either [21:48] wt, relpath = bzrib.workingtree.WorkingTree.open_contaning(path) [21:48] wt.lock_read() [21:48] file_id = wt.path2id(relpath) [21:48] ie = wt.inventory[file_id] [21:48] sorry scratch that [21:48] basis_tree = wt.basis_tree() [21:49] basis_tree.lock_read() [21:49] ie = basis_tree.inventory[file_id] [21:49] last_modified_revision = ie.revision [21:49] basis_tree.unlock() [21:49] wt.unlock() [21:49] yep that seems much more direct [21:50] thanks! [21:50] if you only have a branch, you would do something more like [21:50] rev_tree = branch.repository.revision_tree(branch.last_revision()) [21:50] ie = rev_tree.inventory [21:50] etc [21:50] ie = rev_tree.inventory[file_id] [21:59] @jam: cheers for your help [22:12] Are bzrlib's progress bars generically usable from within plugins? [22:20] pickscrape: "generically" I suppose [22:20] using [22:20] pb = bzrlib.ui.ui_factory.get_nested_progress_bar() [22:20] ... [22:20] pb.finished() [22:20] jam: thanks, I'll look into it :) [22:34] jelmer: Which command can I use to test the tick addition? [22:58] mwhudson, just finished fixing everything in your review, and replied to your email with comments [22:58] beuno: excellent [22:58] now, I've been poking at my evil fill_div function [22:58] I've started and abandoned a few approaches [22:59] Ooh, what's going on now? [22:59] do you have something specific in mind? [22:59] Peng_, shhhh, it's secret :) [22:59] and it's like 7k diff, that's all I'm saying about it [22:59] Adding Mercurial support?! [22:59] * Peng_ runs away. [23:00] :p [23:00] They're making a merge algorithm that *never* results in any conflicts [23:00] colbrac: I was using some experimental bzr-svn stuff, not sure what else uses it [23:02] pickscrape: It uploads your merge to MTurk? [23:06] mwhudson, ^ on the fill_div bit [23:07] beuno: it was just that the code in the function was a bit nonsensical [23:07] beuno: on the phone now [23:08] mwhudson, right. I kept running into problems with types, so it ended up looking like that. I'm obviously missing something very simple. No hurry though, waiting on the phone is always more annoying then waiting on irc :p [23:37] morning [23:37] evening [23:39] afternoon [23:43] night. [23:44] evening [23:47] That about covers it. [23:47] * fullermd has a nice diurnal anamoly. [23:48] That sounds painful. You should get it seen to [23:56] hi [23:57] colbrac, I'm upgrading the format of the trunk bzr-gtk branch atm, please don't push anything; it may be discarded [23:57] 'morning poolie [23:57] ok [23:58] Actually I'm puzzled atm why the 'Merged!' mails from BB show the wrong previous status [23:58] which ones in particular? [23:59] Fix lp115...bla and Remove olive.glade -take2 have semi-approved [23:59] while Fix lp115.. is approved, and Remove.. conditionally approved