/srv/irclogs.ubuntu.com/2008/07/25/#bzr.txt

igcbeuno: no too bad thanks00:00
lifelessjam: hi00:09
jamlifeless: hi00:09
jam$ bzr bench-gc bzrlib/inventory.py --reverse00:09
jamCompressed 312 texts with 12471026 bytes to 1034947 bytes (12.05:1) in 2.403s00:09
jambuiltins.py --reverse00:10
jamCompressed 1837 texts with 210568735 bytes to 21061973 bytes (10.00:1) in 113.506s00:10
lifelessjam: sweet00:13
jamNEWS --reverse00:13
jamCompressed 3213 texts with 437350320 bytes to 5814355 bytes (75.22:1) in 116.813s00:13
lifelessjam: this is with your C compressor?00:13
jamlifeless: yes00:13
lifelessjam: where is your branch :P00:15
jamlp:~jameinel/+junk/bzr-groupcompress00:15
lifelessreckon its merale ?00:16
jamlifeless: ? It is well tested00:16
lifelessmergable00:16
jamI think so00:16
lifelesswill do00:16
jamI have a couple tweaks yet to do00:20
jambut I think it is a good start00:20
jamanyway, I'm off for a bit00:20
lifelessok00:20
lifelessnice work00:20
fullermd% bzr bind :push00:23
fullermdabentley++00:23
jihohello everyone. I am currently getting to know bzr and one thing I liked in git and can't get in bzr is nice colored output. there's cdiff in bzrtools but is there anything more general (color output on more commands, word diff with colored output etc.)?00:34
jihoI am particularly after some nice word diff options. I do a lot of latex and having word diffs rather than line diffs is necessary.00:35
amanicathe lessdiff plugin does the trick for me00:35
jihothanks I'll check that00:37
amanica(I dont know about word diffs though)00:38
lifelessjiho: how do you do word diffs in git?00:39
jihogit diff --color-words00:40
lifelessthats built in ?00:40
jihoyes00:40
lifelessthanks00:40
jihowell I think. I have wdiff on my system but it does not do color, wo I guess git uses its own code00:41
jihoamanica: care to guide me one how to install lessdiff? I've just cloned it hoping to find a read me but there is just the source00:42
amanicaput it in ~/.bazaar/plugins/00:43
jihothanks00:44
amanicaI aliased my diff to use it. In ~/.bazaar/bazaar.conf in the [ALIASES] section I put the following00:45
amanicadiff = 'lessdiff --diff-options "-wp -U10 --strip-trailing-cr"'00:45
jihothanks for that00:45
jihotoo00:45
amanicacool00:45
dashI usually use meld for that00:48
jihodash: thanks for the tip but I am mostly on OS X00:52
mwhudsonshould be able to use FileMerge somehow then00:53
jihoyes I can indeed. bzr output is fine for that00:53
jihojust: bzr diff --using="opendiff"00:54
jihoFileMerge has UI glitches when opened this way but it mostly works00:54
jihothe real problem is that it is yet another window open on a small laptop screen00:55
jiho;)00:55
lifelessanything we can improve to fix the glitches?00:55
mwhudsonah, right00:55
jihoI'll check but my guess is that the issue comes from the opendiff command itself00:55
jiholifeless: that's right, the issue comes from opendiff (still present when diffing two files outside of bzr). so there's nothing you can do.00:59
lifelessah well01:01
jihoOK, so the status on this seems to be that is it easy to get coloured line diffs, but not word diffs. I have yet to investigate vimdiff but since I am no vi expert I guess it won't be very productive to use it only to view diffs01:01
lifelessjam: the pyrex step fails01:05
lifeless/home/robertc/source/baz/plugins/groupcompress/trunk/_groupcompress_c.pyx:254:30: Expected an identifier or literal01:05
lifelessjam: its the +=, &= operators01:06
lifelessinteresting, its about 10% faster :(01:09
jihocorrection on my self. using this in [ALIASES]:01:16
jihowdiff = 'lessdiff --using="wdiff -l"'01:16
jihomakes it a pretty decent "colourized" word diff01:16
jiho(where colour = bold/underline)01:16
jiho(still there's something visual about it)01:16
jihocool I can ditch git01:19
jiho;)01:19
jihothanks everyone01:19
jihobye01:19
amanicathanx for teaching me about wdiff01:19
amanicabye01:19
AfC"I can ditch git, kthxbye". That's a nice way to start the day.01:20
steltho bzr branch http://bzr.savannah.gnu.org/r/gnash/trunk gnash_new01:32
stelthobzr: ERROR: Invalid http response for http://bzr.savannah.gnu.org/r/gnash/.bzr/repository/indices/2c779c251220f8afce08bcec69277e32.rix: Expected a boundary ("a3=Zi=KvaN:JowhY.VpV", application/plain) line, got '--a3=Zi=KvaN:JowhY.VpV01:33
steltho'01:33
stelthoI am getting the above error message, trying to create a new branch with bzr.01:33
AfCsteltho: which version of Bazaar are you using as your client? [it probably doesn't matter, but people will be curious]01:35
stelthoI am using 1.501:35
lifelesspretty sure we had a bugfix for that during the 1.6 development cycle01:35
stelthoso, do you think if I tried version 1.6b3 this problem might be fixed?01:37
lifelessI think it might be yes01:41
stelthoI am trying it now.01:41
lifeless     Fix quoted boundary lines bugs exposed by tests in previous revision.01:42
lifelessthere are definite boundary improvements01:42
lifelessit might be something else, like a broken local proxy01:42
stelthoIt is weird because I never had any problems pulling from that location, and then one day it started to get this error message.01:43
lifelessinteresting01:43
stelthoI also asked on the gnash-dev mailing list and nobody else is having trouble.01:44
lifelessthat suggests a local issue of some sort - your machine/router/isp01:44
stelthoI just ran across this bug report https://bugs.launchpad.net/bzr/+bug/198646, which looks like it might be similar to my problem.01:44
ubottuLaunchpad bug 198646 in squid "Invalid http response ... Expected a boundary" [Medium,Fix released]01:44
stelthoHmm, it looks like who ever posted the bug is living in Thailand and thinks that there is some proxy there that is causing the problem.01:50
stelthoI also live on that side of the world, so maybe my request is also being distorted by some local proxy.01:53
lifelesssteltho: thailand has a country-wide intercepting proxy02:11
stelthoYeah, I wonder if the country I am in has something similar.02:16
amanicaI better go sleep now. have to get up in a hour. cheers02:42
jamlifeless: as I mentioned, I still have some tweaking02:46
jamI just added a change which seems to improve things by about 20%02:46
jamI'm hoping to get more from a deeper change02:46
jambut honestly, you were using python dicts and lists like they were *meant* to be used :)02:46
jelmeris .bzrrules is going to be part of the revision tree? I thought it was just going to live in the working tree but have a status similar to .bzr/ ?02:49
jamjelmer: I believe it is going to have a life similar to .bzrigore02:51
jam.bzrignore02:51
jamso it will be versioned02:51
jelmerah :-(02:51
jam$ bzr bench-gc bzrlib/builtins.py --reverse02:52
jamCompressed 1837 texts with 210568735 bytes to 21061973 bytes (10.00:1) in 84.286s02:52
jamlifeless: ^^ that is down from the 113 that I posted last commit02:52
Odd_Blokejelmer: How have your experiments with using autoppa on sid been going?03:07
jelmerOdd_Bloke, patched a couple of things then got stuck trying to build bzr-svn03:07
jelmerI haven't looked at it since, not sure how hard my last problem was to fix03:07
lifelessjam: cool; I have pushed a merged version of the previous03:07
jamnext tweak drops it to 73s03:26
spivpoolie:03:28
spiv    * Knit format repositories are deprecated and bzr will now emit03:28
spiv      warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade03:28
spiv      knit repositories to pack format.  (Andrew Bennetts)03:28
spivpoolie: is that NEWS entry ok with you?03:28
poolielooks good03:40
lifelessjam: 2% in time.clock()03:41
jamlifeless: yeah, I'm taking that out now03:41
lifelessand 12% in flush_range03:41
jamlifeless: well, also be aware that lsprof "lies" and makes python functions much slower than they really are while not skewing the compiled functions.03:52
lifelessjam: I know :)03:59
jambut yeah, for 'builtins.py' you end up with 1837 texts, 1734373 calls to find the longest matching sequence for a given line, and 1727645 calls to 'flush_range'04:00
jamlifeless: so it turns out that for builtins.py one of the major overheads was just reallocating the array of output lines04:16
jamI changed "realloc()" to give myself some fudge room04:17
jamand things got a lot faster04:17
jamI probably am giving a bit too much room04:17
pooliehello jam04:17
jambut it went from 60s => 20s for builtins.py04:17
jampoolie: hi04:17
lifelessjam: nice04:17
jamlifeless: I wish it was easier to profile Pyrex code, though04:17
lifelessjam: gprof?04:17
lifelessor oprofile04:17
jamlifeless: well, I went for the "time.clock()" solution :)04:18
jamthe one thing I like about time.clock() is that it doesn't usually interfere with real-world time as much as some of the other solutions.04:25
jamBut thanks for the quote spiv04:25
jam:)04:25
spivjam: It made me smile :)04:25
jamlifeless: so, if I assume that the lsprof values for C code are exact, and the values for py functions are grossly overinflated04:26
jamFor the 20s to recompress all of builtins.py04:27
jam13s is spent in get_longest_matching04:27
jamNEWS takes 38.8s, with 31.4s in get_longest_matching04:27
lifelessthe quote ?04:27
jamSo it is still a large portion of overall time.04:27
jamlifeless: Quotes page04:28
lifelessoh :)04:28
jamstill, it is finally a net win04:29
jamI was actually seeing a net *loss* for a while there04:29
jamI just checked memory consumption for a second and got a bit frightened04:35
jamrecompressing NEWS was taking almost 800MB04:35
jamand then I realized, that is just because my bench-gc code extracts everything first04:35
jamI don't know why I'm getting 2x the raw bytes04:35
jamany ideas?04:36
jam(reverting to an older version shows identical memory usage)04:36
jamlifeless: 'time bzr branch plugins/bzrtools gc-repo/bzrtools" 42s04:38
lifelesshmmm04:40
jamdid you ever get anywhere with changing the insert order?04:40
lifelessin progress04:40
jam(time bzr branch bzrtools into a packs repo is 4.5s)04:40
* igc lunch04:41
lifelessI'm trying to decide whether to alter GenericRepoFetcher04:45
lifelessor do a custom04:45
jamlifeless: I don't think you want to "generically" fetch in reverse topological order, do you ?04:52
lifelessjam: I am considering having get_record_stream(versions, self.target._fetch_order, not self.target._fetch_uses_deltas)04:53
lifelessjam: how much of that 42 seconds is in reconcile ?04:58
jamlifeless: lsprof breaks it down (as 105s0 into: http://rafb.net/p/HxGoOe37.html05:06
jam51s in 'insert_record_stream'05:07
jam31s in 'fetch revision texts'05:07
jam9s in fetch inventory05:07
jam12s in 'item_keys_introduced by'05:07
jaminsert_record_stream is 18.7s in 'compress'05:07
jam23s in 'get_bytes', and 18s in 'get_record_stream'05:08
jamand down around 4.4s spent in 'get_matching_blocks'05:09
jamflush_range goes way up on topo-order insertions05:09
jambecause it finds lots of short matches05:09
lifelessyeah05:10
jamlifeless: so... if I understand all this correctly, the re-compression time is actually pretty trivial05:10
jamversus the api mismatches going from Pack => GC repos05:11
jamprobably just because we have to go through the GenericRepoFetcher05:11
lifelesssomewhat yeah05:11
lifelessI'd like to make the delta format more C optimised05:11
jamI think the 18s total in compress, versus the 23s in get_bytes + 18s in get_record_stream kind of point to the major slow-down being the *extract from packs* side of things.05:12
jamlifeless: I don't know how you feel about it, but I would recommend unifying bytes versus lines for "copy" versus "insert"05:13
lifelesswe also are extracting from the group we're inserting into05:13
lifelessjam: yeah, i(byte-count)05:13
jamlifeless: and you *might* consider special casing inserting a newline05:13
jamIt may not be a huge win05:13
lifelessI'm thinking a pure C extract facility05:13
lifelesswell05:13
jambut I was seeing 26,000 "i1\n\n"05:13
lifelessI mean i(byte_count)[bytes] - no more \n after the isntruction, self delimited count05:14
lifelesse.g. a qw counter, or variable-length bitfield05:14
jamlifeless: sure05:14
jamI'm not sure if that gives you a lot after zlib05:14
lifelesscould be05:15
=== mark1 is now known as markh
lifelessso the 26K i1\n\n is because those 4 bytes are cheaper than a c instruction for the same05:15
jamlifeless: sure, but a "n\n" is 2x cheaper still05:15
jamagain, that would save... 52K bytes05:15
jambut again, the entropy encoder may nuke that anyway05:16
jamAnd it is only about 0.2% of the total output size05:17
jam(before zlib)05:17
jamlifeless: wow: Compressed 1837 texts with 210568735 bytes to 657272 bytes (320.37:1) in 22.620s05:21
jamAfter using zlib over the whole stream05:21
lifelessyes :)05:22
lifelessjam: you see why the threshold is set at 20MB currently :P05:22
jamlifeless: though that means that to get *any* of the texts you need to read 20MB, right?05:23
jamOr were you thinking to use Z_SYNC_FLUSH so that you could read any subset05:23
jamalso, my result is slightly skewed, as I forgot the final flush()05:26
jamstill 318:1, though05:27
mwhudsonimpressive numbers :)05:28
jambz2 only gets 325:1 on builtins.py05:28
lifelessjam: you need to read 650K to get any text05:28
jamwell, builtins.py is only 170k ATM, so that is a bit extra05:29
jammwhudson: NEWS is a special case, but there I get 1391:1 compression :)05:29
jam(NEWS being a *big* file that only has lines appended to it, so not a lot of churn, and a lot of redundant lines between versions)05:30
jaminterestingly after zlib, I'm at 380k for NEWS, while NEWS on disk is 258k05:31
lifelessright, so possibly 10MB before starting a new group05:31
jamso *almost* compressed down to 1:1 :)05:31
jamI guess there is *some* churn in NEWS05:31
lifelessthere are a few full-content patches05:31
lifelesswhere we realigned stuff05:32
jamah, sure05:32
jamand changed the formatting to ReST, etc05:32
lifelessso my basic idea is05:32
lifelessto tune this05:32
lifelessso that while we read a bit more its a single read for many parts of a tree05:33
lifelesswhich should be a big win05:33
jamlifeless: Sure, though I again wonder about Z_SYNC_FLUSH after every text inserted05:33
lifelessand yeah not reading 600K for the front text05:33
jamor maybe just periodically05:34
lifelesswell05:34
lifelessI'd rather not TBH :)05:34
jamas a lot of the "texts" are just tiny "c,X,Y" bits05:34
lifelessI'd rather just add e.g. 50K to the current position05:34
lifelesszlib has a 32K buffer05:35
jamlifeless: well, I was thinking about doing it: 1) After the first text, 2) after zobj.compress() returns data05:35
jamAnd I thought it was a 64k buffer05:36
jambut I certainly could be wrong about that05:36
jamanyway I need to go sleep05:36
lifelessgnight!05:36
treeformhi all i am trying to get bzr working on windows ... its always been pretty easy (thats why i use bzr) but it let me down this time.  If i install bzr-win-standalone i dont get paramiko support and i cant seem to install it any place inside its installation .... if i install the bzr for python that i allready have then i cant get to ti form the shell please help.05:36
jammake sure to get my latest version05:36
jamrevno 51 is a pretty big win05:36
treeformjam for me??05:38
lifelessjam: 0.05seconds faster on my test-load :P05:39
lifelessmarkh: ^05:52
lifelesstreeform: jam was talking to me05:52
treeformthats ok05:52
treeform1.5 works05:52
treeformand i submited bug report05:52
markhtreeform; I've an experimental binary you can try if you are keen.05:53
treeformsure give me 1 hour thouh05:54
treeformbe back05:54
markhok05:55
jmllifeless: hi06:11
jmllifeless: do you mind if I add something about the "loom now shows current thread on status" to NEWS?06:11
treeformmarkh: ok06:14
treeformback06:14
treeformwhat kind of binary you have?06:14
markhtreeform: http://starship.python.net/crew/mhammond/bzr-setup-1.6b4-mh1.exe is fairly recent, includes paramiko and works fine for me with ssl, and includes an experimental tortoisebzr06:16
markhSo I'd really like to hear it works for you too :)06:16
treeformtortoisebzr !06:16
treeformwpw06:16
treeformwow*06:16
markhI've actually got another with the svn plugin included, but I havem't uploaded that yet06:16
treeformone of the big reasons my artists done like using bzr is because its command line06:17
markhI ran out of time for bzr this week :(06:17
treeformif you get the tortoisebzr to work that would be great!06:17
markhyeah, it will, and hopefully soon :)  You should be able to checkin files using tortoise if they are on your local disk with that release - but its *very* early and need lots more "meat" before it could be recommended.06:18
lifelessjml: please do06:19
markhbut - the non-tortoise bits of that release should be rock-solid!06:19
treeformmarkh: what is missing from the tortoise?06:19
markhtoo many things to mention :)06:19
markhthe list of what works is much smaller :)  the readme should let you know06:19
markhbut there is lots of hidden "framework" in place06:20
treeformok06:20
treeformare you contributing to the tortoisebzr or just packaging it?06:20
markhI'm the main contributor06:21
treeformoh great06:21
markhthe packaging more fell in my lap ;)06:21
treeform:)06:21
treeformyeah that is how it goes06:21
treeformi am checking out my codes base on this new windows install (the code is 300mb) so its going a bit slow as soon as its done i will install your version and see how it works06:22
treeformmarkh: what gui tool kit does tortosebzr use?06:23
treeformlast time i remmber it was some thing odd like GTK06:23
treeformGTK on windows ...06:24
markhyeah, I think bqzr is a better fit for windows - native l&f06:25
markhI'm not sure the old tortoise ever was released as a binary either06:25
treeformbqzr -- google did not find any thing cool06:25
treeformmarkh: could you fill me in on history of windows bzr tools?06:26
treeformit looks like lots of starts and no finishes06:26
spivI think he means "qbzr"06:26
markhso I now intend advocating qbzr to everyone who will listen so tortoise gets all enhancements "for free" :)06:26
treeformexplain ... are the projects related?06:27
lifelessspiv: can I ring your house to get poolie ? :)06:28
spivlifeless: yep06:28
markhyes, sorry, qbzr.  The history or tortoise is that it was a google SOC project that didn't quite get finished.  This one will - clearing hurdles like binary releases and gui toolkits is critical, hence that is being done before it is "finished"06:28
markhqbzr and the gtk extensions are developed independently of each other, and without Windows in mind.  However, tortoise doesn't need to invent yet another toolkit, so has to choose a bandwagon to jump on :)06:29
treeformso you are just doing a framework around explorer shell that integrates with qbzr?06:29
markhyes - tortoisesvn for bzr06:30
markhin effect06:30
markhit turns out to require a remote "cache/command" process and an RPC mechanism, which is much of the "invisible framework" I mentioned.06:30
treeformoh06:31
markhshort version of the story: we don't want python+bzrlib embedded in every process that uses the shell, so we have a lightweight shell extension and heavier  process the shell talks to06:32
treeformok06:33
treeformmarkh06:38
treeformso i do bzr checkout06:38
treeformit throws an error06:38
markhthat's no good :(06:38
treeformunrecognizedCommandError: checkout06:38
treeformbzr branch worked06:38
markhhrmph - its listed in "bzr help commands"?06:39
treeformyes06:40
treeformway more commands then i am used too06:40
treeformthere is no "qcheckout"06:41
treeformbut there is "qbranch"06:41
markhoh - you mean from tortoise?06:41
treeformno06:41
markhhrm06:41
treeformfrom cmmand line C:\p>bzr help commands06:42
treeformlists bunch of commands06:42
treeformand checkout is there06:42
markhso yeah, I have no 'qcheckout' either - but 'checkout' works for me.  Not all commands have 'q' versions.06:42
treeformyeah06:42
treeformi am trying to check out through tortoise context menu06:42
treeformi think the command line checkout should work06:43
markhyes - cmdline checkout should work - but tortoise not working wouldn't surprise me ;)06:44
treeformoh06:44
markhI mean, tortoise getting as far as displaying the menu and trying to execute *something* is great news from my POV :)06:44
pygiso somebody is working on tortoise again?!06:45
* markh is06:45
pygimarkh, nice, thanks06:46
pygihow is it going?06:46
markhwe have a solid framework in place and now need to fill it out a little.  Its not ready to recommend its use, but its looking good with that in mind :)06:47
pygimarianom, who's "we"? :P06:47
pygiand how do I signup to help after I'm back from vacations?06:47
pygiactually, gimme bzr branch :P06:47
pygithat's the best way to signup :)06:47
treeformpygi: marh gave me a binary06:48
treeformi am testing it now06:48
pygibinary? A python binary?06:48
pygimarkh, what did I miss? xD06:48
treeformhttp://starship.python.net/crew/mhammond/bzr-setup-1.6b4-mh1.exe06:48
treeformand installer with tools06:48
pygiah, bzr :P06:48
=== davi_ is now known as davi
pygino idea, can't test, don't use windows :)06:49
markhstand-alone binary.  See the tbzr project on launchpad - branch is there and contributions welcome :)06:49
markhwell, help on qbzr, as we are leaning on that :)06:49
pygiI don't have much idea about qbzr, I know bzr-gtk tho :P06:50
pygibut we'll see :)06:50
markhbugger :)  I knew that would happen!  But qt really looks much slicker06:50
markhand look-and-feel matters on windows.06:50
pygimarkh, I mentored creation of Olive in bzr-gtk so :)06:50
pygimarkh, hm...06:51
markhyeah - sadly the gtk extensions were more mature, but the qt framework really looks nicer on windows06:51
markhwith help it could be user configured ;)06:52
markhfor many commands I am literally just calling the plugin06:52
markhadding zero value to the process :)06:52
pygihehe :)06:52
pygimarkh, btw!06:54
pygiI think there was/is a really slick gtk theme for windows06:54
lifelessthere is/was a 'win32' theme engine which uses native widgets06:55
pygilifeless, that might be it :P06:56
markhI don't know much about gtk - but the gtk plugin on windows looks alot like pidgin and very obviously gtk06:56
lifelesshttp://charupload.wordpress.com/2007/12/02/gtk-theme-engines-for-win32/06:56
pygithat being said, as long as it's functional, users will be happy06:57
pygilifeless, thanks ;)06:57
lifelesshmm that is not what I was thinking of06:57
markhand to be quite honest, I mentioned things on the list and one person pointed me at QBzr due to its look and feel and noone disagreed.  I checked it out and agreed.  But if you can get a mini-revolt together saying the project would be better served with gtk, I'd be happy to go along with it :)06:58
* lifeless keeps looking06:58
markhie, I'm completely neutral in this :)06:58
lifelessmarkh: I don't really care :P06:58
markhyeah :)  I more meant pygi :)06:58
markhanyone who wants to advocate one over the other can borrow my soapbox ;)06:58
pygimarkh, as long as people are happy, I'm good :P06:58
pygiso no need for fight :)06:59
markhme too - cool :)06:59
markhhehe - or voilent agreement ;)06:59
lifelesshttp://gtk-wimp.sourceforge.net/06:59
lifelessthats it06:59
markhI must tell the pidgin and bzr-gtk guys about it ;)07:00
lifelesshttp://gtk-wimp.sourceforge.net/screenshots/gfx/Gaim-WinXP.png07:00
pygimarkh, about what?? :P07:00
lifelessmarkh: is that screenshot what pidgin looks like today?07:01
lifelesshttp://gtk-wimp.sourceforge.net/screenshots/gfx/xp.gif07:01
markhcan see that exact dialog, but pretty much, yeah07:05
lifelessmarkh: ok, so perhaps pidgin is already using it :(07:06
markhyeah, I think it might be - just some parts of it don't quite look native07:06
jmlfile dialogs won't07:08
lifelesswon't what07:08
jmllook native07:08
luksgtk buttons will never look native on windows07:09
luksbut that's gtk's fault, not wimp's07:09
markhI wish the choice wasn't there to be had, and instead there was one that got everyone's energy ;)07:09
pygimarkh, ++ on that, but heh07:09
luksthey will never have exact sizes and usually they also have icons (but that's applications fault)07:09
kiorkyhellon i need some advice or experience toward bzr hosting. What i need is something like a centralized bunch of repository like we can had do with svn. I ve done something similar with mercurial and its forest extension. But with bazaar i m wondering what is the right way to have a bunch of repositories inside repositories and then serve them. Serving include control access like with sv authz format (on this purpose,  i ve seen something called 07:27
pygikiorky, in theory my best answer would be "cheezburger"07:29
pygiin practice, that won't be available 'till end August or sometimes in September07:29
kiorkypygi: is that usable in some dev branch?07:29
pygikiorky, no, that's only usable in my head sadly07:30
kiorkyor are they just planned07:30
kiorkypygi: hehe07:30
pygikiorky, but it's indented purpose is exactly what you stated07:30
kiorkypygi: so how launchpad is handling the whole?07:30
pygikiorky, I guess they have their own settings with ssh keys.07:31
kiorkypygi: branch per dev/ lots of branches per repo07:31
pygikiorky, will be possible I'm sure07:31
* pygi notes all the use-cases :p07:31
lifelesskiorky: so our forest equivalent is 'nested trees'07:32
pygikiorky, the important thing is to get that working, but also the other workflow with mainline repos07:32
lifelesskiorky: but its immature07:32
kiorkypygi: am i wrong to say that shared repositories are intended to have branches from the same project?07:33
lifelesskiorky: shared repositories can handle arbitrarily large numbers of projects07:33
lifelesskiorky: I have one with 13K branches, of 13K projects07:33
kiorkypygi: not a/Someproject a/Otherproject07:33
lifelesskiorky: that works fine07:33
kiorkylifeless: ok, can i partially check out just one branch ?07:33
lifelesskiorky: do you mean get just some subset of the files on disk ?07:34
kiorkylifeless: yep07:34
lifelessigc: has been planning a 'views' feature that will do that07:34
kiorkyrepo has a/b a/c, just a/c07:34
kiorkywhere b and c are two distinct branches07:35
lifelesskiorky: if the repo has a/b and a/c as branches you can get just a/c07:35
igckiorky: filtered views will provide that07:35
lifelesskiorky: 'repositories' are _just_ storage optimisation - they don't affect how branches work07:35
igcsee http://bazaar-vcs.org/FilteredViews07:36
kiorkylifeless: so i can checkout a/c or a/c/d/e/f if c and f are branches isnt it ?07:36
kiorkylifeless: is there anyway to serve that over http07:37
lifelesskiorky: yes. if c and f are branches you can check them out07:37
lifelesskiorky: sure, that will work over http just fine:07:37
lifelessbzr init-repo a07:37
lifelessbzr init a/c07:37
lifelessmkdir a/c/d07:37
lifelessmkdir a/c/d/e07:37
lifelessbzr init a/c/d/e/f07:37
kiorkylifeless: to continue, so each project can be a separate branch in my shared repository ?07:38
kiorkylifeless: but then how can i centralize the adfministrative stuff ? ~/.bazaar/access.conf ?07:38
kiorkylifeless: plan is to move my company over to bazaar07:38
kiorkyi m planning the new layout :p07:39
kiorkygoing to work, see ya in something like one hour :)07:39
kiorkyand trhx07:39
lifelessok07:39
lifelesssee you when you get back07:39
pygilifeless, eh, so we need to automate all that magic with cheezburger =)07:40
lifelesspygi: IcanHaz?07:40
pygilifeless, yes, ICanHaz easy bzr :P07:40
pygitold ya I wanna contribute finally somehow, it's been a while since I contributed by mentoring :P07:41
pygican't play that card all the time =)07:41
lifeless:)07:42
kiorkylifeless: pygi re09:05
pygikiorky, re09:05
pygiyou've got my mail in pm09:05
kiorkyyep i saw it before leaving09:07
pygikiorky, great, so send me a mail pls with all your requirements in it? :)09:08
kiorkypygi: yep, something like this evening or tomororow i think09:08
pygikiorky, thanks09:09
pygiappreciate it09:09
kiorkypygi: what i need is a layout similar to the onse i use for minitage09:09
kiorkypygi: http://trac.minitage.org/trac/browser09:09
kiorkypygi: http://hg.minitage.org09:09
pygiwell, let's hope you'll be able to have it then =)09:10
igcnight all09:10
pyginight igc09:10
pygikiorky, gotta make the layout flexible somehow anyway09:11
kiorkypygi: and after that we ll like to have something like automatic bundle buggy integration and etc09:14
pygikiorky, and loggerhead integration, I know09:14
* pygi would gladly work on this full-time, but since there's no so much time ... :P09:15
kiorkypygi: you push a new branch inside the "big repo", from there it will inherit the acls you have defined somewhere, it will be integrated into the viewers (loggorhead, trac, whatever) and the project will be registrated with tools like PQM, bundlebuggy09:16
kiorkypygi: hehe , as many of us09:16
pygikiorky, ok, so you just mentioned tasks for like 3 months for a start at least xD09:17
kiorkypygi: and it can be served though http, push via ssh, and maybe webdav, but im not sure we can push over webdav with bzr09:17
pygikiorky, sure we can, but I'd rather avoid pushing through webdav09:17
kiorkyme either09:17
kiorkybut its somthing usefull through firewalls09:18
pygithere is bzr-webdav plugin09:18
pygido firewalls really block ssh connections? o.O09:18
kiorkyyep , i saw it before, but i dont know its status unfortunatly09:18
pygikiorky, it's recently been fixed so  it works now09:18
kiorkypygi: yep, maany corp firewalls allow outcoming traffics only on specific ports09:18
pygievil :p09:19
kiorkyso commiting when you are at work will be diffcult, there are ways to work around :p like making a ssh tnnel oer http with apcache proxy09:19
kiorkythen commiting your stuff :]09:19
pygihehe09:20
pygiah, ok09:20
pyginoted as well09:20
pygigotta get the basics layed out first tho :P09:20
kiorkypygi: i ll can help to contribute, im relasing minitage i think this week end09:20
kiorkyand i will freeze devs for a bit to regenrate ideas to continue09:21
kiorkyso i ll have some time09:21
pygiright =)09:21
pygiI'm gonna do a bit of coding next week, then vacation, and then some more coding :)09:21
pygibut contributions are more then welcome09:21
pygiyou're the third person this week that needs this, so xD09:24
kiorkypygi: for acls, bzr_access seems good for the prupose09:24
kiorkybut i just had an eye on it09:25
kiorky i ll test it09:25
kiorkylast time i did that for mercurial09:25
kiorkyi reimplemented it :p09:25
kiorky( http://hg.cryptelium.net/hg/system/config/hg/file/aeebb5a560c0/hg-ssh/hg-ssh )09:25
kiorkypygi: hte plus i have with zr is the really good jelmer's bzr-svn09:26
kiorkypygi: i cant do that with hg :p09:26
pygikiorky, bzr_access can be used as a start for defining permissions, sure09:28
kiorkypygi: on top of the script, i use posix acls to define file access09:28
pygiwe'll see =)09:28
kiorkypygi: the configuration file is parsed with http://hg.cryptelium.net/hg/system/config/hg/file/aeebb5a560c0/hg-ssh/hg-ssh.aclmaker.py09:29
kiorkypygi: and generate a shell script to set the acls :)09:29
pygi:P09:29
pygiwhat I was thinking for example is:09:30
pygibzr branch bzr@domain.com:repository/branch09:31
kiorky  /B 309:33
kiorky /B 309:33
kiorkyrah09:33
pygihm?09:33
guyblakI'm trying to use bzr + pageant + buildbot, and it works with from the commandline, but it keeps erroring out when buildbot is added to the mix, anyone have any suggestion where/how to fix this?10:58
lifelesswell, what error?11:05
lifelessis pageant not found/some error logged in ~/.bzr.log ?11:07
=== menesis1 is now known as menesis
j^hi, after merging changes from another branch, trac-bzr 0.11 fails here with12:05
j^NoSuchRevision: KnitPackRepository12:06
jelmerj^, please file a bug12:37
pickscrapeIs igc here?12:54
bob2it is 10pm12:57
james_wpickscrape: he's probably sleeping12:57
james_wor at least left for the evening12:57
pickscrapeAh. The Bazzar success story he mailed to the mailing list about was the one I was doing12:57
james_wI thought it might be12:58
pickscrapeThe blog post was from a colleague of mine.12:58
james_wdid the switch go well?12:58
pickscrapeVery well indeed. It was a 27-hour working stint for me, but well worth it in the end.12:58
james_wwow12:59
pickscrapeYeah, I don't do that very often :)12:59
james_wI'm glad it's working well for you though.12:59
james_wwere you the version control expert that was mentioned in the post?12:59
pickscrapeYes, apparently I'm a guru. I didn't know that...13:00
LarstiQ:)13:00
pickscrapeI've moved this company from CVS to SVN, then SVK and now bzr13:00
pickscrapeHopefully I won't have to do it again :)13:00
uwsjelmer: ping13:18
uwsIf I want to convert a SVN repo to bzr13:18
uwsand it has both trunk, tags and branches13:18
uwshow do I create a nice bzr repo from it?13:18
uwsjelmer: bzr init-repo  and then branching individual   svn+ssh://.../branches/foo  in there?13:19
uwsbzr branch svn+ssh://..../  works as well13:19
uwsbut then I end up with trunk/, tags/ and branches/ in my bzr branch.13:19
james_wyou may want to try svn-import13:20
jelmeruws: Hi13:30
jelmeruws: Yeah, you probably want svn-import13:30
uwsjelmer: I'm trying that, but I fail in getting it to work13:31
jelmerWhat error are you getting?13:31
uwsjelmer: the svn repo is    svn+ssh://...../path/to/svn/PROJECTNAME/{trunk/,branches/,tags/}13:31
uwsbzr svn-import --verbose --prefix=FOO svn+ssh://.../svn/FOO    fails13:32
uwsNo Repository found at ....13:32
jelmerSpecify svn+ssh://.../svn without FOO13:32
uwsjelmer: no output13:33
jelmeruws, what version of bzr-svn?13:33
jelmerI did some fixes to this recently in the 0.4 branch, may work better withthat13:33
uwsii  bzr-svn                        0.4.10-2                       Bazaar plugin providing Subversion integration13:33
jelmeruws, is this a public repo?13:33
uwsjelmer: see /msg13:34
uws(for the curious: I'm currently just branching the trunk/ and branches into a bzr repo instead of using svn-imort. that works)13:38
proppyHi, how do I drop a changeset (i.e: checkout a previous revision, and make a new changeset) ?14:12
proppydo I need to branch to another directory ?14:12
LeoNerdWhen you say drop, do you mean permanently forget you ever committed it?14:19
=== yacc_ is now known as yacc
proppyLeoNerd: yep, I accenditaly commit two changes in one changeset14:28
proppyI want to split them14:28
luksproppy: bzr uncommit14:28
LeoNerdOK.. Well, I usually "bzr uncommit" to remove the top one14:28
proppyah nice14:28
proppyI branched to previous revision14:28
LeoNerdIt forgets you committed, but leaves the workdir files just as they are... so a "bzr diff" will show all the changes again14:28
proppybut I will use uncommit the next time I made the same mistake14:29
proppythanks14:30
uwsjelmer: still here?14:53
jelmeruws, yep14:53
uwsThe conversions and stuff have worked out pretty well14:53
uwsI've even convinced $colleague and $project_lead to make the switch official14:53
uwsso after I've setup an (internal) wiki page and prepared backup stuff, my project is officially hosted in bzr :)14:54
uwsjelmer: One problem though14:54
uwsfor now we want to keep SVN in sync (for a little while)14:54
uwsbut pushing one of the bzr branches (with a few commits already with some merges) back to SVN crashes bzr-svn14:55
uwsbzr: ERROR: svn.core.SubversionException: ("Failure opening '/SOMEUNRELATEDPROJECT/trunk'", 160016);14:55
uwsjelmer: This is the same SVN repo I told you about in /msg, i.e.   /path/to/svn/PROJECTNAME/{trunk/,tags/,branches/}14:56
uws(so the SVN repo is shared between projects)14:56
jihohi everyone. Is that http://pastie.textmate.org/private/xqpf8v7jntqmbocs6tvza only happening to me or is it a known bug?15:03
jihoI am using bzr 1.515:03
james_whi jiho15:04
james_wcould you run "bzr -Derror diff" and pastebin the output please?15:04
* jiho pasted http://pastie.textmate.org/private/fgnjmiofirydr9i4dka15:05
jihohere it is ↑15:05
spivOoh, up arrow.  Fancy :)15:05
jihoyes I love that ;)15:06
james_wah, you have lessdiff installed15:06
spivjiho: that error appears to be caused by the lessdiff plugin you have installedc15:06
james_wI'm guessing you don't have "less" installed though15:06
jihoargh15:06
spivjiho: I'm betting that if you try "bzr --no-plugins diff" the error won't occur.15:06
jiholess? as a plugin or the actual less command?15:06
spiv(obviously it won't use the lessdiff plugin either)15:06
spivjiho: the traceback says it's happening when the lessdiff plugin tries to do os.execvp(pager, [pager, '-R', '-'])15:07
spivjiho: so, the actual less command (or whatever pager the plugin is trying to use)15:07
jihook I've found the issue15:08
jihosorry, nothing to do with bzr15:08
jihomy $PAGER was set to "less -R" (to try and get git to wrap those %$\* lines, which did not work by the way)15:09
james_wno problem15:09
spivHmm.15:09
james_wlessdiff should handle that though probably.15:09
jihoso lessdiff was trying to find the command "less -R"15:09
spivIt might be nice if bzr warned when errors are raised from inside a plugin, (i.e. the traceback includes a file inside the plugin path).15:09
spivI'll file a wishlist bug...15:10
philnhello fellow hackers of the branches15:13
jihojames_w: I've sent an email to lessdiff devs about that15:14
philni'm trying to branch lp:bzr-svn but i get this: http://pastebin.ca/108257015:14
philnwith bzr 1.6 beta315:15
james_wjiho: great, thanks15:15
philnjelmer: ?15:16
Peng_philn: I think bzr-svn's branches are in a different repo format.15:16
Peng_jelmer: Augh, you push --overwrite lp:bzr-svn too much.15:17
james_wphiln: I can't access pastebin.ca, could you stick it somewhere else, or paste the most important line here please?15:18
philnhttp://pastebin.ubuntu.com/30298/15:18
james_wthanks15:19
james_wphiln: could you run "bzr info" please?15:19
philnShared repository with trees (format: pack-0.92)15:20
Peng_bzr-svn uses rich-root-pack.15:20
philnis there a troubleless way to convert my repo?15:21
Peng_So, you need to bzr init-repo --rich-root-pack and branch into that.15:21
Peng_philn: You shouldn't convert your entire repo.15:21
philnok i'll start a new one then15:21
Peng_Blah, my copy of bzr-svn is still pack-0.92-subtree.15:21
Peng_philn: Just put bzr-svn in its own, rich-root-pack repo.15:21
philnkthx15:22
philnnext one: http://pastebin.ubuntu.com/30303/15:30
pickscrapeWould a weekly cron job to bzr pack our server repositories be sensible?15:34
spivWell, basically harmless :)15:34
spivIt might improve performance slightly and keep the autopacks a little bit smaller, I guess, but don't expect any dramatic changes.15:35
spivBut cron jobs are cheap, so why not... it won't hurt.15:35
pickscrapeI wasn't looking to do it for improvements, mainly to prevent performance degradation.15:36
spivWell, the autopacking that happens automatically should prevent most of the degradation.15:37
pickscrapeOh, I didn't know it happened automatically. Does that apply to remote repositories too?15:38
spivYeah, it does it silently.  It does happen to remote repos too.15:40
spivWhich can sometimes be a bit slow, because it has to download the packs it will combine, then reupload the same data.15:41
lukseven over bzr+ssh?15:41
spivBut autopacking is gradual, so even when it does kick in most of the time it doesn't need to rearrange much of the repo.15:42
spivluks: currently, yes.  I sent a hackish patch to the list a while back to do it smarter.15:42
spivI hope to get back to that quite soon.15:42
pickscrapeI suppose it won't hurt to set up that cron job then :)15:43
lukspickscrape: well, it will try to autopack regardless :)15:43
lukshm, actually maybe no, 'bzr pack' creates just one pack?15:44
pickscrapeYeah, but if there's less to do, that's less time for the user to hang around, which means less likely I'll be asked what's wrong :)15:44
jelmerre15:49
jelmeruws, that should be fixed in the 0.4 branch15:50
jelmeruws, will hopefully be released within the next two weeks (parallel with bzr 1.6)15:51
Peng_pickscrape: Your cronjob will use more disk space. When packing is done, all of the old packs are moved to .bzr/repository/obsolete_packs. When an autopack is done, it's just a few of the most recent packs, so not much disk space is wasted. But when "bzr pack" is done, it's *all* packs, so it will almost double the size of .bzr/repository.15:52
philnjelmer: using trunk of bzr and bzr-svn i get this: http://pastebin.ubuntu.com/30306/15:52
Peng_pickscrape: (Err, by "old packs", I meant "packs that are deleted".)15:52
pickscrapePeng_: won't that maintain itself over time though? i.e. existing obsolete packs get removed when packing?15:53
Peng_pickscrape: Oh, yes.15:53
lukspickscrape: replaced, not just removed15:53
uwsjelmer: ok, great15:53
pickscrapeI'm not overly concerned about that: the server isn't short on disk space.15:53
Peng_pickscrape: Okay, then. I just wanted to warn you.15:53
uwsjelmer: do you want a traceback to be sure?15:53
pickscrapePeng_: thanks :)15:53
jelmeruws, never hurts :-) can you privmsg one?15:54
uwsjelmer: sure15:54
jelmerphiln, hi15:54
jelmerphiln, what's the repository format you're trying to branch into?15:55
philnjelmer: i think my installed bzr could be conflicting with the uninstalled bzr trunk i (try to) use15:56
jelmerphiln, looks like this is a regression in bzr.dev15:56
pickscrapeDoes the bzr unit test infrastructure extend to plugins?16:00
philnjelmer: i'm removing my installed bzr16:00
Peng_pickscrape: Yes.16:00
Peng_(Well, I think.)16:00
jelmerphiln, I'm filing a bug16:01
jelmerpickscrape, yeah16:01
pickscrapeHow do you tell it to just run the tests in a given plugin?16:01
philnjelmer: ok i get same error :/16:02
jelmerphiln, where did you revert to?16:02
jelmerpickscrape, bzr selftest --starting-with=bzrlib.plugins.PLUGINNAME16:02
philnjelmer: i removed my installed bzr pkgs (installed via the ppa)16:03
pickscrapejelmer: Ah, I'd suspected that, but wondered if there was a more direct method. Thanks, I'll have a play :)16:03
jelmerphiln: what version of bzr are you using then?16:05
philnjelmer: trunk16:08
jelmerphiln, that's pretty much the same as 1.6b4 atm I think16:09
jelmerphiln, you'll need an older revision on bzr.dev from before poolie's stacking fixes landed16:13
=== abentley1 is now known as abentley
=== orospakr` is now known as orospakr
=== mw is now known as mw|food
cr3when I try to branch a private project from LP, I get: bzr: ERROR: Not a branch: "https://code.launchpad.net/".20:15
Peng_cr3: It's not.20:16
Peng_cr3: Use the lp: URL.20:16
cr3Peng_: I did use the lp: url, but that's the error it prints :)20:16
Peng_Which bzr version, and which exact command did you run?20:16
cr3Peng_: Bazaar (bzr) 1.3.1 and: bzr branch lp:~hardware-certification/hwtest-certify/trunk20:17
Peng_I get 'Not a branch: "bzr+ssh://<my username>@bazaar.launchpad.net/~hardware-certification/hwtest-certify/trunk/"'20:18
Peng_https://code.launchpad.net/~hardware-certification doesn't list any such branch.20:20
Peng_OTOH, when I try to visit hwtest-certify, I get a 403 Forbidden, so I might just not be allowed to see it.20:20
Peng_cr3: Have you run 'bzr launchpad-login your_username'20:20
Peng_?20:20
cr3Peng_: that worked, but the error message is not obvious20:21
Peng_Indeed.20:22
Odd_Blokecr3: File a bug please. :)20:22
beunoPeng_, lp:~beuno/loggerhead/new_theme20:24
Peng_beuno: Hmm.20:25
beunono20:25
beunowait20:25
cr3Odd_Bloke: reported bug #25195620:25
ubottuLaunchpad bug 251956 in bzr "Unobvious error message before calling launchpad-login" [Undecided,New] https://launchpad.net/bugs/25195620:25
Peng_cr3: Some of the related error messages have been improved since 1.3.1, but branch-exists-but-is-private may just have never been thought of.20:25
cr3there was already a bug when branching unexisting projects, this is for a private project20:25
beunoPeng_, pushing somewhere public now  :)20:25
Peng_beuno: Why the secrecy?20:26
cr3Peng_: makes sense, private projects are not common under Launchpad20:26
* Peng_ feels left out.20:26
beunoPeng_, not me call  :)20:26
Peng_beuno: Does it work with bzr.dev?20:27
beunoPeng_, yeap20:27
Peng_OK. Just wanted to check.20:27
beunoPeng_, https://code.edge.launchpad.net/~beuno/loggerhead/new_theme_trunk20:27
Peng_Can you just make the other branch public?20:28
beunoPeng_, the ther branch is uninterestingly different20:28
Peng_Any URLs changed?20:28
beunonope, it's trunk with a new theme20:28
beunoJc2k, you may me interested in  ^20:29
* Peng_ is still curious what the other branch is. :P20:29
beunoalthough we should probably try to integrate it with the Gnome headeer20:30
beunoPeng_, same branch, different colors20:30
beunoI promise20:30
Jc2kbeuno: :O20:31
Peng_Augh!20:31
beunoJc2k, take it for a spin, and, if youm like it, I'll try and have a gnome branch for that20:31
beunomwhudson, it's out  :)20:32
Peng_After I changed all the files but before I restarted LH, I got a hit, and SimpleTAL decided to flood my log with errors.20:32
Peng_Haha, it did it 9300 times.20:33
beunonice round number20:34
Peng_Also, because I was surpised by that, there were over 2.5 seconds of downtime while I restarted it, totally ruining my average. :(20:34
Peng_Anyway, on-topic, the new theme works, and it seems pretty nice.20:36
Peng_No more Bazaar and LH logos at the bottom?20:36
beunoah, we should probably have those on there again, yes20:36
Peng_Is performance different?20:37
beunothere are no major reasons for it to be different20:37
beunoprobably less HTML20:37
beunoso it may improve a bit20:37
beunothe diffs are the biggest improvement for me20:38
Peng_Honestly, I've never been a huge fan of having little icons everywhere, or smooth (un)collapsing.20:38
beunocan you still find everything?20:39
Peng_I think so.20:39
beunoI've just proposed to merge this intro trunk, so if you find any blockers, let me know  :)20:40
Peng_Well, the missing Bazaar logo, obviously... :P20:40
beunoI'll add those on now20:41
Peng_Everything seems okay, but I don't have a lot of experience using LH anyway.20:42
beunoPeng_, cool, thanks20:43
beunoonce this lands, I can focus on features again20:43
Peng_Hmm, I want to compare performance with one of the slower pages.20:44
=== mw|food is now known as mw
Jc2kbeuno: don't suppose there is one running i can peek at?20:46
beunoJc2k, maybe Peng_ can let you peak at his?20:46
beunoif not, I'll try and run locally20:47
* Jc2k hopes no one ever reads that sentence stand alone....20:47
Jc2kxD20:47
Peng_Woah: Rendering RevisionUI: 141.52576088905334 secs, 96439309 bytes, 42448684 (44.0%) bytes saved20:47
Peng_Jc2k: http://bzr.mattnordhoff.com/loggerhead/imports/lighttpd/lighttpd-1.4.x/changes20:47
Jc2ktasty20:48
Peng_Am I misreading, or was that 40 MB of whitespace?20:48
Jc2kbeuno: that is very much WIN WIN WIN20:49
beunoPeng_, is that faster or slower then before?20:49
beunoJc2k, so I should go ahead and do a gnome version of that?20:49
Jc2kindeed =)20:50
Peng_beuno: I don't know; I was just grepping my logs for slow pages.20:50
Peng_beuno: I'm testing a smaller on right now.20:50
Peng_one*20:50
Peng_Not hugely scientific though.20:50
Peng_Err, oops. It wasn't a very large page; it was just generating the annotate information that was slow. Anyway, the old one was 2.3 seconds, and the new one 1.3, and the sizes were 800k vs. 600k, I think.20:52
beuno:)20:53
beunomwhudson, ^20:53
Peng_Generating the annotate information was slightly faster too, oddly.20:53
Peng_(13 seconds vs. 14-15.)20:54
Peng_Actually, 13.0 vs. 14.9, I think20:54
Peng_I'm afraid to try to render that 90 MB page.20:54
beunoheh, I would too20:55
Peng_OTOH, I've been known to be stupid. Hold on.20:56
Peng_I mean, it managed to render before.20:56
Peng_So far, it's using 44.7% of my VPS's RAM.20:57
Peng_Seemed to peak there.20:57
Peng_beuno: Dude, another page just tracebacked.20:58
beunoPeng_, hmmmm, what traceback?20:58
Peng_beuno: Here's what I could get of it: http://paste.pocoo.org/show/80322/20:59
beunohrmm...21:00
jelmerhi beuno, Peng21:00
beunohey jelmer21:00
jelmerbeuno, Any news on the Debian upload of bzr-upload?21:01
Peng_Argh.21:01
beunojelmer, no, sorry. Can you get it sponsored by someone else?21:01
jelmerbeuno, I'll ask around21:02
Peng_It may have been the really gigantic page.21:02
jelmerbeuno, the number of DD's around here seems to've decreased :-(21:02
beunoPeng_, is it a public branch?21:02
beunojelmer, yeah, and my favorate DD is procrastinating more than usual21:02
Peng_Hmm.21:03
Peng_For that really gigantic page, it took close to 4 minutes, and only downloaded 1.5 MB. So I guess it's the one that died.21:03
Peng_beuno: Yeah. Googlebot has been indexing one of my trivial bzr branches.21:03
Peng_Interesting, this time it downloaded that much after 30 seconds.21:04
Peng_...And I see that traceback again. So I guess it is that page.21:04
Peng_Confirmed, it's this page: http://bzr.mattnordhoff.com/loggerhead/bzr/configobj-4.5.2/revision/1551.19.24?start_revid=aaron.bentley%40utoronto.ca-20071221022516-hd721fevdx6o7h8i&remember=1551.6.25&compare_revid=1551.6.2521:05
Peng_beuno: ^21:06
Peng_Hold on, I'm gonna revert to the old theme.21:07
beunoPeng_, it renders fine, but gives you the traceback?21:07
Peng_I dunno.21:08
Peng_I thought that was the page that used to be 90 MB.21:08
Peng_Switching to the old theme, it downloaded 51 MB (which is the size of the page after trimming whitespace).21:11
Peng_So yes, the new theme is doing something wrong.21:11
Peng_And there's no way in hell I'm gonna try to visit either of them in my browser. :P21:12
Peng_Switched to the new theme again.21:14
beunook, so the new theme is generating 90mb against 50mb for the old one?21:15
Peng_No, the old theme generated 90 MB, which the whitespace stripper reduced to 50 MB. The new theme generates 1.5 MB and a traceback.21:15
beunoah, I see21:16
beunothe new theme will generate smaller pages, that's for sure21:16
beunoit doesn't do a lot of stupid things, and, it doesn't generate the diffs twice21:16
beunonow, we need to fix that traceback...21:16
beunoPeng_, can I can grab that branch from somehere?21:17
Peng_(Note: I'm running the old theme again, so don't try to visit that URL...)21:17
Peng_beuno: http://bzr.mattnordhoff.com/bzr/bzr/configobj-4.5.2/ -- it was merged with bzr.dev months ago, so bzr.dev would probably work too.21:17
beunoPeng_, cool. I'll try revid aaron.bentley%40utoronto.ca-20071221022516-hd721fevdx6o7h8i21:18
beunoPeng_, revid aaron.bentley%40utoronto.ca-20071221022516-hd721fevdx6o7h8i  doesn't give me a traceback21:20
beunoand it's 56k21:20
Peng_(OK, I can confirm those are the same revisions in bzr.dev.)21:21
Peng_What does compare_revid do? Those two revisions are 1.5 years apart, so they're vastly different...21:21
beunoPeng_, diff between the two revids21:22
Peng_So It's doing an 18-month diff. No wonder it's slow.21:22
beunook21:22
beunoI found the traceback comparing  :)21:23
beunoyes, it's probably not the best of the ideas21:23
Peng_Heheh.21:23
Peng_Poor Googlebot.21:23
Peng_I should block it from doing arbitrary diffs.21:24
beunoright, once it get remember= on the URL21:24
beunoit'll take it with him through the whole branch21:24
beunonot so smart of us21:24
Peng_Think I should block remember= then?21:25
beunoyeap21:25
Peng_Or just compare_revid?21:25
beunoremember21:25
beunothere is no reason for Google to use remember21:25
Peng_Without checking myself, what does compare_revid do on annotate?21:29
beunoI have no idea   :)21:29
Peng_It looks like compare_revid has been used on annotate, atom, changes, files, and revision.21:31
Peng_Does LH sometimes just append the current URL's query string to all links?21:31
beunono, it's a bit less stupid about that21:33
beunonot terribly smart yet though21:33
Peng_'remember' has been used on annotate, atom, changes, download, files, and revision.21:34
beunowe want to get of remember all together21:36
Peng_BTW, would filter_file_id ever be useful to Googlebot?21:36
beunoit's the changes that have been amde to that specific file21:36
beunoso probably21:36
Peng_I already disallowed it on most pages, just not sure if it was all of them.21:40
Peng_Oh, I didn't disallow it on atom.21:41
Peng_I did on annotate, changes, files, and revision.21:42
jelmerhi colbrac21:52
colbrachi21:52
colbracI'm checking the tick patch..21:52
colbracsince I don't know how to test I'll leave it at eyeballing21:52
beunoPeng_, you'll have to terach me some day to debug how you do  :)21:53
colbracjelmer: Only the ProgressPanel gets the tick()?21:53
jelmercolbrac, what else should have it?21:54
colbracjelmer: The ProgressBarWindow?21:54
Peng_beuno: Have you figured it out?21:54
colbrac(I don't know exactly what a tick() does.. :P)21:55
beunoPeng_, not yet, no. It's the content of the diff of some bzr change in the last 18 months  :)21:55
colbracjelmer: And why give ProgressPanel all that *args **kwargs when GtkProgressBar.tick takes no input? (def tick(self))21:57
jelmercolbrac, allows us to not worry about it when GtkProgressBar.tick takes args in the future21:58
colbracjelmer: ok makes sense. :).. but what about the ProgressWindow?21:58
jelmercolbrac, I didn't hit this problem with ProgressWindow yet but it does indeed make sense to add tick there as well21:59
colbracok I'll tweak you then :)21:59
colbracdone22:00
jelmerthanks22:00
jelmerbeuno, what's the right address to send loggerhead merge requests to?22:00
colbracso.. how to test the seahorse patch? killall seahorse?22:00
beunoPeng_, fixed, I'll push now. It's 14mb with the new theme  :)22:00
Peng_beuno: Oh, great. What was the issue?22:00
beunojelmer, you can either sent it to the bzr list, or file a merge request to a branch through LP22:00
beunoPeng_, the way I mangle strings now to be able to but them into nice little pieces to fit the screen22:01
Peng_beuno: Err, what?22:02
Peng_beuno: That size reduction is *really* great. :)22:02
beunoPeng_, itgoes down from 114sec to 51 for me22:02
beunoPeng_, if you see at the diffs now, they all fit on screen, instead of going way outside of it22:03
Peng_Oh, line wrapping?22:03
beunothat makes it sound less magical, but yes22:03
lifelessROTFL22:04
Peng_Heheh.22:04
lifelessseveral weeks of work reduced to 'Oh, line wrapping?'22:04
Peng_Haha, sorry. :P22:04
beunoexactly  :)   I was thinking about inventing a new term for it, but it seems I lack marketing skills22:05
Peng_Pushed yet?22:05
colbracjelmer: How is seahorse used? Only in bzr sign-my-commits?22:05
beunoPeng_, no, triple checking I didn't break something else22:05
jelmercolbrac, to display revision signatures in viz22:05
colbracok..22:06
colbracon a separate matter.. when I did 'bzr sign-my-commits' mentioning of all 56 commits of mine in trunk flashed by with a nice 'need passphrase to unlock key' message.. and afterwards bzr declares my commits signed :S22:07
beunoPeng_, pushed22:07
beunojelmer, thanks for the patch, I'll apply it now22:07
beunohopefuly, that means you'll package LH once we release 1.6   :)22:08
jelmerI've already packaged it22:08
Peng_Hm.22:08
beunojelmer, cool!  do you have an ITP on it yet?22:08
jelmerI'm waiting for the other packages I have pending to be sponsored first though22:08
Peng_beuno: I still don't see antyhing to pull. lp:~beuno/loggerhead/new_theme_trunk, right?22:09
beunoPeng_, argh, sorry, stupid 2 locations for everything22:11
jelmerbeuno, new_theme looks much better...22:11
beunojelmer, :)22:12
Peng_beuno: OK, pulled22:12
colbracjelmer: I approved the seahorse patch. bzr vis nicely starts seahorse-daemon when I kill it beforehand.22:14
colbracjelmer: But now I have the issue that I signed all my commits on trunk.. with the main ID of my key instead of the launchpad/bzr-gtk ID22:15
beunoJc2k, if Peng_ can't break anything in the next 10 minutes, I'll try and port the gnome theme to it22:15
colbracjelmer: at least.. all broken seals :/22:15
beunoPeng_, the new theme seems to use less memory for me in general  (probably due to generating smaller files)22:16
Peng_Haha. I do manage to break things a lot, don't I?22:18
Odd_BlokeUsers, who needs 'em? :p22:18
Peng_beuno: The massive diff page took 2:20.95. Rendering RevisionUI: 130.14956402778625 secs, 81780815 bytes, 44947311 (55.0%) bytes saved.22:19
Peng_That's great; my last record for whitespace savings was 46%.22:19
Peng_beuno: That's...35 MB downloaded, vs 51.22:19
beunocool, because that can (and will) be reduces quite a lot soon22:20
jamPeng_: of course, if you put mod_gzip in front of that like a good boy, it wouldn't really matter22:20
beunoI have evil plans to drop sqlite cache, and other ajax bling22:20
Peng_jam: Yeah. I'm running Lighttpd 1.4, which doesn't support compressing dynamic content. 1.5 does.22:21
Peng_I have 1.5 running; maybe I should have my main 1.4 proxy to it, then have it proxy to LH.22:21
beunoPeng_, how's memory usage?22:22
Peng_beuno: Seems about the same22:22
Peng_But I've also received a few other requests, of course.22:23
Peng_It might be 6 MB lower.22:23
beunonot significant22:23
* Peng_ restarts LH to save RAM.22:24
colbracjelmer: Can you probe subkeys in seahorse.py line 239?22:26
jonnydeeHi :)22:30
jonnydeeI'm just playing around with Bazaar and stumbled over a question...22:31
jonnydeeWhat happens when I create a shared repository within a shared repository?22:32
jonnydeeBazaar seems not to complain22:32
radixjonnydee: the innermost one will be used for any operation22:33
radixor "nearest"22:33
jonnydeeaahh... ok I see22:33
jonnydeeAnd are there scenarios where creating such nested repositories makes sence? or is this approach not a recommended one22:34
jonnydeebtw thanks for you quick answer :)22:35
NfNitLoopjonnydee: The only problem I know of is that the outer repository doesn't really know anything about the inner one.22:35
jonnydeeok, I got it :)22:36
NfNitLoopSo if you ever need to check out a previous state of your project...22:36
NfNitLoopyou'd have to roll back each separately.22:36
jonnydeeI understand now...thanks :)22:37
jonnydeeBut just another short question:22:38
jelmerre22:38
jonnydeeIn http://bazaar-vcs.org/SharedRepositoryLayouts there is mentioned a concept "container directory"22:38
jonnydeeused in shared repositories without trees22:39
jelmercolbrac, I don't have a line 239 in seahorse.py22:39
jonnydeeis it just a normal directory? I mean without a .bzr subdirectory?22:39
colbracjelmer: Doh.. revisionview.py I mean22:39
NfNitLoopjonnydee: the "container directory" on that page refers to an SVN repository.22:40
radixNfNitLoop: wait, what? what do you mean rolling back each separately?22:40
colbracwhere you look up the key.get_display_name()22:40
radixif you're using an inner repository, an outer one isn't touched at all; they're completely separate22:40
NfNitLoopradix: right....22:40
NfNitLoopradix:  I just mean they're not in sync with each other.22:40
NfNitLoopradix: you can't just say "I know this was working X revisions ago, let me get that...."22:41
radixwhy not?22:41
NfNitLoopbecause your inner repositories may have changed too.22:41
jonnydeeYes I understand, but there is a section "So the preferred way for Bazar would be:"22:41
radixhold on a second22:41
jelmercolbrac: I guess we could add a "has_uid()" function rather than using get_display_name()22:41
radixNfNitLoop: I think you may be confusing repositories and branches22:41
radixI'm pretty sure jonnydee is talking about shared repositories, not nesting branches themselves22:41
NfNitLoopradix: I think I'm just misusing the terms, but I know the difference.22:41
jonnydeeAnd this section shows a layout with "A container directory"22:41
NfNitLoopradix: he's actually talking about both.22:42
NfNitLoopradix: in separate questions.22:42
colbracjelmer: Yes please :)22:42
jelmercolbrac, any chance you can file a bug? I don't have time to look at the moment but it'd be nice if it wouldn't be forgotten22:42
NfNitLoopjonnydee: aah.  Yes, there "branches" is just a normal directory.22:43
beunoJc2k, https://code.edge.launchpad.net/~beuno/loggerhead/new_theme_gnome22:43
jonnydeeright NfNitLoop - it was a separate question -- i'm sorry for any confusions22:43
colbracjelmer: Will do22:43
NfNitLoopjonnydee: bzr will keep going up a directory (..) till it finds one containing .bzr and it will use that as the shared dir.22:43
NfNitLoopjonnydee: so you can structure your branches however you like.22:43
jonnydeethanks NfNitLoop -- that's exactly the information I need :)22:44
NfNitLooppersonally, I just have project/, which contains trunk/, branch1/, branch2/, etc.22:44
NfNitLoopI don't see a need to separate everything out that is not trunk.22:44
jonnydeeI just have one another question regarding repository layout...22:44
NfNitLoopMy directory structures are already deep enough, thanks.  ;)22:44
NfNitLoopjonnydee: ask away.22:45
jonnydeeCan a shared repository also act as a branch? One of the listed repository layouts seems to suggest this...22:46
jonnydeeproject/             # The overall repository, *and* the project's mainline branch22:46
NfNitLoopermmm....22:46
Peng_jonnydee: Yes, but that's really weird and yucky.22:47
NfNitLoopYeah.  If it can, I wouldn't.22:47
jonnydee(But I do also prefer listing the mainline as trunk anyway)22:47
NfNitLoopProbably don't want to mix your working tree and your branches.  would get confusing fast.22:47
jonnydeeYes that's really weired..22:47
beunolifeless, are you running LH trunk on squid?22:47
beunolooks like you're not22:48
jonnydeeI just was surprised bazaar can handle such a situation. I tried it out and it seems to work... But anyway, it's really confusing... so I will not use this feature22:49
jonnydeeThanks a lot for your help :)22:49
colbracjelmer: 25199222:49
jelmercolbrac, thanks22:49
jonnydeeHave a nice day / night ;)22:51
tsculptjonnydee: How did you get a shared repo to act like a branch?22:53
jonnydeeI did:22:53
jonnydeebzr init-repo project22:54
jonnydeecd project22:54
jonnydeebzr init22:54
NfNitLoop*shudder*22:54
jonnydeeI wanted to reproduce the mentioned scenarion from the tutorial so I tried this and played around a bit and it seems to work...22:56
tsculptso you init'd it a second time like you would an empty branch22:56
Peng_Sure, it works, it's just awful.22:56
jonnydeebut ... yes *shudder*22:56
tsculptyuk22:56
tsculptit still acts like a shared repo too?22:57
jonnydee@tsculpt: yes i did22:57
LarstiQwhy not? just colocation22:57
jonnydeeyes it seems to act as a shared repo22:57
jonnydeeI looked at the size of the .bzr directory after i added some files to a branch within that shared repo22:58
tsculptso you could merge a whole collection of branches at once?22:58
NfNitLooptsculpt: no...22:58
jonnydeethat's a goog question.... but I don't think this is possible22:58
NfNitLoopthe root is still only one branch.22:58
NfNitLoopbut it is also a shared repo.22:59
tsculptah22:59
tsculptwell, I'm new at this, but like it a heck of a lot better than svn23:00
NfNitLooptsculpt: Yep.  Doesn't it make you wonder why anyone still uses anything else? :p23:00
jonnydeethe same accounts to me -- I wish I could convince my company to use Bazaar instead of svn23:00
NfNitLoopjonnydee: well, bzr has a way to go to catch up to all of the tools offered that are compatible with svn.23:01
jonnydeewell, I'm still trying...23:01
NfNitLoopHell, we still use CVS because our ancient software speaks CVS.  >.<23:01
jonnydeeok, that's a good point NfNitLoop -- so I should be happy with our current situation23:02
NfNitLoopjonnydee: yeah, at least with SVN you can use bzr-svn for your own work. : )23:02
jonnydeeI tried to use bzr-svn to talk with our svn repo, but it screwed up the repo23:02
jelmerjonnydee, in what way?23:03
tsculptI really like the idea of using task branches like crazy, seen the merges are so easy23:03
jonnydeehowever, I think there was a problem with wrong versions of svn, bzr and bzr-svn...23:03
NfNitLoopjonnydee: it messed up the svn repository?  I haven't seen that....23:04
jelmerjonnydee, Inconsiste versions may cause a traceback but shouldn't ever cause corruption in your repo23:04
jonnydeewhen I pushed my changes to the svn repo bzr exited with an error (sorry, can't remember the message)23:04
jonnydeebut after that I think/guess there was a hanging transaction within svn23:05
tsculptHow do you backup your repos? With svn being centralized, I used a post commit hook that did incremental dumps, and I just collected those to be replayed in case the repo was lost.23:06
lifelessbeuno: not yet23:06
NfNitLooptsculpt: just "branch" or "push" your repo to another location.23:07
tsculptI imagin with a distributed system you could forgo that, and just push to a backup repo23:07
tsculptyeah23:07
jelmerjonnydee: in the bzr or svn branch?23:07
jonnydeethe log history of svn showed only some of my commit messages I submitted previously to my local bzr repo and their order got messed up23:07
lifelessbeuno: waiting for a release23:07
jelmerjonnydee, was this with released versions of bzr, bzr-svn and svn?23:08
beunolifeless, good, we should have one soon after 1.6 goes out the door. Just have 2 small remaining things to land23:08
jonnydeein the svn branch I there were some revisions missing... I couldn't even retriev them using command line23:08
jelmerjonnydee, bzr-svn will only push the mainline revisions in your branch, not the other revisions. Could that be it?23:09
NfNitLoopjelmer: what's the difference between "mainline revisions" and "other revisions" in a single branch?23:10
NfNitLoopit sounds like you're saying that things you merged in don't get pushed?23:10
jonnydeethere was only one bzr branch -- with other words I did not branch my local branch23:10
jelmerNfNitLoop, yes, that's correct23:10
NfNitLoop...   !?23:10
jelmerNfNitLoop, It does store references to those revisions though23:10
NfNitLoopI'm curious as to why that is?23:11
jelmerNfNitLoop: where would those revisions have to be pushed? They can't be on /trunk since that would cause the diffs between new revisions to be very confusing23:11
jelmerit would also mess up the revision graph23:11
NfNitLoopbeing able to create branches from your bzr-svn repo, make changes, merge them back into your "trunk", and then push them to svn seems like a common use case?23:12
jonnydeeanyway, I think there were incompatibilities: svn server was 1.4.x, my local svn client was 1.5, my bazaar client was 1.6beta2 (I think) and bzr-svn was the one for bzr 1.523:12
jelmerNfNitLoop, that works fine23:12
NfNitLoopjelmer: ah, then I'm misunderstanding the difference between the two types of changes.23:12
tsculptHave you used svn-import to convert a svn repo to bzr?23:13
jonnydeeSolution was to dump svn repo to the revision that existed just before I did the bzr push operation and create a new repository by importing that dump23:14
NfNitLooptsculpt: yes, though it's been a while, I think I did branch?23:14
jelmerjonnydee: it would be nice if you can file a report about this if you can still reproduce it23:16
jelmerjonnydee, this would be the closest anybody has come to repo corruption using bzr-svn as far as I'm aware23:17
jonnydeewhen bzr 1.6 and the corresponding bzr-svn versions are out I will first upgrade the svn serve to 1.5, too, and then I will give it another try23:17
jelmerjonnydee, thans23:17
jelmer*thanks23:17
lifelessso jam will you be wowing?23:18
tsculptSo I am moving my workflow to use, bzr and I want to know what you think..23:18
jonnydee@jelmer: I would like to reproduce it, but I had a lot work to do in order to recover from this event. By rolling back the svn repo I also messed up our CI-Platform...23:19
jonnydeeBefore I did the "push" I told my boss to try out the bzr-svn push. He asked me if it would be better to try it out on another temporary svn repo23:20
tsculptI see using three shared repos, one without trees (on a usb flash drive).23:20
jonnydeeAnd I said. Don't worry, you cannot screw up the svn repo by design...23:21
tsculptWith work performed at two locations, sans communication with one another, I just push to the flash drive repo in a centralized sense23:22
tsculptand pull when arriving at the other location.23:22
jelmerjonnydee: Do you have a bdb or a fsfs repo?23:23
jelmerjonnydee: There are tools for the first to recover from a repo that's abandoned halfway (since that happens if the process that was accessing it dies)23:23
tsculptSo at any one time there are at least two copies of the shared repo distributed23:23
jonnydeefsfs -- And as AFAIK there cannot be hanging transactions...23:23
tsculptthen no dumps or anything like with svn, just three distributed repos.23:24
jelmerjonnydee, what was the error then though?23:24
jonnydee@jelmer: can you point me out to such a tool? is it part of the svnadmin suit?23:24
jelmerbzr-svn access subversion repositories through the standard Subversion API23:24
jonnydee@jelmer: I assumed exactly this23:25
jonnydeeSo I cannot understand why I had these problems...23:25
jonnydeeBut be assured, when I encounter this problem again I will do a bug report -- I promise. I should have done this right when I encounter this problem, but I was just shocked and tried to recover from that problem.....23:29
NfNitLoopjonnydee: well, and you were probably still in software-evaluation mode at that point.23:31
NfNitLoopnot so much bug-reporting.23:31
NfNitLoopIf I submitted bugs for every piece of software I tried out that didn't work as expected...23:31
NfNitLoopwell, I wouldn't have time to IRC.  :)23:31
jonnydeeyes, that's in fact true...23:32
jonnydeeBut in case of Bazaar I will bug-report everything now, because I love this software. The more I use it, the more I like it!!! (And the more svn sucks... ;) )23:34
colbracjelmer: Please check your patches.. the olive - merge one has all the progress bar changes. And perhaps you can also add a set_icon_from_file(bazaar-64.png) while you are at it? (or something like that)23:34
jelmercolbrac, Sorry, I seemed to've uncommitted one revision too few before I sent it in23:35
jelmercolbrac: icon? How's that related to this?23:35
colbrac:) changes to merge dialog23:35
colbrac(hey.. I can try ;) )23:35
jelmer:-)23:36
jelmerI think that's for a different commit..23:36
jonnydeeok guys, thank you very very much for your interest and your help!!! I hope I can somehow give you some benefit back in the future...23:36
jonnydeeSee you :)23:36
=== mw is now known as mw|out

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!