[00:05] spiv: hi! [00:05] spiv: you back? [00:10] lifeless: yeah, I hope so :) [00:11] With the help of cold & flu tablets. [00:11] ok cool [00:11] I was going to pickup the 'detect ghost inventories' patch [00:12] if you're back, and it was next on your todo, perhaps you'd like to just follow through on it ? [00:21] mwhudson: moin [00:21] mwhudson: any more luck with bzr-git now? [00:22] jelmer: haven't tried with the latest versions yet [00:24] lifeless: sure [00:27] So, um, what's the right branch of Dulwich to use? [00:27] jelmer: judging by the first two minutes, it seems much saner in terms of memory usage === dereine is now known as dereine[OFF] [00:30] morning all [00:30] lifeless: pong [00:31] igc: hi [00:32] igc: you mentioned that filter config has hit a wall; where should I read to read up on that [00:32] lifeless: thanks for your email btw [00:32] anytime [00:33] lifeless: I'll email the list soon with an update [00:33] literally apparently, it was what, 11? :P [00:33] lifeless: see Alexander's latest email for the brief problem [00:34] i.e. using an arbitrary file doesn't allow storage of that file in the tree [00:34] because of various ordering issues w.r.t. tree building and filter application [00:35] e: [MERGE] [BUG 363837] Catch _win32_delete_readonly failure to remove file or directory and try to recove ? [00:35] Launchpad bug 363837 in bzr "diff --using does not give Windows enough time to remove temp files" [Medium,In progress] https://launchpad.net/bugs/363837 [00:37] jelmer: sorry if the mail I just sent about your patch is confusing, but I'm tired and going to bed now [00:52] spiv: still sick today? [00:53] oh i see [00:53] poolie: no (well, not enough to stop me working) [00:54] hi spiv. welcome back [00:54] I wouldn't recommend getting too close to me, though :) [00:54] Between this cold and the vaccinations last week my immune system should be very well exercised for Barcelona... [01:20] jelmer: is there any way of telling how a bzr-git pull is doing by looking at the .bzr directory? [01:20] spiv: could you please eyeball my updated descriptions on https://bugs.edge.launchpad.net/launchpad-code/+bug/354036 and https://bugs.edge.launchpad.net/bzr/+bug/360791 [01:20] Ubuntu bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] [01:21] spiv: I've tried to make them very approachable for users [01:21] How can I get a list of all revids? [01:22] cat /dev/urandom ? [01:23] more seriously, a little context is needed - do you mean the revisions in a branch, or the contents of a repository, or some concordance of what people have used anywhere.... [01:23] luke-jr: in a branch's mainline history? in a branch's full ancestry? in a repository? [01:23] also do you want it in python, or shell scripting [01:23] spiv: a future revision [01:24] I did a bunch of bzr uncommit ;) [01:24] lifeless: the descriptions look very good, thanks! [01:24] luke-jr: you mean you want to know the revids of the uncommitted revs? [01:24] bzr heads --dead [01:25] will list all the heads [01:25] uhm, log -r revid:ADEADHEAD --show-ids will let you get at the ancestors of the dead head [01:26] * fullermd still wishes log -r..revid:FOO would give a log as if FOO were the head of a branch... [01:26] fullermd: make it happen! [01:26] fullermd: [is there a bug too] [01:26] And "bzr uncommit" in recent releases will display the revid of the revision you are uncommitting [01:26] lifeless: 'bzr heads' doesn't exist..? [01:26] I tried, but my magic wand just sorta looks at me and says 'blert'... [01:26] spiv: it did, long off my scroll history [01:27] Not sure. I don't remember filing one. [01:27] fullermd: you need to pay it more attention [01:27] bzr 1.14rc1 has no 'heads' cmd [01:27] luke-jr: It's in bzrtools [01:29] luke-jr: the revids may be in your bzr.log too [01:30] ty [01:40] jml: when you do a web review, its annoying that you can't see what you are reviewing [01:40] e.g. https://code.edge.launchpad.net/%7Embp/bzr/340352-rename-lock/+merge/4334/+review [01:41] the bug style inline forms are _much_ more convenient [01:41] lifeless: yeah, poolie filed a bug about this. [01:41] ok cool [01:43] I can't see it [01:44] mmm [01:44] * mwhudson still finds the distribution of concerns in progress reporting a little odd [01:44] mmm [01:44] maybe it's not bad actually [01:44] https://bugs.edge.launchpad.net/launchpad-code/+bug/372059 [01:44] Ubuntu bug 372059 in launchpad-code "show the merge diff when proposing a merge" [Undecided,New] [01:45] I haven't had the chance to triage it yet. [01:46] mwhudson: it's not fully baked yet i agree [01:46] jml: thats when proposing a merge [01:46] jml: I'm talking when doing a review [01:46] lifeless: oh ok. [01:46] jml: https://code.edge.launchpad.net/%7Embp/bzr/340352-rename-lock/+merge/4334/+review is an example url [01:46] poolie: concretely right now i wish TextProgressView._format_task was somewhere else :) [01:47] patches welcome :) [01:48] jml: let me know, bug or feature:P [01:48] lifeless: what do you think? [01:48] i guess i need to figure out what i want here [01:49] poolie: i'm just going to blabber requirements for a while, feel free to either ignore or read as you like [01:49] jml: I think it would be better if it was like the bug discussion pages [01:49] this is for git code imports [01:49] we have a monitor process that considers a process stuck if it produces no output for an hour [01:49] lifeless: me too. [01:50] so i'd like to have a progress reporter that prints some kind of progress indication [01:50] i think printing a line on every progress report would get a bit spammy [01:51] so i was thinking of printing a progress report on _progress_updated if nothing had been printed for, say 10 minutes [01:52] i guess i'll subclass clifactory [01:53] mwhudson: don't you have this already [01:53] mwhudson: I *sounds* like code you wrote in the past. [01:54] lifeless: it sounds a bit like something ddaa wrote [01:54] i think [01:56] mwhudson: I'm pretty sure you already have a UI factory in your code base that does this [01:56] lifeless: i'm pretty sure we do not, any more [01:56] oh, ok. [01:56] 'bzr revert -r wheredidthatcodego' [01:58] bug 373038 [01:58] Launchpad bug 373038 in launchpad-code "inline editing for reviews please" [Undecided,New] https://launchpad.net/bugs/373038 [01:59] thanks. [02:00] lifeless: yes, I know [02:00] thumper: ? [02:00] lifeless: I've been planning to work on it with beuno but both of us have long lists :( [02:00] lifeless: bug 373038 [02:00] Launchpad bug 373038 in launchpad-code "inline editing for reviews please" [Undecided,New] https://launchpad.net/bugs/373038 [02:00] thumper: thats a new bug I just filed as the result of the discussion with jml [02:00] lifeless: yes, but we've known about it for ages :) [02:00] just bugless [02:01] thumper: I'm honouring a promise I made to jml to be active about documenting my experiences with code [02:01] that's good [02:01] thanks [02:01] I do appreciate it [02:01] I just want you to know that we know about it and have been thinking about it [02:01] ok, cool. [02:07] lifeless: btw that pqm-config fix for the LANG (/home/pqm/bin/dchroot-run LANG=en_GB.utf8 make check) worked nicely for vila last night. Shall we roll to all the bzr config entries, or revert? [02:07] spm: bzr.dev and new releases only [02:08] spm: e.g. 'no' [02:08] lifeless: new releases being 1.14+ ? [02:08] the state of existing branches is unknown [02:08] spm: 1.15 [02:08] oh yes of course. will do. [02:08] thanks [02:09] spiv: how goes it? [02:10] spiv: I ask because AIUI you had a patch, but I don't recall seeing it up for review; I'm keen to put these bugs behind us and want to help :) [02:10] lifeless: just caught up on the worst of my mail and administrivia backlog [02:12] lifeless: the work-in-progress is lp:~spiv/bzr/all-referenced-texts-check [02:12] lifeless: I'm currently working on adding more test coverage [02:12] ok [02:12] the conceptual approach makes sense, and I browsed the patch yeseterday [02:13] lifeless: cool, that's good to know :) [02:13] mwhudson: not really [02:14] The code feels overly complex, but I think that's hard to avoid. [02:14] jelmer: ok [02:14] We don't have particularly convenient APIs for working with the dependencies that are implicit in our graphs. [02:15] mwhudson: it should give you a progress bar though [02:15] jelmer: yeah, if you install a ui factory at all :) [03:03] where does the ui_factory get set when you run bzr from the command line? [03:04] oh, main() [03:05] mwhudson: with the small exception of cmd_serve which unconditionally uses SilentUIFactory [03:06] spiv: ta [03:08] oh wow, i can actually pull bzr.dev over http now [03:09] i wonder if my isp has fixed their proxy at last... [03:11] jam/igc: any ETA on bbc stacking? [03:14] thumper: no idea sorry - I'm not working on that [03:15] igc: hmm, lifeless just said it was with you and jam [03:17] thumper: igc and jam are working on the bbc format and related things, spiv and I are working on networking - thats the split across the two major goals set for the bazaar team [03:19] ok [03:20] thumper: it doesn't mean that everything we do is strictly in those buckets, nor that everything that needs to be done to move bbc from beta to release is actively being coded right now :) [03:26] mwhudson: so you're running bzr in a subprocess with a pipe on stderr/stdout? [03:26] and you just want it to mumble stuff, not draw a progress bar as such? [03:26] poolie: yes [03:26] right [03:32] hmm [03:32] can i use a plugin to override the default ui factory? [03:33] mwhudson: yes [03:33] mwhudson: it may be a little esoteric; I will put one together for you after I finish a little roadmap cleanup [03:34] lifeless: don't worry about it, i'll just hack for now [03:34] poolie: http://bazaar-vcs.org/Roadmap/BrisbaneCore seems to completely miss that bbc can't stack right now [03:35] thumper: I'm editing it at the moment [03:40] thumper: done [03:41] mwhudson: ok [03:42] mwhudson: hook into Command.hooks 'extend_command' [03:42] mwhudson: bzr help hooks has the docs for this [03:42] mwhudson: that will get called before any command is executed, and after the ui factory is set [03:43] lifeless: ta [03:43] its a little hacky, and you may be invoked multiple times etc [03:43] but it will work [03:47] lifeless: so will editing main() which is what i'm doing now >:) [03:48] mwhudson: well you asked about a plugin to do it [03:48] yeah, sorry [03:48] its about 4 lines in a plugin, including imports [03:48] and how many lines to install ? [03:48] SamB: thats the lot [03:49] I meant, how many lines do you need to type in the shell ;-P [03:49] SamB: oh heh [03:55] * spiv -> lunch [03:58] spiv: I maintain that you people are CRAZY! [04:01] * igc lunch [04:01] igc: yes, you too! [04:01] SamB: :-) [04:01] * SamB <- dessert [04:01] * fullermd isn't edible. [04:02] (the dessert goes into me ;-) === lamont` is now known as lamont [04:40] igc, i'm trying to merge the doctools patch you mentioned yesterday [04:40] it has small failures on python2.4 [04:41] poolie: did jam suggest some workarounds in the review thread? It's a while ago now but I recall something like that [04:41] he had a small fix but i think not for that [04:44] its the win32 installer it fixes I think === samurai is now known as samiam [04:54] spiv: http://bazaar-vcs.org/Roadmap/SmartServer I've tweaked; let me know if I used too big a cleaver [04:57] thanks for all the roadmap updates! [04:58] poolie: as we were discussing, there is a balance here [05:00] poolie: this is the ui factory i've come up with so far, if you're curious: http://pastebin.ubuntu.com/165831/ [05:02] mwhudson: seems more complex than desirable [05:02] mwhudson: but if it works great [05:03] lifeless: it's not _just_ for progress monitoring, it's also visible in the ui [05:03] so i put a bit of effort into making it useful too [05:03] mwhudson: sure; by complex I mean its a shame you can't use existing code more [05:03] lifeless: ah right\ [05:03] yes [05:04] I mean, ideally you'd just override the render call and instead of doing [======] do 'status change, x->y', and also change the clamp threshold from 1/10th of a second to 30 seconds [05:04] or wahtever [05:06] actually thats a good, serious question [05:06] why didn't you do that? [05:12] hmm, i guess that would have been somewhat easier [05:12] would need to copy-paste-change some methods (and presumably submit changes to bazaar that would make that less relevant) [05:16] naturally [05:16] otoh it would be more obvious and likely easier to maintain [05:23] mwhudson: i like the time_source thing [05:23] poolie: deterministic tests ftw [05:24] i'd like to merge something like this into bzr [05:24] if you need to provide the stack stuff here that's a bug [05:28] poolie: i think as lifeless said, i'm somewhat operating at the wrong level [05:28] poolie: but operating at the right level nicely requires a bzr patch [05:28] poolie: i'll try to write that patch later [05:29] ok [05:29] i also want to keep improving this [06:23] Are there instructions anywhere for actually creating the repository layouts mentioned in http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#advanced-shared-repository-layouts [06:29] eelik: there's no special commands needed beyond the "bzr init-repo" to create the shared repository [06:30] but how about "container directories"? Are they versioned somehow? [06:31] eelik: no, just create an ordinary directory on your filesystem. [06:31] then I'm out of luck, because sourceforge doesn't make it possible [06:32] basically, it allows only using bzr command [06:33] eelik: you can just use bzr commands [06:33] eelik: bzr init-repo URL [06:33] yes, that's the easy one [06:33] it has to be done in a special ssh shell environment [06:33] eelik: and then bzr push URL/foo to push a branch up [06:34] poolie: http://pastebin.ubuntu.com/165869/ <- version that uses more from bzrlib [06:34] poolie: it's a bit ugly, but a bzrlib patch will sort that out [06:34] that I can do also, but what if I want to create a branch in a nonversioned subdirectory or subsubdirectory [06:35] does bzr create them automatically [06:35] eelik: bzr push URL/foo/bar --create-prefix [06:35] (well, I'm new to bzr as you can see) [06:35] ok, I have to try that [06:36] But I managed already to create a nonversioned directory into the sf server and it can't be removed [06:37] eelik: bzr push --use-existing-dir URL if you want it to be a branch [06:37] their system may be unmature [06:37] eelik: or if you wanted it to be a repository, bzr init-repo URL [06:38] ok, I have been reading the docs for couple of days but it's just too much :) [06:38] eelik: could be :) [06:38] sf have only recently added sf support, its true [06:39] and they don't offer any site specific documentation except for the very scarce intro [06:40] but thanks, I keep learning === dereine[OFF] is now known as dereine === dereine is now known as dereine[OFF] [07:19] I have a security question. [07:20] I notice that bzr has an ssh key [07:21] if someone gets a hold of my ssh id_rsa.pub key from launchpad does that mean they can ssh into my computer? [07:21] no [07:21] Ok. [07:21] ssh keys work in two parts [07:21] the public part is like the lock [07:21] hi all [07:21] the private part, the bit you keep on your computer, is the actual key [07:21] I realized the error of my question...after I asked it. [07:22] the public key can be used to give you permission to login to machines, thats all [07:22] hi vila [07:25] I guess it didn't hurt to ask. I'm pretty paranoid about letting people have access to my machine. [07:28] thats healthy [07:30] jelmer: ping [07:49] lifeless: +1 to your updates and thanks for writing it [07:49] updates to the advice [07:57] the-erm: I used to have an 'anonymous' account on mine, without a password [07:57] curiously, the botnets never noticed it [07:58] poolie: I've finished for the day; feel free to let the announcement go free if you want :) [07:58] poolie: otherwise I'll do it tomorrow [07:58] lifeless: announcement? ☺ [07:58] luke-jr: see the list, 'draft announcement..' [08:05] lifeless: let it go from teh moderation queue? [08:05] poolie: I haven't mailed it anywhere [08:05] ok let it go by sending it? [08:05] sure [08:14] * jml really really wants an SQL-like frontend to Bazaar [08:14] (except not enough to actually design and build one) [08:18] jml: select from revision where author like ... ? [08:18] yeah [08:18] or, a thing I wanted to refute a particular accusation [08:19] select from revision where message.startswith('release-critical') and author in (...) [08:19] except because of PQM you need the author of the second-to-left parent of the mainline revision. [08:19] which is a pita [08:20] also counts and averages and better time awareness [08:21] jml: bzr log -m '\brelease\b' :P [08:21] also bzr-search aims at this space, I'd be delighted to have a readline interface to it [08:21] lifeless: that log command is obviously not good enough [08:21] lifeless: because it doesn't restrict the set of authors. [08:21] jml: yes, thats true [08:22] igc and I and others want a query language we can make standard and reuse [08:22] ETIME [08:22] right [08:26] jml: are there ppa package branches? [08:26] [I have a piece of software; I'm going to upload it to a ppa; it would be nice if the branch I upload was clearly packaging] [08:28] lifeless: there aren't ppa package branches, per se. [08:28] lifeless: you can push to ~lifeless/ubuntu/karmic/software/branch though [08:29] or jaunty presumably? [08:29] or jaunty [08:29] or lenny [08:29] now, if the package hasn't been in ubuntu yet, will that fail? [08:29] (or whatever they call it) [08:29] lifeless: very good question. my guess is "yes" [08:29] lifeless: but I haven't tried. [08:30] let me know if I'm wrong :) [08:34] software is 'package' ? [08:37] jml: apparently subunit has been uploaded before, or the answer is 'no' [09:03] Hmm, bzr just isn't good at whacking-great-enormous files. === serg_ is now known as serg [09:15] Is there any way that bzr support for large sized files could improve? I know it's not the core use case, but a lot of people check large files into e.g. SVN, which copes well with them, and this can make interoperating with those repositories with bzr something of a trial. [09:16] awilkins: it will improve when jam lands a patch he has, but only by a factor of 3 or so; files that are large fractions of your memory require more radical changes [09:16] What kind of fraction? [09:17] My problem here is I think this repo has a single revision with about 600MB of data in it. [09:17] It's sitting at around 2.1GB in top and swapping around every so often.. :-) [09:18] to merge a file wit 600MB of content we need 1.8GB in memory, minimum. [09:18] (three copies) [09:19] Dammit, the server just dropped [09:19] * awilkins bites the edge of his shield [09:19] I think it's split into several 150MB files [09:20] I'll check it out the traditional way and see [09:21] Would it be a valid approach to write a class that merges using disk as an intermediary, and "mutate" the memory based operation into a disk based operation if it was consuming a lot of memory? [09:22] or just give up and conflict out [09:22] each 150MB file should be getting processed separately [09:22] 600MB files probably aren't text [09:23] awilkins: yes, that is a valid approach [with costs, but yadayadayada]. [09:23] Ah, ok, even better(ish) it's more like 25-40MB files [09:23] They are text files, they are just big ones [09:23] They're CSV tables [09:23] awilkins: ok, if *that* is giving headaches its not the 'big file' bug [09:23] awilkins: what bzr version? [09:23] This is bzr 1.14.1 plus whatever bzr-svn it ships with [09:25] ok [09:25] please file a bug [09:25] with plenty of data about reproducing if possible [09:25] It's probably bzr-svn [09:25] it could be bzr-svn [09:25] if you can simulate (e.g. fast-export fast-import, reproduce) it without bzr svn that would be good; if you can't it probably is bzr-svn :P [09:25] I suspect that most of this data was committed in a single revision in the source SVN repo [09:27] night all [09:34] Looks like 7 folder containing 150MB apiece of text files (60/60/25 MB) were committed in the same revision [09:34] Which is the revision it was choking on [09:37] awilkins: were you doing a pull from svn? [09:45] lifeless: Yes [09:45] lifeless: I just added a comment to the bzr-svn "Memory problems" bug [09:46] I suspect it's trying to process an entire revision in memory in one step [09:47] * igc dinner [09:47] awilkins: that makes sense to me [09:49] I don't think svn even breaks a sweat - it doesn't even consume enough memory to hold one of the files as far as I can see [09:49] But it doesn't have to do any "transcoding" or however you want to term it [09:52] bzr itself won't either [09:52] its likely a interface mismatch [10:05] is there a way to change the parent and push information for a branch without actually pushing/pulling? [10:05] I changed servers, and would like to point the projects at the right place in a one-off batch job [10:05] hack .bzr/branch/branch.conf [10:06] that sounds like it's inviting breakage [10:06] how so? [10:06] it's just an ini file [10:08] so no breakage? [10:09] a little bit of sed should be fine [10:09] or you could use the python API to set them [10:11] sed sounds easier for a one-off project like this. :) [10:11] * Solarion is leery of poking around in .bzr [10:14] thanks! === jelmer_ is now known as Guest40441 === Guest40441 is now known as jelmer__ [13:35] Any work on when bzr-gtk will be updated in the ppa? [13:35] *word === dahoste|away is now known as dahoste [14:03] vadi2: what's broken about it? [14:04] if I upgrade my bzr to ppa version, bzr-gtk stops working - I was told it needs an update in the ppa. [14:04] what bzr version does the ppa have? [14:04] I think 14 something and bzr-gtk is 13 [14:05] 1.14.1 for bzr in the ppa [14:05] vadi2: that should be sufficient, bzr 1.14.1 didn't change the API since bzr 1.13 [14:05] "0.95.0+bzr629-1ubuntu1" for my bzr-gtk package... but it complains when I install the bzr ppa [14:06] well, I tried it before, let me try again [14:09] magic! works now :) [14:09] here's what I had before for some reason: [14:09] (08:36:26 AM) vadi2: Hi. I upgraded my bzr from the ubuntu ppa, and all of the g* commands broke - it says gtk+ wants an api version of 1, 13, 0 while only 1, 14, 0 is available. But there are no upgrades available. [14:09] vadi2: you had bzr 1.14.0 which incorrectly claimed it broke compatibility with bzr 1.13 [14:10] ohh [14:36] jelmer: I'm a check committer now :P === dereine[OFF] is now known as dereine [15:28] I'm getting a run() got an unexpected keyword argument 'location' when I type in bzr.exe xmllog --limit=200 build.xml. I'm using xmloutput 0.8.3 and Bazaar (bzr) 1.14. Does anyone know what the cause is & how to fix it? [15:31] verterok, ^ [15:32] Jemsquash: do you have the traceback? [15:32] beuno: hi, thanks! [15:32] verterok, hi :) [15:33] 0.233 Traceback (most recent call last): [15:33] File "C:/tools/bazaar/plugins\xmloutput\xml_errors.py", line 61, in xml_error_handling [15:33] File "C:/tools/bazaar/plugins\xmloutput\__init__.py", line 356, in run [15:33] File "bzrlib\commands.pyo", line 937, in ignore_pipe [15:33] TypeError: run() got an unexpected keyword argument 'location' [15:35] Jemsquash: it shouldl be fixed in trunk (vila's magic patches :) [15:35] *should [15:35] I'll do a new point release tonight [15:36] Ok Thanks. Do I pick it up from http://verterok.com.ar/bzr-eclipse/update-site/ ? [15:36] Jemsquash: sorry, in bzr-xmloutput trunk :) [15:37] ah ok. [15:37] thanks [15:37] Jemsquash: also there is a new build of bzr-eclipse with the new and shiny send dialog (courtesy of Javier) [15:38] Jemsquash: btw, I'm working on bundling xmloutput in bzr-eclipse builds, so the only external dependecy is bzr itself ;) [15:38] hopefully I'll have it ready in a few days [15:42] send looks good. First time I tried it was from the context of a file & it told me 'send is not enabled in this context'. I was a bit confused at first until I thought about what it was about. It worked from the project level. [15:44] great! [15:45] Jemsquash: yeah, that is a generic context handling error, it might be good that some commands override the default message [15:46] yeah. Could it be disabled for that context? [15:48] Am I misunderstanding something? I see that the project menu has a lot more enabled than the file context menu. Is there a reason the send menu item is here? [15:49] Jemsquash: sure, check the performance preference page, there is a checkbox: action availability [15:49] ah ok. [15:50] Jemsquash: but you'r right, it shouldn't be in the file/folder menu, and that's just a config issue in the plugin xml [15:50] Jemsquash: could you file a bug about it? [15:50] Can do if you want. What's the performance penalty? [15:52] I'm assuming there is a performance penalty since the preference is in the performance preference panel. [15:55] Jemsquash: the filtering by file/folder/project is "free", the performance issue is related to bzr specific checks, like: only enable Switch in a checkou, or unbind in a boudn branch, etc [15:58] Does that mean you want me to raise a bug that the default for that value should be on? Or change the message so that it mentions the preference or just the fact that menus should be disabled based on context? [15:58] Jemsquash: no, that Send should only be present in the Project context menu [15:59] e.g: like Branch [15:59] OK. I'll raise the bug now. [16:00] Jemsquash: thanks! [16:00] np [16:10] hmm ... that's annoying [16:11] I can't use M-x dvc-diff from the editor bzr commit opens for me to write the commit message in :-( [16:13] also ... shouldn't "bzr pull -d foo" give an error if it can't resolve "foo" to a branch to pull into? [16:18] At work we use clearcase and when we do a merge and there are multiple conflict the merge tool is quite nice. You can do the 3 way merge and once complete you save and exit. The tool the automatically moves onto the next conflict. Is there any equivalent process when merging lots of conflicts in bzr? [16:21] Jemsquash: I use the extmerge plugin for the, bzr extmerge --all :) [16:24] What's the best way to run the test suite nowadays? Install testtools and subunut and whatever and use the parallel version? [16:25] Although then I have to remember how to spell "parallel". [16:25] * SamB wishes there was a tool designed simply to help VCS's call 3-way-merge tools [16:26] Thanks verterok. Do you use kdiff3 are the any that play nicer than others with bzr? Especially with the .THIS .OTHER .BASE files. On Windows that is. [16:26] SamB, Jemsquash: for conflict in `bzr conflicts --text`; do kdiff3 $conflict.BASE $conflict.OTHER $conflict; done [16:27] jam: well, I was actually thinking of how it would make using external merge tools with darcs easier ;-) [16:27] Jemsquash: don't know in windows, I use gvimdiff or meld [16:38] does anyone know what these damed ~1~ files are? ? [16:38] Mez, yes, when you revert, you get those [16:38] in case you didn't mean to :) [16:39] Thanks verterok & jam. You've been very helpful. I'm off to bed. [16:40] :'( [16:41] bzr clean-tree doesn't clean them up [16:41] bzr ignored | xargs rm [16:41] Be sure to run "bzr ignored" first :-) [16:41] Mez: bzr clean-tree --ignored [16:41] actually, bzr clean-tree --detritus is what you want [16:41] :P I just found that [16:42] Lo-lan-do: cd $(bzr root); bzr ignored | awk '{print $1}' | xargs rm [16:42] :P [16:43] "bzr ls --ignored" will save you the awk process [16:43] :P [16:43] Hmm. bzr root. I've been hoping for that for quite some time. [16:44] Lo-lan-do: it's been there for ages [16:44] Maybe I've just been missing it for quite some time :-) [16:44] Is there a similar command for getting to the root of the branch (in case of a lightweight checkout)? [16:45] it's the same, I'm pretty sure [16:45] Apparently not. [16:45] I could of course parse the output of bzr info, but yuk. [16:59] Maybe I could hack that. [17:11] Isn't there an --xml for that? [17:12] Aha, `bzr xmlinfo` [17:12] (in the xmloutput plugin) [17:17] * awilkins loves the Jaunty installer bit that resizes your windows partition and inserts an Ubuntu one [17:17] Cool, my VPS can run "bzr selftest --parallel subprocess" in 8m8s. :) [17:18] My PC has been going for...10.5 minutes and is only done with 13k tests. [17:19] jelmer: I haven't got those benchmark results yet sorry - still converting emacs to --development7-rich-root so I have a large dataset to benchmark against [17:19] night all [17:20] igc: Good night. :) [17:48] ]/join ubuntu [17:57] Anyone interested in a --branch-root option for bzr root? [17:58] It basically returns the directory where the branch.conf is to be looked for. [17:59] An implementation is at http://pastebin.com/f37535a4f (inspired by cmd_info) [18:01] Works for standalones, branches in repositories, and lightweight checkouts. Not sure what more it should do. [18:02] abentley, if I wanted to initialize a shared repo in brisane-core, how do I do that? [18:03] rockstar: "bzr init-repo --development6-rich-root", I guess? [18:04] Peng_: or --development-rich-root, which is an alias of that. [18:04] development6 != 1.14? [18:04] Lo-lan-do: I believe 1.14 was a working tree format change. [18:05] Lo-lan-do: brisbane-core is still a development format, not a fully-supported format. [18:05] I see. [18:11] vila, ping. Hello.. 'authentication.conf' is looked into ONLY when the user/pass is not given in 'bazaar.conf'. right? [18:11] cornucopic: right [18:12] vila, Cool. I am updating the bug report with clear description and how to reproduce. will ping you here once done. [18:12] Right. Lo-lan-do: 1.14 is the same as 1.9, except with a new working tree format that supports content filters. [18:13] cornucopic: it's even better if you write the *test* that reproduces the bug :) [18:18] do I have to add things to possible_transports myself? [18:18] i.e. if I do branch.Branch.open(location, possible_transports=possible_transports) [18:19] to I have to add a transport from the resulting branch to possible transports before opening the next branch, or is that done for me? [18:21] f not None, created [18:21] transports will be added to the list. [18:21] great [18:22] vila, yes. I have had a look at the test file..need to understand it a bit more to code up the test. [18:23] cornucopic: you may want to use 'bzr selftest -s bt.test_smtp_connection' to avoid running the whole test suite (but always run a bare 'bzr selftest' before submitting) [18:23] cornucopic: 'bzr selftest -s bt.test_smtp_connection --list' may be useful too [18:30] abentley: I added some comments to NestedTreesDesign [18:34] vila, I lost my 'cornucopic' nick for sometime..I have updated the description. Its clearer now. [18:36] Bzr hackers: is there any way my "bzr root --branch-root" could be reviewed/merged, or should I turn it into a new command in a local plugin? [18:36] Lo-lan-do, submit it for review! [18:37] push up a branch, and file a merge proposal === amit_ is now known as cornucopic [18:40] vila, ah. got it back. :) [18:45] cornucopic, now I have to figure how to write the test case to produce the bug :) [18:46] beuno: Doing that. [18:49] cornucopic: again, look at bzrlib/tests/test_stmp_connection.py for example of smtp connection tests and also in bzrlib/tests/test_config.py for example of configuration files tests [18:50] vila, Ok. Please take a look the bug description and let me know if you find anything ambiguous [18:54] cornucopic: that's fine, we never had so precise bug descriptions :-) [19:02] jam: Thanks! [19:20] Um. bzr branch lp:bzr is at 270 MB and still not done. Should I worry? [19:21] (Downloaded, that is) === amit_ is now known as cornucopic [19:21] [/ ] 283113kB @ 766kB/s | Transferring:Walking content. 24646/24646 [19:22] Lo-lan-do, not at 766Kb/s :) [19:22] That's just a peak [19:23] Anyway, the progress bar being where it is after probably 15 minutes leaves me worried. [19:23] jam: You ask "Does ``bzr commit foobar`` commit just the subtree foobar?" but foobar is a tree, not a subtree. [19:24] abentley: so I probably misunderstood that exact statement, but what *does* "bzr commit subtree" do, and how do you get the various permutations of what you might *want* it to mean [19:25] Hello. I'm having a persistent " Sorry, there was a problem connecting to the Launchpad server. " [19:25] All day long =( [19:25] javierder, production servers are having problems. You can use edge [19:25] jam: I would expect it means "commit all the changes in the subtree, commit changes to the tree-reference". [19:25] beuno, ok, thanks! [19:26] jam: I don't have any particular answers for the others, but I presume we can add options. [19:26] javierder, there, you should be automatically redirected to edge now [19:27] beuno, magic!(?) [19:27] beuno, thanks again! [19:29] beuno: Patch sent, without an URL for a public branch. I grew impatient after 410 MB downloaded. [19:30] Now back to trying to understand bzr-upload-pack and get it to work. === abentley1 is now known as abentley [19:44] vila, Can I discuss the 'test_smtp_password_from_auth_config' with you [19:44] ? === amit_ is now known as cornucopic [19:51] cornucopic: shoot :) [19:52] vila, In 'self.get_connection' it is creating the authentication.conf contents right? [19:53] vila, or the bazaar.conf? [19:55] cornucopic: bazaar.conf (you should have a look at bzrlib/config.oy if only to know the classes declared there and their associated files) [19:57] vila, Ok! [20:32] from the streaming pull bugs mail: [20:32] If you are using stacked branches, then using bzr versions before [20:32] 1.13.2, 1.14.2 or 1.14 and above may create repositories that cannot be [20:32] streamed from. [20:32] A fix for this issue will be included in bzr 1.15rc1, to be released [20:32] on or about the 15th of May. [20:32] "before ... 1.14.2 or 1.14" looks odd [20:33] and does the "fix" in the second 'graph refer to a fix that will mean the server can stream from affected branches without the fix script? [20:33] rather than being a fix for the problem of creating such branches in the first place [20:35] vila, please take a look at http://pastebin.com/d4b9e5bce. [20:37] cornucopic: 1) don't modify an existing test, add a new one instead [20:37] vila, you mean a separate file? [20:37] 2) Create the AuthenticationConfig from a text file, you can use triple quotes to create multi-lines strings without embedding the \n [20:38] cornucopic: no, a separate method whose name begins with 'test_' [20:38] vila, the one you see is create by me! [20:39] Ho sorry, good then [20:39] cool. [20:39] my eyes didn't catch the /password/server/ [20:40] 3) you want to test that the correct user/password is selected, testing the _smtp_server is not relevant [20:42] 4) that means you should the auth configurations before calling get_connection() [20:42] s/should/should create/ [20:43] 5) you can then test _smtp_username, _smtp_password [20:43] 6) you add an additional test to check that if the password is not specified the user is prompted (remember that it was *your* use case :) [20:45] no wait, we already have the test prompting for the password, instead we want to cross tests server with and without port [20:46] cornucopic: ^ [20:48] vila, we can continue here,,, [20:50] amit_: ouch what is the last message you got ? [20:51] vila, 4) that means you should the auth configurations before calling get_connection() [20:51] vila, (my Linux kernel confgs have been tossed up, so I keep getting disconnected by my PPPD) [20:52] 21:42:41 < vila> s/should/should create/ [20:52] 21:43:09 < vila> 5) you can then test _smtp_username, _smtp_password [20:52] 21:43:52 < vila> 6) you add an additional test to check that if the password is not specified the user is prompted (remember that it was *your* use case :) [20:52] 21:45:50 < vila> no wait, we already have the test prompting for the password, instead we want to cross tests server with and without port [20:52] amit_: stop messing around with kernels :) Use a stable distribution ! [20:53] LarstiQ: thanks :) [20:53] vila, I have sobered down quite a bit and have stopped living on the bleeding eldge :) [20:54] vila, just that 'apt-get' makes it so easy :) [20:59] vila, but it prompts the password, which is just the way it should behave. Why do we test it? (My usecase didn't know about authentication.conf' ) [20:59] vila, If you see in the description of the bug, its the 'host:port' issue, the earlier modification that I proposed is not required at all [21:02] amit_: did you update the test ? Can you pastebin it again ? [21:02] vila, I interchanged the last two lines, as you suggested. [21:02] vila, nothing else.. [21:03] the last two lines are: [21:03] # [21:03] #conn._connect() [21:03] # [21:03] self.assertEqual('mail.com:25', conn._smtp_server) [21:03] # [21:03] vila, I have interchanged them and uncommented out conn._connect() [21:06] amit_: but you use the same object to connect twice, since the test uses a fake smtp server, it's better to connect only once [21:07] amit_: in fact you shoudn't use _connect() here, only get_connection() [21:07] vila, twice? the connection is done only in conn._connect() right ? I don't understand...:( [21:08] vila, get_connection actually connects? ah..why so? [21:08] amit_: ghaa, no, sorry, let me concentrate on that [21:08] Am I right in understanding there's currently no API to unset an arbitrary value from a configuration file? [21:09] vila, Okay ! [21:09] vila, from what I see, it returns a connection object.. [21:11] amit_: I'm re-reading the other tests, so, you still need to test that, if smtp_server embeds the port we still can match auth.conf (ports should never be embedded there, they *can* be specified explicitly though) [21:13] Hi guys, I have a question. [21:13] helebek: That's cool, since someone probably has an answer. :) [21:14] When I try to do "bzr init" in a folder (in dos prompt in windows), I get an error saying, "bzr: ERROR: [Errno 2] Can't create tunnel: The system cannot find the file specified." [21:14] It seems a little under described to me, or maybe I am not understanding it. [21:15] The folder is on a mapped network drive. [21:15] However, I can do the same operation on another folder in the same drive. [21:15] you mean to say, even him smtp_server embeds port, there can always be a explicit 'port' declared? [21:15] vila, ^ [21:16] vila, s/him/if [21:16] in authentication.conf, you use 'host=example.com, port=12', not 'host=example.com:12' [21:18] vila, That case will probably work, but the bug is in the case in which the port is embedded in 'host'. So, shouldn't the test only test that ? (I could make one addition to see that 'port' is 'None' ). What do you say? [21:19] amit_: embedding the port in 'host' *is* a different bug (you're welcome to file it too :-), let's concentrat on that one [21:20] Never mind, my question. The problem is solved when I deleted the ".svn" directory from the target folder. I think it had weird permissions. [21:20] it's legal to use smtp_server=example.com:1234 [21:20] Thanks any way. [21:20] amit_: we need to fill the gap between smtp_server allowing the port and authentication.conf not allowing it [21:21] amit_: if only the host is speficied in authentication.conf it should still match [21:22] amit_: that's the actual bug so your test should fail because we can't get the password from auth.conf with only host specified [21:22] vila, I think I am confused about which bug to squash :( [21:22] amit_: then you can fix the code so that get_user() is called with host and port splitted which will allow auth.conf to match [21:23] vila, could you please modify the bug desc. https://bugs.launchpad.net/bzr/+bug/372800 ? That will help me. [21:23] Ubuntu bug 372800 in bzr "Wrong behavior of SMTP authentication during post commit email" [Undecided,In progress] [21:23] amit_: the bug is to call get_user() with a host embedding a port instead of separate parameters for host and port [21:24] https://bugs.edge.launchpad.net/bzr/+bug/372800/comments/3 [21:24] Ubuntu bug 372800 in bzr "Wrong behavior of SMTP authentication during post commit email" [Undecided,In progress] [21:24] amit_: The simplest approach seems to be to extract the port in smtp_connection.py just before calling auth.get_user() (auth.get_password() can reuse that). [21:26] vila, what about the test case that I just produced to reproduce the bug? Which bug is it reproducing anyway? (Isn't the bug filed yet? :) [21:26] vila, Is it reproducing this: >> amit_: embedding the port in 'host' *is* a different bug (you're welcome to file it too :-), let's concentrat on that one<< [21:27] I meant let's concentrate on #372800 [21:27] vila, Yes. So, my test case is reproducing the bug with 'host:pair' ? [21:27] jelmer: hello [21:28] jelmer: bzr-git seems to be working fairly nicely now [21:28] jelmer: seems very cpu dominated, but i guess that's mainly down to not using a chk format yet? [21:28] amit_: your test use mail.conf in bazaar.conf and mail.com:25 in the auth.conf, that's not what you described in #372800, that's the opposite [21:29] mwhudson: Which branch do you get dulwich from? [21:29] Peng_: trunk, i think [21:29] vila, Its one of the 2 cases described there. [21:29] vila, the vice-versa is also true [21:30] Peng_: http://people.samba.org/bzr/jelmer/dulwich/trunk/ r296 [21:30] amit_: no the vice-versa is another bug, host:port is not *valid* in auth.conf [21:30] mwhudson: Oh, thanks. I tried that yesterday but it didn't exist or something. [21:30] vila, I see. But it works? that's the bug ? [21:30] What works ? [21:31] Peng_: well, it existed the day before that i think [21:31] oh, using host=mail.com:25 is not recognized as an error in auth.conf, yes, that's the other bug [21:32] vila, fine. I will file it with the test case :) [21:32] mwhudson: Yeah. it exists again right now. [21:32] amit_: you'll need another test for that, in test_config.py [21:33] amit_: but let's fix the first first :) [21:33] vila, to check whether host is host:port ? [21:33] vila, Yes :) [21:34] vila, so, test case for the first bug.. === abentley1 is now known as abentley [22:13] I'm having an issue setting up a bzr server which two people have ssh accounts on. We can't get the file permissions right. After going through a lot of work to get a root repos dir group-owned by a user group both of us belong to with sticky group permissions, and setting our umask to include group write permissions by default. Even with this when we run bzr+ssh:// commands group-writable isn't being applied [22:14] It appears that bzr+ssh:// isn't using our ssh .profile umask setting [22:15] There basically appears to be no straight forward way to have a server with bzr repos and branches be shared among two different user accounts that are being accessed via ssh. === dahoste is now known as dahoste|away [22:17] eferraiuolo: I also gave up at some point, and made a cron job that fixes everything every hour [22:17] mwhudson: hey [22:17] mwhudson: cool [22:17] mwhudson: yeah, that's indeed most likely related to not using a chk format [22:18] eferraiuolo: something that has worked out better for me is bzr+https [22:18] mwhudson: and CPU is always going to be the problem for bzr-git [22:18] eferraiuolo: through apache I think its possible to setup proper user permissions [22:18] mwhudson: as it has to convert between git and bzr serialization [22:19] AmanicA: bzr+https, is that webdav that would allow writes? [22:19] mwhudson: network usage is bandwidth bound and memory usage should be O(delta) [22:19] eferraiuolo: no just fastcgi [22:20] it allows writes [22:21] eferraiuolo: though maybe you can use webdav, but I don't really know [22:22] what webdav is and what it does [22:24] eferraiuolo: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#serving-bazaar-with-fastcgi === jfroy_ is now known as jfroy______ [22:30] jelmer: subvertpy and bzr-svn in the daily PPA, but the jaunty ppa branch failed with ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'"), so that's missing currently === jfroy______ is now known as jfroy [22:49] hello all [22:49] hi poolie [22:50] hi poolie [22:51] james_w: somebody else was maintaining the jaunty ppa branch I think, and created it from scratch (no relation to bzr-svn itself) [22:51] moin poolie [22:51] poolie: I'd like to talk to you about stacking and brisbane-core at some stage [22:51] jelmer: ah, ok. I'll take a look another time when I get fed up of the failures and probably work of the Debian branch or something [22:57] hi thumper [22:58] jam, are you still around? want to chat? [22:58] hi jelmer [22:59] development-rich-root doesn't support stacking? [22:59] emmajane: the thing about fonts is interesting but it's not really a bug... [22:59] james_w: nope, not at the moment [22:59] damn damn damn [22:59] poolie, I did say feature request. [23:00] james_w: yes [23:00] james_w: want to fix it? [23:00] heh [23:00] thumper: I wasn't aware of that when we were in London [23:00] james_w, lifeless is working on that soon i think... [23:00] james_w: neither was I [23:00] that means I can either push up large branches that stack, or smaller ones that don't [23:01] smaller ones was better for other reasons as well, but I very much doubt they are small enough to not explode the disk space usage [23:02] I should probably work in the latest non-development rich root format I guess? [23:02] james_w incidentally you have bzr pqm access now, not sure if you knew [23:02] poolie: you mean jml? [23:02] I've had mine for a while :-) [23:03] I should be doing a few more reviews though [23:05] hey poolie, yeah I'm around for a bit [23:05] (Guess I had my volume muted) [23:08] no i meant you james_w, i was just updating the RT list as wasn't sure if you knew [23:09] ah, I do, thanks [23:09] hi [23:09] poolie: what am I working on soon ? [23:10] let me check if it's actually true :-) i was referring to b-c stacking, but i only remember you mentioning it [23:11] It came up yesterday when I was talking with thumper about some of the implications of moving a trunk to bbc today [23:11] Its not in my personal pipeline at all [23:11] Its a disk format capabilities thing; I think its in the vila/jam/igc grouping [23:12] igc seems to agree, but noone seems to have it targeted to do [23:16] are there in-efficiencies in bbc->older format transfer? [23:16] james_w: stacking is done at the serialisation layer, so we can't [yet] stack cross serialisers [23:17] I remember being partially upgraded over one format change was terribly inefficient [23:17] james_w: secondly, stacking is disabled in bbc itself and it needs to be enabled, fixed and tested [23:17] what's your estimate for that work? [23:17] bbc-> older may be slow, it generates full xml on the way [23:18] ok [23:18] james_w: I don't have an estimate for it at the moment [23:18] spiv and I have a branch that is aiming at fixing bbc<->other formats to be more efficient over the wire [23:18] ok [23:19] we had decided to go with bbc for all package branches, but I don't think we can do that currently [23:19] james_w: yeah, we were just talking about [23:19] I'd like to understand the various implications so that we can make a sensible decision of how to proceed [23:19] james_w: no stacking is a deal-breaker. [23:19] hey jml [23:20] (oh look, package branches auto highlights) [23:20] jml: I agree [23:20] heh :-) [23:20] james_w: so, I'd suggest 1.9-rich-root [23:20] that's what I am thinking [23:20] lifeless, poolie: any thoughts? [23:20] that means a couple of things: [23:20] 1. an upgrade step once bbc is stable [23:21] we will have needed development6 -> 2.0 upgrade, but that is less work I assume [23:22] and would have fewer issues about inefficiencies in a partial upgrade situation [23:22] starting with rich roots is good [23:22] it will mean you don't have a million little root changes [23:22] 2. I've forgotten 2 [23:22] [I mean fresh imports into rr] [23:22] it's not as good :-) [23:23] we don't get to help you dogfood on a massive scale [23:24] jam: ping [23:25] poolie: if you want skype let me know ;P [23:27] lifeless: do you agree on 1.9-rich-root then? [23:28] james_w: in the absence of vila/igc/jam standing up and saying hallelujah I will have stacking working by tuesday. [23:28] ok, thanks === mwhudson_ is now known as mwhudson [23:37] lifeless: will that be in time for 1.15? [23:38] is the 15th the date for 1.15rc1? [23:39] thumper, lifeless, i filed bug 373455 as a handle [23:39] Launchpad bug 373455 in bzr "brisbane-core doesn't support stacking but should" [Undecided,New] https://launchpad.net/bugs/373455 [23:40] poolie: perhaps these items are key enough we should use bugs to track them all [23:40] poolie: the 'before release items' I mean [23:40] yes, i think so [23:41] except i dislike bugs like "think about X" [23:41] how do you know when it's done [23:43] when your done thinking:) [23:48] poolie: I do to [23:48] poolie: so we shouldn't have ones for thinking about [23:48] lifeless: jam said he'll pass `log DIR` back to ian with some thoughts and look at stacking [23:48] if the thinkng would result in an importance decision, make the bug critical [23:48] probably not tonight though === dereine is now known as dereine[OFF] [23:49] and we can then think about it; if its not critical we drop the importance [23:49] how does that sound? [23:53] sure, i didn't want to get too meta [23:53] i think as long as there is a predicate like "decide whether or not to do XX" then it's actionable [23:54] poolie, you're far too practical. :) [23:54] I have a branch that I haven't wroked on in a while, but that has significant changes from trunk. I'm about to start work again on the branch, but I want to merge in the changes from trunk since I created the branch. The problem is, when I merge from trunk, all the new files that I've created in the branch get removed. What are my options? [23:54] awmcclain: really? [23:54] poolie: Yup. [23:55] that shouldn't happen, without them being conflicted or something [23:55] are these plain bzr branches [23:55] poolie: trunk is a bound branch (it's a checkout) [23:56] but no foreign branches? [23:56] poolie: From another VCS? No. [23:59] awmcclain: so, unless there's a bug in bzr, those files shouldn't be removed unless your changes have already been merged into trunk and then removed there..