[12:03] btw there's some docstring corrections in my pack-repo branch [12:04] I'm thinking about this knit change [12:04] heres what I plan: [12:04] - add a new subclass of knit that writes a different knit record but can read either [12:04] - add a new interknit to convert data from regular knits to this [12:05] change packs to use the new knit [12:05] abadger1999: Thanks. I've emailed the other contributors, to confirm it's okay with them (though I understand I'm not required to by law). [12:05] That's excellent. Thanks for helping me clear that up. === kiko [n=kiko@canonical/launchpad/pdpc.supporter.active.kiko] has joined #bzr === kiko is now known as kiko-afk [12:11] I am still getting the same error on windows : bzr: ERROR : ERROR 2 The system cannot find the file specified [12:11] has anyone seen this error? [12:11] no [12:11] if you run with BZR_PDB=1 you can drop into pdb and poke around [12:11] or check .bzr.log for a backtrace [12:11] it's windows though [12:12] ye [12:12] s [12:12] bzr version will show where the log file is [12:12] (bzr --version) [12:13] abentley: BTW, I have a little patch that makes python setup.py sdist include the COPYING file [12:13] http://toshio.fedorapeople.org/packages/trac+bzr-install.patch [12:13] intriguing! thanks. [12:15] I don't understand your setup.py change. [12:16] I'm not sure why, but setuptools is deciding not to include COPYING in the tarball even though it is listed in data_files [12:16] moving it from data_files to MANIFEST.in makes setuptools more cooperative. [12:17] weird. [12:17] There's also some setuptools documentation that makes me think that data_files is for real data_files that the python module depends on at runtime [12:18] While MANIFEST.in can feed files into the tarball that aren't put into the installed module tree. [12:18] Okay, I'll take it on trust. [12:19] heh. Thanks :-) [12:30] lifeless: I don't know if the bzr.dev deb Recommends xdg-utils, but it should. (The recent bzr send updates use xdg-email if possible) [12:30] probably doesn't. [12:30] I haven't started building dailies yet though [12:30] Okay. [12:31] Just thought of that, reading today's IRC log. [12:31] thanks [12:31] uhm, where to record this :) === cprov is now known as cprov-out === Janzert [n=Brian@75-134-223-54.dhcp.trcy.mi.charter.com] has joined #bzr === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr [12:42] does anyone know why someone would be getting these errors: http://paste.ubuntu-nl.org/35614/ [12:43] it looks like it's trying to run putty and failing === igc [n=igc@ppp121-45-197-71.lns1.bne1.internode.on.net] has joined #bzr [12:43] morning [12:44] poolie: I believe it's related to: https://bugs.launchpad.net/bzr/+bug/107155 [12:44] Launchpad bug 107155 in bzr "_get_vendor_by_inspection incorrectly determines "plink" to be the executable" [Medium,Confirmed] === bac [n=bac@canonical/launchpad/bac] has joined #bzr === sabdfl [n=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has left #bzr [] [12:48] hi igc [12:49] it is :D [12:49] beuno, yes, that looks like it [12:49] morning poolie. Feeling better today? [12:49] suggest you try the workoround [12:49] it fixed it for him, thanks poolie [12:49] igc: no :) [12:49] beuno, could you try to write a patch for it that changes the code that determines the ssh version ? [12:51] poolie: I can give it a try, yes :D [12:51] I'll have to find a pc with windows around the office to test it, but I guess it shouldn't be too hard === jml [n=jml@ppp108-61.static.internode.on.net] has joined #bzr === abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has left #bzr [] === p4tux [n=p4tux@189.169.75.18] has joined #bzr === abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has joined #bzr === BjornT [n=bjorn@canonical/launchpad/BjornT] has joined #bzr [01:27] would anyone have a guesstimate for when win32 0.90 installers will be up? [01:28] Janzert, typically they come within a day or two of the release [01:28] I'm not sure who is building them this time [01:28] alexander haro? [01:29] ok, thanks === orospakr [n=orospakr@bas4-ottawa23-1167864821.dsl.bell.ca] has joined #bzr [01:32] yah [01:32] might need a oing === mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr === mw is now known as mw|out === tonyy [n=anthony@ubuntu/member/tonyyarusso] has joined #bzr === tonyy is now known as tonyyarusso === spiv [n=andrew@canonical/launchpad/spiv] has joined #bzr === markvandenborre [n=mark@ubuntu/member/markvandenborre] has joined #bzr [02:24] ok, should have our 0.90 debs up shortly, last build glitches for feisty gutsy sid seem fixed === lifeless foods === n2diy__ is now known as n2diy [02:35] btw, in case anyone cares I asked Apress and O'Reilly if they had any plans for a Bazaar book. Both said no, not at this time, but were open to proposals. [02:37] if they pay me a million dollars I will write two books on bzr === bac [n=bac@canonical/launchpad/bac] has joined #bzr === orutherfurd [n=orutherf@dsl092-164-022.wdc2.dsl.speakeasy.net] has joined #bzr === beuno [n=beuno@201-213-170-7.net.prima.net.ar] has joined #bzr === NamNguyen [n=namnt@148.177.217.131] has joined #bzr [03:34] spiv: hows that digit ? === bac [n=bac@canonical/launchpad/bac] has joined #bzr [03:35] lifeless: in motion ;) [03:36] digit? === lifeless defers to spiv [03:38] I used a phrase like "I need to extract my digit" in a call yesterday when talking about getting the latest hpss fetch optimisation work up for review. [03:44] lifeless, there's an extension of look before you leap [03:44] which is about giving nice error messages if someone uses an api wrongly [03:45] for example if you give just a string rather than a tuple to an index as a key, [03:45] it just fails to match, or gives you a 'weird' error when trying to insert [03:45] i would have thought this was a bug, but it's probably not - checking everything takes time [03:45] and once i realize it's my bug it won't happen again [03:46] right [03:46] you do pay the cost of developers being more mystified when they have bugs though [03:47] so possibly we should arrange to run with -O in normal use, but with assertions on in development [03:47] so I'd be much happier if "asd"[0] [0] errored [03:47] that sorta thing [03:48] well in this case its a string blackhole [03:48] (1,2)[0] [0] errors [03:48] another thing like that was the patch from aaron i reviewed a while ago [03:48] things that are meant to yield a sequence of strings can silently return just a string instead, potentially making you do much more work [03:48] yup [03:49] my pet wish for python - have a byte data type. not *bytes*, *byte*. [03:49] mm [03:53] woot [03:53] so gzipping is a net win [03:53] we spend 4m20 seconds in IO if we don't gzip [03:53] 1m40 if we do [03:57] this is for a copy of mozilla, naturally === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr === Janzert [n=Brian@75-134-223-54.dhcp.trcy.mi.charter.com] has left #bzr [] [04:15] poolie, I'm finishing up the patch for bug #107155, should I just send it to the ML with [MERGE] in the topic, or would you like to review it? [04:15] Launchpad bug 107155 in bzr "_get_vendor_by_inspection incorrectly determines "plink" to be the executable" [Medium,Confirmed] https://launchpad.net/bugs/107155 [04:16] beuno: just send to the lsit; things get reviewed there :) [04:17] lifeless, should of guessed, thanks. I'm a bit nervous as this is actually changing code in bzr, I'm not that confident yet :p [04:20] lifeless, do you want to talk about gzip some more? === igc lunch [04:25] sorry, no browser: [04:25] gzip each hunk [04:25] real 5m53.774s [04:25] user 4m7.047s [04:25] sys 0m12.901s [04:25] no gzip [04:25] real 7m8.611s [04:25] user 2m41.846s [04:25] sys 0m16.821s [04:25] gzip entire contents [04:26] real 4m46.153s [04:26] user 4m29.457s [04:26] sys 0m11.961s [04:26] so we spend nearly 50% of our user time doing gzip [04:27] but overall time is IO bound for mozilla's tree if we don't gzip [04:43] lifeless, should of guessed, thanks. I'm a bit nervous as this is actually changing code in bzr, I'm not that confident yet :p [04:43] (sorry, wrong windows) [04:43] :) [04:44] irssi still confuses me with the actual terminal sometimes, so up + enter is dangerous :p [05:06] igc: ping [05:07] hi abentley [05:07] Hi there. === bheekling [n=bheeklin@220.225.2.107] has joined #bzr [05:08] I wanted to try and get a clearer idea of the distinction between "user guide" material and "user reference" material. [05:08] the 'reference' should cover every detail ... [05:08] Does bzr work from behind an http proxy? [05:08] ie, if I set the http_proxy etc variables [05:09] 'cause the hook document was definitely meant as a how-to. [05:09] but not bother explaining how to use those details [05:09] bheekling: yes [05:09] how-to is definitely 'User Guide' material [05:09] it doesn't seem to be working for me, it says "bzr: ERROR: Transport error: Server refuses to fullfil the request" [05:09] abentley: I'm pleased to see hooks added to the User Guide ... [05:09] bheekling: interesting. You might try http+httplib [05:10] rather htan just http [05:10] The list of actual hooks though also lives in the Reference I feel [05:10] and please file a bug with as much information as you have - what proxy server [05:10] igc: I think a certain amount of reference material is necessary to any how-to. [05:11] yes. At least enough to explain things and give samples [05:11] lifeless, what do you mean by http+httplib? [05:12] I guess I could ignore all the other hook types and just talk about the push hook. [05:12] abentley: if and when we get lots of hooks, I don't think I want all of them in the Guide [05:12] And then link to a hook reference. [05:13] That sounds good [05:14] bheekling: 'bzr OPERATION http+urllib://server/path' [05:14] What is strange but true is I often 'bzr pull' my own patches off Bundle Buggy. The hook docs were written at work, but I'll finish them at home. [05:15] I download patches off BB all the time, even though their in my email somewhere [05:16] s/their/they're/ [05:16] igc: I download my own patches, though. [05:16] ok, you win :-) [05:17] can't beat that :-) [05:20] lifeless, it works with that, thanks :) [05:20] bheekling: can you please file a bug? [05:20] bheekling: specify what proxy you have if you know [05:21] lifeless, okay, I'll do that [05:21] thanks [05:29] lifeless, correction, it seems bzr works with my proxy just fine, that problem was a random fluctuation I think :) [05:29] Its importing happily now [05:42] poolie: any further thoughts re whether -D needs to stay a global option or not? I'm planning to make it a "standard option" instead of a global one unless I hear a reason not to [05:43] it affects everythin [05:43] so it should be global IMNSHO [05:44] ok - so it *must* remain global? [05:45] igc, hi [05:45] I think so, because we might do e.g. -Dcommand at some point, to track ui loading [05:45] if we're happy not to do that, then having it standard is ok [05:46] It seems to me that the limitations re global options are aceptable to -D [05:47] profiling is the most boringest thing [05:47] igc, i agree it's ok to change it [05:47] is there a particular motivation for changing it? [05:47] I can certainly see a case where parsing it before anything else would be required [05:47] poolie: just following up your email [05:48] ... where you thought out loud about 'maybe -D doesn't need to remain global' [05:48] IIRC that is [05:49] ok [05:49] annotations cost us heaps [05:49] $ rm -rf .bzr && bzr --no-plugins init --experimental && bzr --no-plugins add > /dev/null && time ~/source/baz/repository/bzr --no-plugins commit -m "Initial commit" 2>/dev/null [05:49] so poolie, given the feedback from lifeless, I'll leave it global [05:49] real 3m50.336s [05:49] user 3m34.897s [05:49] sys 0m10.941s [05:49] thats a 30 second improvement [05:49] on initial commit [05:50] just by not caching annotations [05:50] (4m23 to 3m50) [05:50] lifeless: interesting [05:59] lifeless: that's strange, because annotations do require sequence matching, but so does knit delta generation, and AIUI, they share the same sequence matching. [06:00] we do less string manipulation without annotations [06:00] because annotations are stored as line prefixes in the knit record [06:01] So even changing our annotation representation might help a lot? [06:02] potentially [06:02] lifeless, one thing you could try is using lzo compression [06:02] which uses less cpu than gzip [06:03] I found nearly no difference using one gzip file versus one-per-record [06:03] user 4m29.457s [06:03] user 4m3.963s [06:03] in fact, it went backwards [06:03] which was weird [06:04] Smaller working set, maybe. [06:05] lifeless, is there already a container record that says "give me the contents of the bytes record at (off,len)"? [06:06] poolie: EPARSE [06:06] do you mean API ? [06:06] my index tells me i want the record at a certain location in the container [06:06] yes, api [06:06] mistyped [06:07] pack.make_readv_reader [06:08] excellent [06:09] abentley: I don't think so; compressing the entire pack to a single zip should have nearly identical memory use [06:10] I htink there is still room for considerable noise [06:10] btw feisty gutsy sid repos on bazaar-vcs.org have bzr/bzrtools/bzr-gtk 0.90 now [06:10] lifeless: nice. [06:10] Edgy? [06:10] on my list [06:11] Ah. Not as easy to update, then? [06:11] not quite, got to back out some packaging changes that removed explicit versioning on depends [06:11] etch is the same? [06:12] yah [06:15] can we cast a vote with BB's web interface? [06:15] if you have an account; accounts are granted when abentley things you are sane [06:15] lifeless: i'm running bb on my machine [06:16] but i cant find any button to approve or decline a merge request [06:16] NamNguyen: Congratulations. AFAIK, that's the first independent install. [06:16] NamNguyen: You have to be logged in. [06:16] abentley: and i have logged in [06:16] ManNguyen: have a read of http://bazaar-vcs.org/IanClatworthy/CoreDeveloperHandbook. It should answer some of the questions you had yesterday [06:17] NamNguyen: ^^^ [06:17] So it should show you voting options from "reject" to "approve" on the request page. [06:18] i see a list of tabs, but i dont see any buttons [06:18] lifeless, it looks like i want something like that, but creating a BytesRecordReader, not a ContainerReader... [06:18] You need to go to the page for a particular request. [06:18] poolie: you want one record out? [06:19] well, possibly more than one [06:19] poolie: thats going to perform badly on high latency links [06:19] By clicking on the summary link [06:19] poolie: I don't see why it doesn't do what you need - you iterate the container to get the byte records you want [06:20] abentley: thank you, it's weird, now i can see it, i was so sure i didn't see that before [06:20] oh i see [06:20] No problem. [06:20] there's just one more layer... [06:21] I saw earlier you were upset it used procmail. Does your server not have procmail? [06:21] it's running on windows [06:22] Amazing. [06:22] so i wrote a pop3 client to manually poll at 5-min interval [06:22] and submit it to the web [06:23] Hmm. Maybe that makes sense for Windows. [06:23] yea, it doesn't have local maildir [06:23] but of course, then it wouldn't be "real-time" enough [06:23] cygwin has procmail if you want it [06:25] Well, you certainly can set up a local mail server on Windows, I just imagine it's a pain. [06:25] i'm using gmail apps [06:25] setup.exe from cygwin, select fetchmail and procmail; or at least thats what I'd do:) [06:25] it's better just to write a few lines of pop3 [06:27] lifeless: You shameless former-cygwin-developer, you :-) [06:27] :) === g0ph3r [n=g0ph3r@p57A0BCD6.dip0.t-ipconnect.de] has joined #bzr [06:30] NamNguyen: Well, if you've got any feedback on Bundle Buggy, I'd be interested to hear. But I'm off to bed in a minute. [06:30] linking bb and pqm [06:30] but, good night aaron === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #bzr [06:30] it'd be a complete solution for patch management [06:31] Ah. The reason BB doesn't submit to PQM is because usually by the time a patch has been approved, it no longer merges cleanly. [06:33] so a human is required after all [06:33] Well, for the Bazaar codebase at least. [06:34] it would be nice to have them integrated [06:34] someday [06:34] We are constantly updating the top of the NEWS file, so we get conflicts there. [06:35] the big difference is in userspace [06:35] hg spend 1 minute in userspace [06:35] we spend 3.5-4.5 [06:35] and is it mostly in gzip, or was that a wild goose chase? [06:36] we spend 1m20 in gzip [06:36] gzip each hunk [06:36] (with hot source files) [06:36] real 4m23.884s [06:36] user 4m3.963s [06:36] sys 0m11.649s [06:36] no gzip [06:36] real 7m8.611s [06:36] user 2m41.846s [06:36] sys 0m16.821s [06:36] gzip entire pack [06:36] real 4m46.153s [06:36] user 4m29.457s [06:36] sys 0m11.961s [06:37] "hot source files" === AfC has an image if Bazaar being used by a XXX movie company. [06:38] G'night, folkds. [06:38] folks, even. [06:40] night abentley [06:40] this is interesting [06:40] du -sh .bzr/ [06:40] 142M .bzr/ [06:40] thats the pack repo [06:40] hg had a 280M repo [06:41] with no annotations, naturally [06:41] poolie: up to a chat ? [06:41] (what are annotations?) [06:42] lifeless, in a sec [06:42] (heard them mentioned here a few times as having a space impact) [06:42] AfC, our memory of what revision changed a line [06:42] AfC: precalculated line -> revision id mappings [06:42] it makes gannotate and weave merge fast [06:42] AfC: what makes 'bzr blame' so fast [06:42] Huh [06:42] Neat. Thanks. [06:43] poolie: ok, ring my mobile please, I'm going for a walk [06:44] Pack repo of what? [06:45] mozilla === fullermd blinks. [06:46] That's freakin' small. [06:46] just the initial import i think [06:48] Not sure if you gents saw this on planet.gnome.org or elsewhere, but this post by Alex Gravely is excellent, http://www.beatniksoftware.com/blog/?p=74 [06:50] Oooh, ok. So it's merely "rather nice", not "mind-zonkingly tiny". === orospakr [n=orospakr@bas4-ottawa23-1167864821.dsl.bell.ca] has joined #bzr [07:11] du -sh . [07:11] 669M . [07:11] du -sh .bzr/ [07:11] 142M .bzr/ [07:11] so 550M for the source === ollie_r [n=orutherf@dsl092-164-022.wdc2.dsl.speakeasy.net] has joined #bzr [07:47] holy fuck this test is taking forever [07:47] a$ python -m timeit -s 'from bzrlib.tuned_gzip import GzipFile; from bzrlib.osutils import pumpfile' "of=GzipFile('/dev/null', 'wb'); pumpfile(file('../mozilla.tar', 'rb'), of); of.close()" [08:06] Hmm... bzr branch bzr+ssh:// seems to have a regression compared to bzr branch sftp:// [08:06] bzr branch bzr+ssh://fedorapeople.org/home/fedora/toshio/public_html/bzr-repo/packagedb/fedora-packagedb-stable [08:06] Copying repository content as tarball... [08:06] bzr: ERROR: Tags not supported by BzrBranch5('file:///var/tmp/fedora-packagedb-stable/'); you may be able to use bzr upgrade --dirstate-tags. [08:07] there is a bug on this === duckx [n=Duck@tox.dyndns.org] has joined #bzr === Basic_py [n=Basic@gatekeeper.real-time.com] has joined #bzr === ThomasAH [n=thomas@aktaia.intevation.org] has joined #bzr === siretart [i=siretart@ubuntu/member/siretart] has joined #bzr [08:08] Cool. I'll go look in launchpad. [08:08] (but no fix yet) [08:08] when spivs patches arrive they will fix it [08:12] excellent. Thanks for the info. === aadis [n=aaditya@122.167.214.15] has joined #bzr [08:16] (by deprecating that other api) === allenap [n=allenap@212.233.37.68] has joined #bzr === james_w [i=jw2328@jameswestby.net] has joined #bzr === tonyy [n=anthony@ubuntu/member/tonyyarusso] has joined #bzr === Lo-lan-do [n=roland@mirenboite.placard.fr.eu.org] has joined #bzr === tonyy is now known as tonyyarusso === sverrej [n=sverrej@tul-1x-dhcp016.studby.uio.no] has joined #bzr === dato [n=adeodato@84.120.252.50.dyn.user.ono.com] has joined #bzr === hstuart [n=hstuart@0x503e9913.virnxx12.adsl-dhcp.tele.dk] has joined #bzr === aadis [n=aaditya@122.167.214.15] has joined #bzr === BjornT [n=bjorn@canonical/launchpad/BjornT] has joined #bzr [09:55] spiv, hi? [09:58] poolie: hello [10:01] Hmm, will have to finish this email on the train. === spiv -> gone === dhon__ [n=dhon@60-240-97-109.static.tpgi.com.au] has joined #bzr === Lo-lan-do [n=roland@mirenboite.placard.fr.eu.org] has joined #bzr === herzel [i=herzel@gateway/tor/x-6f1ce91419018516] has joined #bzr [10:07] Hello all. [10:08] spiv, quick call? === mrevell [n=matthew@canonical/launchpad/mrevell] has joined #bzr [10:08] Is there a way to have a branch living under another directory than where the repository is stored? [10:08] no, it has to be contained within the repository [10:09] but, you can just put it elsewhere [10:09] this is more for avoiding confusion than technical reasons [10:09] Is that a theoretical impossibility? [10:09] Ah, no, good. [10:09] um [10:09] the revisions will not be transferred to the repository, but you can push them by hand [10:09] Actually, let me come up with the context. [10:09] let me make sure i understand? do you mean you want a branch whose history is stored in a directory that's not above the branch? [10:09] or you can create a lightwheit checkout of a branch elsewhere in the filesystem === ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #bzr === Topic for #bzr: The Bazaar Version Control System | http://bazaar-vcs.org/ | Bazaar 0.90 is out - http://bazaar-vcs.org/releases/src/bzr-0.90.tar.gz | Please complete the Bazaar User Survey - http://www.surveymonkey.com/s.aspx?sm=L94RvLswhKdktrxiHWiX3g_3d_3d === Topic (#bzr): set by james_w at Tue Aug 28 23:38:27 2007 === ipkiss [i=ipkiss@nat/ecp/x-800f2584e8d354ec] has joined #bzr [10:58] Lo-lan-do: yes, local push will create trees; there should be a bug on that [10:59] 'kay. I can live with that for now, since there's remove-tree :-) === aadis_ [n=aaditya@122.167.176.221] has joined #bzr [11:02] Ah, but bzr branch doesn't know about --create-prefix. === Lo-lan-do goes mkdir === herzel [i=herzel@gateway/tor/x-4dfb4447af28058a] has joined #bzr === luks [i=lukas@unaffiliated/luks] has joined #bzr === gabe_ [n=gabriel@91.84.56.254] has joined #bzr === Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr === dato [n=adeodato@84.120.252.50.dyn.user.ono.com] has joined #bzr === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr === dato [n=adeodato@84.120.252.50.dyn.user.ono.com] has joined #bzr === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr [12:30] is there a bzr-gtk 0.90 deb yet? [12:31] there is one in debian, not sure whether it's been uploaded to bazaar-vcs.org or ubuntu yet [12:31] ah === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr [12:31] thumper: Whoops, I lied. It's post-0.90, so no release yet. [12:32] mwhudson, jelmer, it's up in feisty at least [12:33] at least an apt-get upgrade fetched it for me this morning [12:33] it is? [12:33] ah, ok - so it's up on bazaar-vcs.org [12:33] oh [12:33] i don't have bazaar-vcs.org in my repo list [12:33] I live life dangerously ;) [12:36] well, i run bzr.dev most of the time... [12:36] bzr's managed to take a 30Mb tree and turn it into 51Mb just to import - is that ratio expected? [12:37] hmm, the bzr upgrade on my second box is failing, though [12:37] getting a: error in control file: `Files' value not specified at /usr/sbin/install-docs line 804, line 10 [12:41] elmo: i'm not quite sure what you mean by 'import' [12:41] that ratio does seem a little big, how compressible is the stuff you're importing? [12:42] mwhudson: bzr init; bzr add; bzr commit [12:43] mwhudson: it's /etc/gconf from a feisty fesktop; I suspect very compressible in a tar sense, less so in an indiviual file sense [12:43] i would expect that to increase the size of the tree by ~the size of the tree when gzipped [12:43] each file gzipped independently [12:44] hstuart: hm, me too === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr [12:46] so... who do we lynch? ;) === asabil [n=asabil@62.70.2.252] has joined #bzr === rocky [n=rocky@stjhnf0121w-142163169024.pppoe-dynamic.nl.aliant.net] has joined #bzr [12:48] hmm... the new feisty deb for bzr 0.90 seems busted? [12:48] slightly [12:48] lol [12:48] kk... just making sure someone knew ;) [12:48] you can solve it by adding this line to /usr/share/doc-base/bzr : Files: /usr/share/doc/bzr/html/index.html as the last line [12:49] not sure whether that's a decent fix, but it got the rest through installation here [12:50] ah thanks [12:51] here's a quick question ... when i install bzr deb it says "INFO: using old version '/usr/bin/python2.3'" because i manually installed python2.3 into /usr/bin ... /usr/bin/python points at python2.5 so why would it be saying that? [12:51] no idea, sorry [12:52] hm... time to ask #ubuntu i suppose ;) === rocky [n=rocky@stjhnf0121w-142163169024.pppoe-dynamic.nl.aliant.net] has left #bzr [] [01:02] hstuart: yeah, known problem (re install-docs). I think lifeless is on top of it. [01:09] ok, great [01:22] yes [01:22] had a missing output dir, but otherwise its looking good === mrevell is now known as mrevell-lunch === bac [n=bac@canonical/launchpad/bac] has joined #bzr === lunatic [n=francois@erlannic.irisa.fr] has joined #bzr [01:42] is it possible to cancel a pending merge ? === NamNguyen [n=namnt@cm246.delta196.maxonline.com.sg] has joined #bzr [01:43] lunatic, `bzr revert`, if I understood you correctly === herzel [i=herzel@gateway/tor/x-63e166cbfb8e4646] has joined #bzr [01:44] yes but revert does not stop the status message to display "pending merge" === ollie [n=orutherf@dsl092-164-022.wdc2.dsl.speakeasy.net] has joined #bzr [01:45] lunatic: it does, it does. at least here it does. [01:46] ok, so I perhaps have a strangeness here [01:46] thanks for all [01:51] lunatic: "revert ." will not clear the pending merge, only "revert" with no arguments. === Lo-lan-do [n=roland@mirenboite.placard.fr.eu.org] has left #bzr ["Leaving"] === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr [02:02] lifeless: The major costs in annotation, diffing and merging are sequence matching operations. It would be nice to serialize the get_matching_blocks output. Could you investigate how much that costs? [02:03] whats the difference between that and our deltas today? [02:04] hmm, actually 10pm here [02:04] lifeless, one trivial question [02:04] I'm going to finish my talk slides and sleep [02:04] remind me tomorrow :) [02:04] lifeless, does the new (packs?) format produce a smaller file than the knit? [02:05] our knits are now 250MB! [02:05] kiko-afk: launchpads ? [02:05] yes [02:06] 250M seems a little small to me [02:07] i think kiko just means the inventory.knit ? [02:07] $ ls -lh launchpad.packs/.bzr/repository/packs [02:07] total 347M [02:07] -rw-r--r-- 1 robertc warthogs 346M 2007-08-16 07:55 9e0bcc57d834ca3ae0b5f5844d82dedb.pack [02:07] ~$ ls -lh launchpad.packs/.bzr/repository/indices/ [02:07] total 25M [02:07] -rw-r--r-- 1 robertc warthogs 2.1M 2007-08-16 07:55 9e0bcc57d834ca3ae0b5f5844d82dedb.iix [02:07] -rw-r--r-- 1 robertc warthogs 2.1M 2007-08-16 07:55 9e0bcc57d834ca3ae0b5f5844d82dedb.rix [02:07] -rw-r--r-- 1 robertc warthogs 1.2M 2007-08-16 07:55 9e0bcc57d834ca3ae0b5f5844d82dedb.six [02:07] -rw-r--r-- 1 robertc warthogs 19M 2007-08-16 07:55 9e0bcc57d834ca3ae0b5f5844d82dedb.tix [02:07] du -sh on a knit repo: [02:08] 434M [02:08] with --apparent, 395M [02:08] so yes smaller [02:09] mainly due to a more effective dictionay compression on the indices [02:09] kiko-afk: the big win is the ability to partially read indices though [02:10] and for you, the streaming network push will reduce push and pull times dramatically [02:10] even without the smart server === Zindar [n=erik@stockholm.ardendo.se] has joined #bzr [02:10] lifeless, yes, just the inventory.knit file. [02:10] will that file be smaller? [02:10] that file does not exist anymore [02:11] are there any other large files like that? [02:11] yes, the .pack files :) [02:11] see the ls -lh I gave above [02:12] 346mb, wow. [02:12] its the entire database [02:12] including your sample debs :) [02:12] kiko-afk: I have sent instructions on how to dogfood packs to the bazaar mailing list [02:13] kiko-afk: .pack files are write-once [02:14] kiko-afk: they can be rsynced much more safely [02:14] lifeless, so we rewrite the 346mb to other files later? [02:14] though still not entirely as safe as using bzr itself; but I can push at 80% of rsync speed. [02:15] kiko-afk: yes, with logarithmic backoff. So for that 346MB file we're probably at 20K commits in it [02:15] or something like that. [02:15] so I'd expect a rewrite of it at 100K commits [02:15] until then its static === mrevell-lunch is now known as mrevell [02:16] lifeless, I wonder why using a single file that large is a good idea -- why shouldn't we have a smaller ceiling in order to avoid disk frag and just general problems with dealing with it. [02:17] the design rationale covers this I believe [02:18] in short, we have a smaller VFS requirement set, better control over physical disk layout, the ability to avoid many roundtrips to access data [02:18] by using a single file? [02:18] I'd be interested in reading that [02:18] we write a single file & its indices during commit [02:19] every 10 commits we collapse these to 1 files with 10 commits [02:19] every 100 commits we collapse 10x10 commits packs to 1x100 commit pack [02:19] etc [02:19] how interesting [02:19] does that not grow exponentially more expensive? [02:19] logarithmic backoff [02:20] i.e. when it's time to move the 1000 commits it will hurt? :) [02:20] it will, but: [02:20] bzr+ssh does it on the server [02:20] the move is cheap as its little more than a readv + write [02:21] when we do a push we create a single pack anyway, regardless of the number of commits being pushed [02:22] so its actuall less often than every 10 operations that this kicks in remotely, in the common case [02:22] we can only issue a single readv for one file at a time [02:22] our biggest network performance problem is latency [02:22] so consider moz - 55K files [02:22] 55K indices [02:23] thats 110K * RTT at a minimum === aadis [n=aaditya@122.167.176.221] has joined #bzr [02:24] 112000 commits - thats 4 .pack files, wit 4 indices each - we can in principal pull the whole data in 16 * RTT === niemeyer [n=niemeyer@200-103-134-216.ctame705.dsl.brasiltelecom.net.br] has joined #bzr === mw|out [n=mw@189.146.15.187] has joined #bzr === kanhaiya1kk [n=kanhaiya@freemap.in] has joined #bzr === deadwill [n=deadwill@146037.fln.virtua.com.br] has joined #bzr === kiko-afk is now known as kiko [02:46] kiko: anyhow, my performance figures so far back up this strategy; I can push from here to london only 25% slower than rsync, and thats without much tuning at all [02:46] lifeless, that's pretty sweet. good job! [02:46] lifeless, I was wondering if the larger pack size doesn't hurt on local operations too though -- it should of course [02:47] total data is the same [02:47] so the page cache pressure cannot be worse [02:47] however the number of files is smaller [02:47] so there's less dentries to care about === herzel [i=herzel@gateway/tor/x-3a60182277dca347] has joined #bzr [03:15] night all === aadis [n=aaditya@122.167.176.221] has joined #bzr === jamesh [n=james@canonical/launchpad/jamesh] has joined #bzr === bac [n=bac@canonical/launchpad/bac] has joined #bzr === bac_ [n=bac@rrcs-67-79-191-210.se.biz.rr.com] has joined #bzr === gldnspud [n=gldnspud@72.171.93.139] has joined #bzr === dato [n=adeodato@debian/developer/adeodato] has joined #bzr === bac_ is now known as bac === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr === mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr === bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr === ignas [n=ignas@office.pov.lt] has joined #bzr [04:06] how do i revert a bzr checkout to some older date? [04:08] bzr help revert [04:08] bzr revert -r 45 [04:08] followed by: bzr help revisionspec [04:08] for example? [04:09] I think he meant more "bzr revert -r date:yesterday", Gabe... [04:09] Or "bzr revert -r date:2007-08-14,17:10:14"... [04:10] bwinton: thank you [04:10] My pleasure! (It's amazing what bzr help will tell you... I swear it's one of my favourite features...) [04:11] bwinton: indeed, just that it was "Waaah, it's broken, how do i make it work again" situation ;) === aadis [n=aaditya@122.167.176.221] has joined #bzr === p4tux [n=p4tux@189.169.75.18] has joined #bzr === mw|out is now known as mw === hsn_ [n=radim@234.114.broadband5.iol.cz] has joined #bzr === mrevell is now known as mrevell-tea === orospakr [n=orospakr@132.213.238.4] has joined #bzr === jelmer [n=jelmer@ip120-149-212-87.adsl2.versatel.nl] has joined #bzr === mrevell-tea is now known as mrevell === hsn_ [n=radim@234.114.broadband5.iol.cz] has joined #bzr === dremon [n=alien@pankratov.speedxs.nl] has joined #bzr === cprov is now known as cprov-lunch === Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr === beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr === tchan [n=tchan@lunar-linux/developer/tchan] has joined #bzr === beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr === aadis [n=aaditya@122.167.176.221] has joined #bzr === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr === Starting logfile irclogs/bzr.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #bzr === Topic for #bzr: The Bazaar Version Control System | http://bazaar-vcs.org/ | Bazaar 0.90 is out - http://bazaar-vcs.org/releases/src/bzr-0.90.tar.gz | Please complete the Bazaar User Survey - http://www.surveymonkey.com/s.aspx?sm=L94RvLswhKdktrxiHWiX3g_3d_3d === Topic (#bzr): set by james_w at Tue Aug 28 23:38:27 2007 === herzel [i=herzel@gateway/tor/x-2fbd6f081b927074] has joined #bzr === kiko is now known as kiko-fud === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr === beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr === bac [n=bac@canonical/launchpad/bac] has joined #bzr === asak [n=alexis@201-26-117-66.dsl.telesp.net.br] has joined #bzr === g4bor [n=g4bor@chello089173070091.chello.sk] has joined #bzr === Peng [n=mnordhof@fl-69-69-148-134.dyn.embarqhsd.net] has joined #bzr === kiko-fud is now known as kiko [07:55] New bug: #135891 in bzr "bzr 0.9.0 package blows up" [Undecided,New] https://launchpad.net/bugs/135891 === herzel [i=herzel@gateway/tor/x-4a64597d1f5da008] has joined #bzr === sverrej [n=sverrej@tul-1x-dhcp014.studby.uio.no] has joined #bzr === Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr === aadis [n=aaditya@122.167.176.221] has joined #bzr === bratsche_ [n=cody@adsl-68-94-47-188.dsl.rcsntx.swbell.net] has joined #bzr [09:04] So, it looks like the problem I reported above (#135891) has resulted in a completely b0rked bzr install. [09:05] I'm getting this complaint when I try to run bzr: bzr: ERROR: Couldn't import bzrlib and dependencies. === g0ph3r [n=g0ph3r@p57A0B341.dip0.t-ipconnect.de] has joined #bzr [09:05] I guess the quickest/easiest thing I can do is download a tarball from the website and munge my PYTHONPATH. [09:08] I thought the quicker fix would be to add the Files line, and re-install... [09:10] (I'm looking up the message on gmane for you, but there was a thread about it earlier today...) [09:11] bwinton: Oh, maybe you're right. [09:11] bwinton: Thanks for looking up the message. [09:12] jkakar: try this: [09:12] (Sadly, it looks like the web interface is down...) [09:12] bwinton: I found it (in my mail), thanks. [09:12] # echo "Files: /usr/share/doc/bzr/html/*.html" >>/usr/share/doc-base/bzr [09:12] # dpkg --configure -a [09:12] No worries. I'm glad you could find it. [09:13] dato: Thanks! [09:13] I'm fairly confident it will work, but please report back :) [09:14] dato: Not quite. [09:14] $ sudo echo "Files: /usr/share/doc/bzr/html/*.html" >>/usr/share/doc-base/bzr [09:14] bash: /usr/share/doc-base/bzr: Permission denied [09:14] Editing the file by hand with 'sudo emacs ...' works. :) [09:14] right, you cant use >> with sudo [09:14] since the >> runs as your user [09:15] Can't you do something along the lines of "sudo ( cat ... >> foo )", to spawn a root process? [09:15] bwinton: yes. eg. sudo bash -c "echo "Files: /usr/share/doc/bzr/html/*.html" >>/usr/share/doc-base/bzr" [09:17] bwinton, dato: Thanks for the help; I'm happy and unblocked. :) [09:18] My pleasure. [09:18] Hey, is it possible for a mere mortal to run a Launchpad instance of their own? [09:19] i.e. if I wanted something Launchpad-y for my company's private internal source code... [09:19] bwinton: Nope, Launchpad isn't Free software yet for precisely that reason. === tetron|mac [n=tetron@c-24-91-136-46.hsd1.ma.comcast.net] has joined #bzr [09:19] Wait, for precisely which reason? [09:20] It's intended to be a central point of development which doesn't work so well if there are several hundred of them. :p === gander [n=gander@agander.plus.com] has joined #bzr [09:20] I get a syntax error trying to set up bzr on OS X. something about 'from bzrlib.symbol_versioning import (deprecated_function,' ? [09:20] So it's aiming more to be a Sourceforge, and less to be a Trac? [09:21] bwinton: I recommend you talk to emurphy@canonical.com about private commercial access to LP. [09:21] bwinton: He's statik on freenode, and often present in this channel. [09:22] jkakar: Thanks. I probably won't since my company is still using VSS, but it's good to know that there's a contact for that sort of thing... [09:22] this is with bzr 0.90, the latest release... and stock Python 2.4.4 on OS X. is this a known bug? [09:22] bwinton: Oh, VSS is so sad. I feel for you. :) [09:23] Yeah. The server went down one day, and the whole office stopped working for a couple of hours... Actually, it was kind of nice... :) [09:26] Heh [09:26] anyone? anyone have any idea why "setup.py" on bzr 0.90 just totally fails? [09:29] Which platform, what's the error message? [09:29] Sorry, OSX, failed import... [09:29] No idea. I can say that it works for me on OSX. But that's not exactly helpful, is it? === shirish [n=shirish@59.95.26.37] has joined #bzr [09:30] never mind, I think I know what's wrong [09:30] I'm on Python 2.4.3, installed as a framework. [09:30] Yeah? What was it? [09:31] it's suddenly decided to revert to using the system Python 2.3.5... I swear I have 2.4 installed though [09:32] Yeah... I get that a lot too. I've gone so far as to put /Library/Frameworks/Python.Framework/Versions/Current/... in the #! line of a bunch of my cgi scripts... === hsn_ [n=radim@234.114.broadband5.iol.cz] has joined #bzr === cprov-lunch is now known as cprov [09:40] erm... i'm not sure but it seems that bzr got recently updated (to 0.90) on my ubuntu box, which seems to have broken my bzr installation. i'm unable to run it and i see dpkg errors in synaptic... is this related to the earlier thread here? (in other words: can i fix this issue by the echo command above?) [09:40] g0ph3r: yes [09:40] gopher: Give it a try, and let us know. ;) [09:40] ok, will do so === kiko is now known as kiko-afk [09:45] ok, this fixed it. synaptic now completed the package setup and i'm able to run bzr now... [09:46] is there somewhere where this should/needs to be tracked as a bug [09:46] +? [09:46] g0ph3r: it's reported already, https://launchpad.net/bugs/135891 [09:46] Launchpad bug 135891 in bzr "bzr 0.9.0 package blows up" [Undecided,New] [09:47] thx [09:52] ok, just left a comment with the error message that bzr threw (at least for me) for others to easier find this bug... seems i missed it since my search didn't find the error message :) [09:52] thanks a lot for your help folks! [10:14] Is it valid to have a branch reference point to a path, or are only file: URIs accepted for local references? === aklaver [n=aklaver@66-224-233-230.atgi.net] has joined #bzr === mw [n=mw@189.146.15.187] has joined #bzr === bwinton_ [n=bwinton@mail.phantomfiber.com] has joined #bzr [10:21] ddaa: URL's only [10:21] yay! my patch seems to have fixed bug #107155. I should use bzr bundle to generate the patch and send it? [10:21] Launchpad bug 107155 in bzr "_get_vendor_by_inspection incorrectly determines "plink" to be the executable" [Medium,Confirmed] https://launchpad.net/bugs/107155 [10:21] beuno: bzr send [10:21] lifeless: thx === bwinton_ is now known as bwinton [10:22] lifeless, great, thanks === bwinton [n=bwinton@mail.phantomfiber.com] has left #bzr [] === bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr [10:23] lifeless, bzr won't send it directly, right? I have to generate the patch file first and attach it to an email? [10:25] it will fire up your mail client [10:25] if you have bzr.dev [10:26] wierd, it doesn't... I'll just add -o and send it manually like last time === sverrej [n=sverrej@tul-1x-dhcp013.studby.uio.no] has joined #bzr === cprov is now known as cprov-out === asabil [n=asabil@ti0035a340-0802.bb.online.no] has joined #bzr === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr === bwinton [n=bwinton@mail.phantomfiber.com] has left #bzr [] [11:54] beuno: What happened when you tried send without -o? [11:56] morning abentley [11:56] morning. [11:56] abentley, it opened up nano [11:57] abentley: interesting performance note [11:57] aaah, wait, I needed to write my message there :p [11:57] I'm not very bright today [11:57] time to write 1MB of data in python - as a single block of bytes - 19usec. Time to write 1MB of 1000 lines using writelines - 500usec, Time to ''.join(lines) then write - 620usec. [11:58] beuno: :) [11:58] I wrote the patch yesterday though :p [11:59] beuno: If you install xdg-utils, it will use your default mail client. It also can be configured directly for Thunderbird, Evolution and Kmail. [12:00] abentley, great, installing now, thanks [12:00] works perfectly :D (is that a suggested in the deb package?) [12:01] no, this conv. reminded me of that, thanks [12:02] but gnite now