/srv/irclogs.ubuntu.com/2009/02/24/#bzr.txt

wgrantIf I have a remote branch with some ghosts, how do I fix them? If I fetch-ghosts on a local copy and then push, it does nothing.00:31
lifelessjml: what bug number is your stacked performance # ?00:46
lifelesswgrant: you need to fetch-ghosts directly on the remote branch00:46
lifelessI;m not sure if the cli supports that or if you'll need to [trivially] patch the command first00:46
jmllifeless: bug 331823.00:46
ubottuLaunchpad bug 331823 in bzr "Pushing an update of a stacked branch to Launchpad sometimes takes nearly an hour" [Critical,New] https://launchpad.net/bugs/33182300:46
garyvdmwgrant: Hmmm - fetch-ghosts does not have a -d option. It should have...00:47
wgrantlifeless: Thanks.00:47
lifelessjml: its almost certainly the interface fixes for hooks00:47
wgrantgaryvdm: What would -d do?00:47
jmllifeless: ok.00:47
garyvdmwgrant: normaly a -d option lets you specify the branch/directory to perform the action on00:48
wgrantgaryvdm: Ah, right.00:48
garyvdma> bzr push b == bzr pull -b a00:49
garyvdmErr00:49
garyvdma> bzr push b == bzr pull -d b a00:49
lifelessmy next patch drops push-trivial-branch to 44 hpss calls01:02
bob2spiffy01:03
garyvdmWhat does hpss stand for?01:14
mwhudsonhigh performance smart server01:14
jmlis loom included in the OS X dmg file?01:25
=== monty is now known as montywi|zzz
thumperlifeless: 44 seems high, what was it? and what is a trivial branch for this example?02:20
lifelessthumper: 10702:41
lifelessthumper: a trivial branch is a trivial branch02:41
lifelesscurrent bzr.dev is 6402:41
thumperlifeless: like a single revision?02:42
lifelessyah02:42
thumperlifeless: to a stacked branch?02:42
lifelessno02:42
lifelesscurrent bzr.dev stacked is 8802:43
lifelessfor the equivalent test case02:43
lifelessmy branch drops that to 6802:46
rockstarbeuno, http://www.ericsink.com/entries/git_immutability.html03:14
Peng_The streaming push stuff should help "push a couple new revisions to an existing branch", right?03:15
lifelessPeng_: modulo bug 33182303:16
ubottuLaunchpad bug 331823 in bzr "Pushing an update of a stacked branch to Launchpad sometimes takes nearly an hour" [Critical,New] https://launchpad.net/bugs/33182303:16
lifelessrockstar: nice03:18
Peng_Well, I don't use stacking. For my usual "bzr push-and-update" case, I think it's helped nicely.03:18
rockstarlifeless, I thought so.  This is something that's always bothered me about a DVCS in general.03:18
Peng_Seems to be about 7-10 seconds now, when it used to be maybe twice that.03:18
rockstarI still don't really like `bzr uncommit` either.03:18
lifelessPeng_: cool03:19
spivPeng_: sweet03:19
fullermd"Some folks say that Git's killer feature is its index.  That's like saying that C's killer feature is the ability to cast an int to a pointer."03:20
spivPeng_: http://bazaar-vcs.org/SmartPushAnalysis1.13 has some early numbers, FWIW.  1.13 final is likely to be significantly better than those numbers.03:20
spivPeng_: glad to hear the improvements exist for real users :)03:21
Peng_spiv: Oh, thanks for the link.03:22
Peng_Thank you for your work! :)03:22
RAOFFaster push?  Sweeeeet!03:24
mlhfullermd: ... but that's true :-)03:42
spmspiv: any truth to the rumour that v1.13 will be release on the 2009-04-01? ;-)03:43
spivspm: you'd have to ask the release manager ;)03:48
rockstarHm.  `bzr help commands` seems to see the new plugin I'm writing, but actually invoking tho command throws a NotImplementedError03:54
rockstarAny idea why that might be happening?03:54
spivrockstar: what's the traceback?03:56
spivrockstar: I bet something in your command is triggering a raise of NotImplementedError ;)03:56
rockstarspiv, the only thing in the command is a docstring and a pass03:57
rockstarspiv, http://pastebin.ubuntu.com/122179/03:57
spivrockstar: so you don't implement a run method on your command object?03:58
* rockstar facepalms03:58
rockstarWas doing that in the __init__  Thanks for the extra set of eyes there.03:59
=== chx_ is now known as chx
jmlabentley: ping04:09
abentleyjml: pong04:10
jmlabentley: I'm looking at the lp-open patch...04:10
jmlabentley: I would like to be very careful that Branch.open doesn't do network operations in the tests.04:10
=== Guest44001 is now known as Spaz
jmlabentley: sorry, I'm trying to think about how to formulate an actual _question_04:12
abentleyjml: Seems ironic, considering what you're testing...04:12
jmlabentley: yeah, I know. but I'd like the tests to not suck :)04:12
abentleyjml: The approach of using Branch.base was a suggestion, not a requirement.  If you want to land the current patch first, that's fine with me.04:14
jmlabentley: ok. I'll leave that bit as-is.04:14
jml        self.assertEqual(04:14
jml            ['Opening https://code.edge.launchpad.net/~foo/bar/baz in web '04:14
jml             'browser'],04:14
jml            self.run_open('bzr+ssh://bazaar.launchpad.dev/~foo/bar/baz'))04:14
jmlabentley: ^^ that's the thing I'm not sure how to test.04:14
abentleyjml: I guess you could register your own https handler.  Seems a bit overkill04:16
jmlabentley: yeah.04:16
abentleySorry, I meant bzr+ssh handler04:17
abentleyjml: So this looks like a blackbox test.  Is it?04:18
jmlyeah.04:18
abentleyDoes it need to be?04:18
jmlumm.04:18
jmlno. It was the easiest way to do it when the command was smaller.04:19
jmlthere are also unit tests for the feature.04:19
abentleyIt sounds like this test is redundant.  Is that right?04:20
jmlnot quite04:21
jmlI tell you what the Right Thing is04:21
jml_possible_locations and _get_web_url ought to be unit tested04:22
jmland then that test would reduce to 'attempt to look up whatever is passed on the command line'04:23
abentleySounds good.04:24
jmlanyway, I've filed https://bugs.edge.launchpad.net/bzr/+bug/333681 and replied to your review04:26
ubottuUbuntu bug 333681 in bzr "Make lp-open also check Branch.base" [Low,Triaged]04:26
jmlabentley: do I need to send another bundle or a progress diff or something?04:26
abentleyjml: Yes, you should submit a new merge directive, not an incremental diff.04:28
jmlthanks.04:32
jmlwhy would 'info' not print anything.04:38
lifelessif it crashed?04:39
jmllifeless: return code 0, say the logs.04:39
jmlyeah, looks like non-existent branch.04:40
mwhudsonbzr info in a bzrdir with no branch or repo says nothing silently04:40
mwhudsoni meant to file a bug about that...04:40
mwhudsonfor example:04:41
mwhudsonmwh@grond:trunk$ bzr info sftp://bazaar.launchpad.net/~mwhudson/bzr04:41
mwhudsonmwh@grond:trunk$04:41
lifelessmwhudson: please do04:41
jmlmwhudson: yeah, that's what I'm seeing.04:41
jmlI'll do it04:41
mwhudsonjml: thanks04:42
jmlmwhudson, lifeless: https://bugs.edge.launchpad.net/bzr/+bug/33368404:42
ubottuUbuntu bug 333684 in bzr "bzr info fails silently when pointed at a bzrdir with no branch, repo or checkout" [Undecided,New]04:43
jmlincidentally, info -v does *way* too much.04:46
jmlspiv: in this comment -- https://bugs.edge.launchpad.net/bzr/+bug/255292/comments/22 -- you say "capture the SFTP conversation"04:51
ubottuUbuntu bug 255292 in launchpad-bazaar "MemoryError/OverflowError in _read_info_file during branch unlock when pushing over SFTP" [Undecided,Incomplete]04:51
jmlspiv: presumably you want some sort of unencrypted version?, rather than the data sent on the wire?04:51
lifelessgotta say the whole green flash when changing a bug title is ... odd04:51
jmllifeless: file bugs about it on Launchpad if you want to.04:53
mwhudsonjml: fwiw, the copying of .bzr to backup.bzr on upgrading a launchpad branch seems to trigger that bug a pretty large fraction of the time05:06
lifelessjml: oh, I do05:06
mwhudsonjml: if you want a test case05:06
jmlmwhudson: that's good to know.05:06
jmlmwhudson: right now, I just want to make some movement on it.05:07
spivjml: yes please05:41
spivjml: unless you want to provide me with tools to decrypt your SSH conversations ;)05:42
jmlspiv: do you want to provide me with tools to record a decrypted SFTP session?05:42
mwhudsoni imagine hacking paramiko is going to be required :/05:42
jmlmwhudson: gosh, I haven't hacked paramiko to get debugging information in _months_05:46
spivjml: I *want* to05:52
spivjml: that unfortunately doesn't mean that I *will*...05:52
spivBasically, what mwhudson said sounds like the most likely route.05:52
spivSomeone should write a pipedump util, like tcpdump for interprocess pipes ;)05:54
spivjml: btw, I've just sent a probable fix for your bug to PQM06:08
jmlspiv: the hour-long push bug?06:08
jmlspiv: thanks.06:08
spivjml: yeah06:27
igcigc06:27
igcis back06:27
jmlwelcome back!06:27
vilahi all07:00
igchi vila07:26
vilahey Ian !07:26
igcvila: can we mark http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Cm2prhqzm09.fsf%40free.fr%3E as merged now?07:54
vilaigc: man, why are you *all* looking above my shoulder ? :-)07:54
vilaI think it's merged, I'm trying to understand why it isn't :-)07:55
fullermdWould it help if I looked at your knee instead?07:56
vilaigc: I think what happened is that poolie merged it more or less manually, I'm checking that07:56
vilafullermd: leave my knees alone too, please !07:56
vilafullermd: I mean, I'm an honest person, how dare you young man looking at my knees07:57
pooliehello vila07:58
igcvila: I assume you mean "over my shoulder" ..07:58
fullermdYOU claim you're honest.  I think you have shifty knees.07:58
igcvila: I'm just cleaning out the merge Q - you're patch just happened to (still) be in it07:58
vilaigc: damn, over my shoulder, yes. Remember to tell you the favorite expression of my gf grand-mother  one day :)07:59
vilaigc: damn, over my shoulder, yes. Remember me to tell you the favorite expression of my gf grand-mother  one day :)07:59
poolievila, i'm pretty sure i did merge that, maybe07:59
poolieprobably manually because all bb has is a patch not a bundle07:59
vilapoolie: we are all pretty sure :)07:59
* fullermd ponders.08:00
fullermdAs more people are pretty sure, does that make the total likelihood higher or lower?08:00
fullermdI mean, a bunch of numbers [certainty] less than 1, multiplied together, get smaller and smaller...08:00
vilapoolie, igc: right, the only missing bit is a depreceation test, I'll send it to PQM and BB should catch up08:07
vilapoolie, igc: err, not even that much in fact, only some review feedback is missing regarding adding some try/finally around some f.write() calls08:09
poolieyes i was merging it for 1.12 so i didn't actually do the tweaks08:09
vilaand the deprecation mention in NEWS08:09
pooliewould be good to add them if you want to tidy up though08:09
vilapoolie: doidn it right now08:10
vilapoolie: doing it right now08:10
igcthanks vila08:15
* vila slaps his knee: *Don't* run selftest in a bound branch, you know that damn it08:19
poolievila, what happens?08:20
vilapoolie: I get prompted for my id_dsa password since the test suite is isolated from my ssh agent08:21
vilathis is due to 'bzr info' being used by some tests as a 'do something but not that much' command08:21
vilait's a known problem related to the branch nick08:22
lifelessvila: sounds like they are not properly isolated; which tests08:22
=== montywi|zzz is now known as montywi|meeting
poolieit may be that we're trying to open the branch to print the revision of the source tere08:23
poolietree*08:23
vilaerr wait, not bzr info, bzr version, sorry for the confusion08:23
vilalifeless: they *are* isolated ans SSH_AUTH_SOCK is cleared, that's the problem :)08:26
lifelessvila: if htey are isolated the fact that your branch is bound should be irrelevant08:27
vilawell, not really *the* problem, that's only one way to look at it, it's just that bzr version get some information from the branch for the bzr it is running, which IMHO, makes it an unfortunate choice for that kind of tests08:28
* vila searching for those tests again08:28
lifelessvila: the gathering of data of the bzr running the tests should be outside the test isolation08:29
vilalifeless: have a look at bzrlib.tests.blackbox.test_selftest.TestRunBzrSubprocess.test_run_bzr_subprocess and tell me if you will try your approach or choose another command :)08:32
lifelessvila: it looks like an isolation issue to me08:35
lifelessvila: I *bet* the cwd in one of tise is wrong08:35
lifelessvila: and in fact it is, its running the bzr under test rather than [e.g.] an exported copy or some such08:36
vilalifeless: I *agree*, but do you you really want to export bzr to run these tests ?08:37
vilaI meant, I agree that's an isolation issue, but the cure sounds a bit excessive08:37
lifelessvila: perhaps --version shouldn't connect to bound branches in this way08:38
vilalifeless: I think I remember tracking the problem until an access is made to the branch *nick*, so not really a --version directly related issue08:38
lifelessyes, nick ill be the trigger08:39
vilaand still from memory there is a default value which says get the remote one when we access the nick, but changing that wasn't an option, so I back-tracked and finally thought that the right fix was to not *use* --version when possible because that was not worth the effort, and since this was introduced by yet another totally unrelated patch, I just went unbinding my branches when needed :-)08:41
vilaI mean, I mentioned the problem just after the patch was merged but... there was more important issues around that patch08:42
vilaIn other news, I can confirm that our ftp support hasn't regress under python-2.6 and that all the failing ftp tests were indeed caused by medusa not being compatible08:46
pooliehttp://benchmark.bazaar-vcs.org/rrd/runtime-common-suite-all.png08:50
mtaylorlifeless: what was that thing ( I think it was you that showed me ) that lets me manage multiple deb packaging branches from a single thing?08:54
pooliebzr-loom?09:01
poolienightall09:01
=== mvo__ is now known as mvo
lifelessmtaylor: autoppa09:09
mtaylorlifeless: hell yes! thanks09:10
=== mvo__ is now known as mvo
lifelessspiv: it landed!10:33
lifelessspiv: if you have a script to record the timings, it could run overnight :P10:33
lifelessspiv: also, train ride home == VF decorator fully tested.10:36
willwillhello, I got bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/%7Enotify-osd-developers/notify-osd/main/.bzr/repository/packs/535754cb35e490c69b794a3cc65ffee4.pack: Expected a boundary ()yo,4lJD726(aEMWnFZV) line, got ''12:07
willwillbzr 1.11 on Fedora 10 , bzr branch lp:notify-osd , I does not supply my lp login yet12:08
awilkinsSounds like the "defective squid" error12:13
=== awilkins is now known as awilkins_mmmPie
=== thunderstruck is now known as gnomefreak
willwillI directly connected to the internet, no proxy is used except for DNS proxy12:43
=== thunderstruck is now known as gnomefreak
=== chx__ is now known as chx
igcnight all12:55
beunogood night igc12:55
beunoit's great to have you back12:55
beunohave I said that already?  :)12:55
james_wnight igc, the document looks great, I'll review fully later12:57
james_whey beuno12:57
beunohi james_w12:58
beunohow's it going?12:58
james_wgood thanks, you?12:58
igcthanks beuno12:58
igcthanks james_w12:58
beunopretty good, trying to catch up on work, as always  :)12:59
=== awilkins_mmmPie is now known as awilkins
bialixhi, I'm looking for some (wise) advice about some almost standard options like --include(-i) and --exclude(-x)15:16
bialixdoes --include implies that its argument (list of an items) should be used instead of default one?15:16
bialixor it can be used as "add this items to default list"?15:17
bialixfast-import-filter command e.g. used first variant: --include list used as default processing list15:17
bialixany suggestions?15:18
vilabialix: I don't remember having ever encountered the second variant, so go with your first variant15:20
bialixmy question related to my scmproj plugin. I have several ways to select components for processing. Yep, the first variant is most logical, and I hope "standard" way to doing this15:21
bialixvila: thanks15:21
vilaI'm not sure you need a --include option as opposed as accepting arguments to define your list15:21
vilathen, --exclude applies to your arguments *or* the default value for your arguments15:22
bialixI need --include because I'm using arguments for other purposes15:22
vilas/as opposed as/as opposed to/15:22
bialix-i/-x pair should work just fine15:22
bialixbut... I wonder, why bzr uses -i/-x form as short names for include/exclude, while hg uses -I/-X15:24
bialixIIRC15:24
vilatar defines: --files-from (files listed into a file) and --exclude-from (files listed into a file too), zip defines -x files and includes files specified as arguments15:24
rexbronbialix: dumb luck :P15:24
vilabialix: tar defines -X as an alias for --exclude-from, zip defines -x files...15:25
bialixrexbron: I don't understand your joke15:26
vilabialix: And this comes from a case sensitive OS :-)15:26
bialixvila: I like zip. -x ftw15:26
bialixno need to hold shift in the end15:27
bialixok, bzr is simpler15:27
awilkinsreduced wear on the little-finger tendons15:27
bialix:-)15:27
vilabialix: diff defines -x pattern and -X file (containing file names) :-)15:27
bialixOMG15:27
awilkinsHow people use Emacs without getting swingeing tendonitis I'll never know15:28
vilabialix: on unix, man(1) is your friend :-)15:28
bialixbut in my case it's `diif -x`15:28
awilkinsctrl-alt-meta-ow-shit-my-hand-is-now-a-claw15:28
vilaawilkins: because they started young and are trained :)15:28
vilaEscape-Meta-Alternate-Control-Shift ftw :)15:28
awilkinsAh, so you're saying Emacs is the editor for chinese acrobat children?15:29
bialixand del?15:29
vilaawilkins: You didn't know *that* ?15:29
vilabialix: real programmers don't need del :-)15:29
bialixoh15:30
bialixvila: Putty screwed up Backspace when I'm editing files in nfte on Linux, and have to use Del. This always make my crying15:30
* awilkins gets around this by using Windows via rdesktop on Linux15:31
* bialix has no such luxury15:31
awilkinsEspecially since they installed some kind of security product that stops the Windows Vista RDP client working properly15:31
vilabialix: besides del is achived with Ctrl-d under emacs :)15:32
awilkinsIt's really good when you try to open a \\tsclient\ drive and the server BSODs15:32
bialixctrl-d deletes selected region for me in fte15:32
bialixok, I have answer I've looked for. thanks15:33
vilabialix: nah, delete-region is C-w :)15:34
bialix:-D15:34
bialixI'd better to do not continue this finger battle15:34
vilahehe, I think being comfortable with emacs *requires* to know at least ~50 key bindings, efficient ~100, hacker mode ~150, after that you'd better learn the commands themselves in case you forget the key bindings :)15:35
cody-somervilleHow do I disable a plugin?15:36
vilacd ~/.bazaar/plugins ; mkdir DISABLED; mv bogus-plugin DISABLED15:36
vilacody-somerville: why do you need to disable it and what plugin is it ?15:37
cody-somervillevila, gtk15:37
cody-somervillevila, it prevents me from using bzr when X isn't available15:37
vilaurgh, is it dbus related *again* ?15:37
cody-somervilleyup15:38
vilabialix: by the way, qbzr still blows out when I try to run selftest with python-2.6 (for which I don't have pyqt4)15:39
bialixfile a bug please15:39
vilacody-somerville: I think this has been fixed at least a dozen of times already :-/15:39
bialixvila: IIRC I dont try to fix selftest w/o PyQt4 yet15:40
vilabialix: I did and I thought you fixed pretty quickly, only to discover later that the problem was still there15:40
bialixvila: this is different problem15:40
bialixI've fixed bug-url command, but you now talks about selftest15:41
bialixwhy you run selftest for qbzr if you don;t have qt?15:41
vilaI run selftest and that includes qbzr because it's installed15:42
vilathe problem is that qbzr *aborts* at load time instead of raising some import error or something that disables it without aborting the current command15:42
bialixplease, file a bug about selftest15:43
bialixI'll fix it shortly15:43
bialixqbzr has a lot places where we import pyqt4 lazily, but some internal modules are not so lazy15:44
cody-somervillehmm... I guess it wasn't bzr-gtk that was causing the dbus issue15:46
* cody-somerville tries removing bzr-dbus15:46
bialixvila: btw my fix is not released yet15:47
vilabialix: and you think I'm not running qbzr trunk ? :-)15:47
vilabialix: no time to file bug, here is the fix: http://paste.ubuntu.com/122430/15:48
vilabialix: :)15:48
bialixvial: you said about "installed" version15:48
bialixsorry, vila ^15:48
vilabialix: tested against 2.5 with pyqt4 and 2.5 without :)15:48
vilabialix: sorry about what ? Providing qbzr ? You should be proud instead :)15:48
bialixsorry about typo in your nickname (I wrote vial)15:49
bialixthe main author is luks15:49
vilabialix: I'm running lp:~qbzr-dev/qbzr/trunk@revno 62315:49
bialixI'm just hacking it and maintain it15:49
bialixvila: your fix is quick hack, I'll try to investigate the problem a bit deeper15:50
vilabialix: sure15:52
vilabialix: and thanks15:52
bialixfor what?15:52
bialixif you don't have qt you can't use qbzr15:52
bialixvila: bug #3338915:56
ubottuLaunchpad bug 33389 in samba "Winbind does not start on boot" [Medium,Fix released] https://launchpad.net/bugs/3338915:56
bialixno Bug #33389215:57
ubottuLaunchpad bug 333892 in qbzr "selftest crashed if qbzr installed without pyqt4" [Undecided,New] https://launchpad.net/bugs/33389215:57
vilabialix: thanks ! And blame launchpad for eating the spaces in the patch :-)15:58
bialixbad lp, bad lp. go to the corner and think about it15:58
beunovila, it's the world crisis, we had to cut down on food for servers, so now they're after characters. Just wait until they find out how yummy a's are15:59
* bialix waves15:59
jelmerwhoa16:02
* jelmer is running bzr log on a 190k ooo bzr branch16:02
jelmerbzr sure doesn't like that16:03
vilajelmer: 190k revisions I presume ? Having fun ? :-)16:03
jelmervila: yeah16:03
jelmervila: brisbane-core rocks btw16:03
jelmervila, without it it would've taken me days to get this import16:03
jelmernow it took me around 14 hours16:03
vilajelmer: good to know, did you talk with igc about it ?16:05
jelmervila, no, not yet16:05
jelmerit takes about 100 seconds before "bzr log" even gives any output..16:05
vilajelmer: a bare 'bzr log' ? Without any options ? No hidden alias or something ?16:06
jelmervila: yep16:06
jelmerrunning with lsprof now16:07
vilajelmer: how many packs ?16:08
jelmervila, 3016:08
jelmerthe largest is 640 Mb16:08
NfNitLoop... whoah.16:09
jelmervila, the problem seems to be that it has to walk the graph all the way down to the bottom16:10
NfNitLoopDo they have lots of binary files?  (Clip art, logos, etc?)16:10
jelmerNfNitLoop, they mainly have a big history (270k revisions)16:10
jelmervila, and most revisions are on the mainline16:10
vilajelmer: it shouldn't need to walk the whole graph for a bare 'bzr log'... at the least in common cases...16:11
jelmervila: it has to determine the revno's16:11
vilajelmer: yeah, nevermind, I certainly know that and I mixing potential optimizations with actual code ;)16:13
jelmervila: :-)16:13
jelmervila: I'll certainly talk to Ian about it16:13
vilaIan's revno cache plugin could certainly help there, until we implement some lazy revno tricks16:14
jelmervila: after the initial wait, it's pretty decent16:14
jelmerI haven't tried his revno cache plugin yet, I'll give it a try16:15
vilajelmer: yeah, once we get the graph loaded, log is really streamed16:15
vilajelmer: me neither but I saw the code passing around :-)16:15
jelmervila: same story for "bzr viz" btw, it Just Works except that the initial ancestry browsing is a bit slooow16:17
vilajam: http://paste.ubuntu.com/122440/ can fix two more failing tests but I'm affraid the approach can be rude for performances, thoughts ?16:17
vilajelmer: bzr viz lacks the nifty +/- of qlog :-)16:17
jelmervila: To quote lifeless: Patches welcome (-:16:18
vilajelmer: not that it will solve the problem you're referring to :-)16:18
vilajelmer: hehe, I looked at it once,... and had to work on other things...16:19
vilajam: come back  ! :)16:19
jelmervila: do you know why a push from development5-subtree into 1.9-rich-root would use a lot (1Gb) of memory?16:25
vilajelmer: in bbc ?16:26
jelmervila: yeah16:26
vilarevno 3834 may be ?16:26
jelmervila: is that the cause or the solution ?:-)16:27
vilajelmer: I think it's the cause, but if you don't use it already, let see if it's a solution :-)16:27
vilajelmer: and it's the cause, we really like to know as it's part of a streamed push whose purpose is to avoid consuming too much memory :-)16:28
=== mark2 is now known as markh
vilajelmer: and *if*it's the cause, we really like to know as it's part of a streamed push whose purpose is to avoid consuming too much memory :-)16:29
jelmervila, is it right that that no longer gives any progress indication?16:36
vilajelmer: right ? no. Known ? I think so. IIUC part of it was lost during the last big merge made by jam16:37
jelmerthrope, fwiw this is wrong: http://projects.scipy.org/pipermail/scipy-dev/2009-February/011210.html16:40
jelmerthrope, clones *are* the same, and the bzr metadata is not visible as long as you're running svn >= 1.516:40
latexermorning all.16:41
latexerif bzr blame shows a revision number like "297.2.3" how do I find the "main" revision that introduced the change?16:42
awilkinsjelmer: You don't even need to run svn > 1.5  repository16:42
awilkinsjelmer: Works fine with a 1.4 format repo and 1.5 libraries16:42
awilkinslatexer: You'd need to know which branch that revision came from to find the "main" revision.... or you could just branch it at that revision, and hey presto, you have theat revision16:43
latexerawilkins: can I at least find the "merge point" that introduced the change?16:44
awilkinslatexer: You have qbzr or bzr-gtk?16:44
latexerawilkins: I think i've got bzr-gtk installed on this box.16:45
latexerhrm... nope, I removed it cause it kept spitting warning about not working with my bzr version.16:46
* latexer re-installs.16:46
jelmerhi enigma4216:48
jelmerawilkins: Ah, I thought that was specific to the collabnet server16:48
awilkinsjelmer: I've been using file:/// to push branches into a 1.4 repo locally16:49
awilkinsThe repo has to be compatible with our server and since I'm the server admin I can't be bothered to upgrade it to 1.5.x16:50
jelmerawilkins, but does that use file proeprties or revision properties?16:50
awilkinsjelmer: I'll take a look at the repo16:50
awilkinsIf you want a copy it's only a couple f meg16:50
latexerawilkins: ok.... now what? I have a *lot* of revisions in this branch...16:51
latexerawilkins: the log view doesn't show the revision numbers...16:51
awilkinsjelmer: bzr:file-ids? Seems to be using revprops16:52
jelmerawilkins: So nothing shows up in "svn diff" wrt properties?16:54
awilkinsOn a file across two revisions?16:54
* awilkins looks16:54
enigma42jelmer: Hello16:59
enigma42jelmer: Not ignoring you...I had just stepped away from my desk.16:59
jelmerawilkins, any kind at all (but bzr-specific, of course)17:00
awilkinsOk, I'm having trouble with the CLI (used to tortoise), and I have to cath my train now, I'll check later17:00
=== beuno_ is now known as beuno
jamvila: just seeing how things are going for you17:15
enigma42jelmer: Oh...one thing comes to mind about 0.5...17:15
vilajam: hi !17:15
enigma42jelmer: Sometimes, a push or a pull takes *forever*17:15
LarstiQlatexer: I was hoping to get close with 'bzr log -r 297.2.3 -n1 ', but it doesn't do exactly what I'm looking for17:16
enigma42When I turn on transport logging, it looks like it is fetching revision information on rev at a time.17:16
enigma42And for my project, that's several hundred revisions.17:16
enigma42jelmer: Maybe this is due to having a mix of file properties and revision properties?17:17
jelmerenigma42, 0.5.2 should be a lot faster17:17
enigma42(The total push time is about 9 minutes for no changes.)17:17
enigma42jelmer: OK. Let me grab it and try it out. I didn't realize there was a new release.17:17
enigma42jelmer: I guess I haven't been checking it daily recently. ;-)17:17
vilajam: I'm back on bbc fixing tests17:18
jamvila: sounds good.17:20
jamHow is the current state for bbc?17:21
jam(Just curious if merging bzr.dev made it a lot better or worse)17:21
vilajam: Currently working on 'CHKInventory' object has no attribute 'apply_delta'17:22
vilajam: merging made it a bit worse, but I've already fixed some, we are not *that* far the previous point17:23
jamvila: k. Just to mention I don't think you want to implement 'apply_delta'17:23
jamCHKInventory has "create_by_apply_delta" which is what we should be switching to17:23
jamCHKInventory is meant to be immutable17:23
jamand you have to create a new one to modify it17:24
vilajam: I know: http://paste.ubuntu.com/122440/17:24
vilanow it's failing with   p_offset, p_length = self._container_writer.add_bytes_record(17:25
vilaAttributeError: 'NoneType' object has no attribute 'add_bytes_record'17:25
jamvila: you need to be in "start_write_group()"17:25
jamaka, repository.lock_write(), repository.start_write_group(), *create_by_apply_delta*, repository.commit_write_group(), repository.unlock()17:26
jamCHKInventory.create_by_apply_delta() writes bytes down to disk17:26
jamWe don't have a memory-only implementation17:26
jamIn theory we could17:26
jambut we pun the "finalized form" with "written to disk"17:26
jamso that we know what pages need to be written, and what not17:27
vilahmm, the test use branch_builder, does that imply a memory only impl. ?17:28
jamvila: A plain Inventory can exist nowhere but in memory objects (InventoryFile, etc)17:28
jamCHKInventory only exists when backed by a repository17:28
jamwhether that repo's bytes are stoored in a MemoryTransport or on actual disk17:28
jamvila: does that make more sense?17:29
vilayes17:29
jamlifeless: when you get online... it looks like git uses 'libxdiff' not 'libxdelta', minor difference, but xdiff seems to be about "Rabin's Polynomial", so I would guess they cribbed the implementations from there.17:30
jamah, the thread seems to be here: http://kerneltrap.org/index.php?q=mailarchive/git/2006/4/21/203883/thread17:33
thropejelmer: ping17:54
jelmerthrope, pong17:54
thropehello - I saw your point earlier - I am replying to that guy and jsut wanted to check something17:55
thropefor me bzr branching etc. works fine without any bzr metadata in the svn repo17:55
chxI read http://bazaar-vcs.org/Documentation/LoomAsSmarterQuilt and I like it. "Thus, if a partial commit is performed, I first shelve any remaining changes before going up-thread: " -- what does it mean by partial commit?17:55
jelmerthrope, yes, that's correct - and will always create the same bzr repository17:55
thropeso when is that needed? bzr stuff in the svn repo is only needed when you are pushing branches back?17:55
thropeor you want to keep track of bzr side histroy of commits you are pushing to svn17:56
jelmerthrope, yes, and that's necessary for the 1-to-1 mapping he mentions as not existing17:56
jelmerthrope, the metadata is *optional* when pushing back into svn, but mandatory if you would like to push the exact same revision, including all bzr metadata17:57
throperight17:57
thropeis this correct: for example, one can checkout from subversion using bzr-svn, branch using bazaar, modify, and push back to a different location in svn and it will be a svn branch17:57
jelmeryes, that's correct18:00
thropeie svn copies18:02
thropewith history preserve18:02
rawlerhey people..18:03
Peng_Hi18:03
rawlerwe're a bunch of people using bzr for various projects, with mostly very good experiences..18:03
Peng_That sounds kind of secretive.18:04
rawlernow, however we've seen our first challenge.. we're starting up a new project, with a bunch of new people, who have never used version control, or even linux command-line before..18:04
Peng_Sorry, Peng_ watches too much TV. Anyway..18:04
jelmerthrope, yes18:04
rawlerPeng_: heh.. not really a secret at all.. just trying to not having to list the 10-15 project dirs controlled by BZR.. ;)18:05
rawlerso, my question is: is there any really good book or booklet (preferably in printed form), that goes through the very basics of bzr source control, without requiring too much previous knowledge on POSIX shells and such?18:06
rawlerI.E. if someone expects them to know in advance what a unified diff is, they will probably run for the hills.. ;)18:07
jelmervila, not much better :-(18:09
vilajelmer: context ?18:09
jelmervila: push from bbc to 1.9-rr18:09
jelmervila, still uses about 1g of RAM and takes around 5 minutes to push 150 revisions18:10
vilajelmer: both repos are local or ?18:11
jelmervila: yes, both local18:11
thropejelmer: would  you say this is accurate ? http://pastebin.com/m7e84dfb718:12
jamjelmer: what is the repository?18:13
jamAlso, last I checked bbc isn't always rich-root18:13
jam(--dev5 is *not* IIRC)18:13
jamand neither are the current hash forms18:13
jambut regardless, pushing from bbc => 1.9* is going to have to do a conversion18:13
jelmerjam, dev5-subtree18:13
jamk18:14
jelmerjam, the repository is here: http://people.samba.org/bzr/jelmer/ooo/trunk18:14
jelmerhttp://people.samba.org/bzr/jelmer/ooo/ooo/trunk/18:14
jamjelmer: so did it convert in ~20hrs ?18:14
jelmerjam: it got up to 190k in 12 hours, after that I stopped it since I wanted to do actual work :-)18:15
jamout of?18:15
jelmerjam: out of a little less than 270k18:15
jelmerthekorn, I'm not sure what you mean exactly by "it will be a svn branch"18:23
jelmers/thekorn/thrope/18:23
jelmerthrope, also, it's possible to push without those bzr properties, it just means you don't get the 1-to-1 mapping18:24
thropejelmer: i mean the files will be svn copies - ie preserve history from the originals18:25
thropethanks for your help18:26
jelmerthrope, other than that, seems right to me18:26
enigma42jelmer: About push and pull slowness....18:29
enigma42jelmer: 0.5.0 took about 9 minutes, 0.5.2 took about 2m15s.18:29
enigma42jelmer: So, it's much faster.18:29
jelmerenigma42: great :-) 0.5.3 should be significantly faster again, once it's released18:30
enigma42Cool!18:31
NfNitLoopyay!18:36
ronnyjelmer: is dulwich already able to generate commits (preferable without the need of a workdir)18:40
jelmerronny, yes18:40
jelmerronny, and without the need for a workdir; in fact, we can't generate a commit for a workdir yet18:40
ronnyoh, thats good18:41
ronnyi need some kind of backup app, and a git repo will do fine18:41
jelmervila: whoa, bzr-revnocache reduces the "bzr log" startup time on OOo from >100s to 0s18:46
beunoyeah, igc's a genius18:47
vilajelmer: told you ! :-) Seriously, I had no idea, that's great !18:47
beunoit does magic with loggerhead18:47
beunohaven't been able to work in the changes needed to use it18:48
beunobut experiments show amazing improvements18:48
jelmerwould also be nice if bzr-gtk could use it..18:48
Peng_bzr-revnocache stores data in .bzr, doesn't it?18:48
beunoyes18:48
Peng_Does it use a significant amount of disk space?18:49
Peng_(Although I have lots of bzr-search indexes anyway, so who am I to care about that? :P )18:49
jelmerPeng_, 12Mb for 190000 OOo revisions18:49
beunojelmer, it needs to be updated to use the new API. I guess if I manage to get to it for LH, I can do the same for bzr-gtk18:49
jelmerbeuno, that would be awesome18:51
Peng_I guess I might as well install it, then?18:51
beunojelmer, I peaked at the code briefly, and it's roughly the same changes for both. Maybe bzr-gtk is easier18:52
beunoPeng_, go for it, although LH will probably not use it18:52
beunoit calls the old APIs, etc18:52
Peng_I don't think my Loggerhead install has permission to write to .bzr anyway.18:52
beunoright, that's one of the changes I need to make18:53
beunoconfigurable caching dir18:53
jelmerbzr-search could use that as well18:54
beunoyeah, also on my ToDo list18:54
beunoonce I get that, and auto-scan-new-branches18:54
beunoI want to make bzr-search a dependency for LH  :)18:54
beunowell, that and allowing you to turn it off, of course18:54
ronnyhmm18:56
=== domas is now known as domas|out
=== domas|out is now known as domas
Peng_FWIW, I don't want LH to do automatic indexing, but I do want it to use bzr-search indexes when they're available.18:57
ronnyi'll have to steal some ideas from lh later18:58
beunoPeng_, the current behavior18:58
beunoronny, that's what open source is about  ;)18:59
ronnyim still not at the point where anyvc is ready to power a web interface18:59
Peng_beuno: Right. If you add automatic indexing, please don't remove the current behavior. :)18:59
beunoPeng_, of course not, I will make it a non-default optional setting18:59
Peng_beuno: Thank you.19:01
ronnyhmm19:01
ronnyit kinda sucks that git lacks a smart server one could mimic over wsgi19:02
jamjelmer: I'm repackaging 1.12 so that I can remove the ugly dll that is causing problems19:13
jamShould I include svn 0.5.2 ?19:14
jamalso, jelmer, why are your branches no longer mirrored on Launchpad?19:16
=== ja1 is now known as jam
Peng_jam: So that people can't do "bzr branch lp:bzr-svn" and get an out-of-date copy.20:02
Peng_jam: Last I checked, the mirrors still exist, under names like lp:~jelmer/bzr-svn/0.5-mirrored.20:02
jamPeng_: of course it breaks all my build scripts...20:03
jamwhich don't really care about getting the *latest*, just want to get an older tag20:04
jamnot to mention that people.samba.org was broken a couple times recently...20:04
kfogelare revprops a new feature?  the string "revprop" does not appear in the Users Guide.20:04
jamkfogel: possibly under "revision properties". Not new, but not really exposed to users, either.20:04
jamI wouldn't expect to see them in a "Users Guide"20:04
jam(--author happens to be implemented using it, though)20:04
kfogeljam: not under "revision properties" either, but okay, I didn't realize they weren't exposed.20:05
jelmerjam, yes, 0.5.2 would be nice20:05
jelmerjam, sorry about the branches, I'm surprised the remote branches stuff doesn't allow -r..20:05
jamjelmer: well, it would probably have worked, but by checkouts were from "bazaar.launchpad.net" and those branches disappeared20:06
jamplus that machine has bad DNS, so I have to manually enter each ip address20:06
jelmerjam, Yeah, it seems to work with just "lp:bzr-svn"20:06
jamfor now I just rebound to 0.5-mirrored20:06
kfogelLarstiQ: hey, did you see that mail about bzr-email-notifier on the list?  The project that appears to want to be a superset of bzr_hookless_email?  Probably good if you respond and advise the developer whether to try to merge or to do an independent project.20:18
LarstiQkfogel: I've not been reading my email for the last ~2 weeks (been away from home), thanks for the heads up20:25
kfogelLarstiQ: want me to follow up in the thread saying your attention has been drawn and you will be replying?20:26
LarstiQkfogel: that'd be swell :)20:26
kfogelLarstiQ: doing now, np20:26
lifelessspiv: when you see this; sometimes sleeping on the problem helps :)20:29
lifelesshttp://paste.ubuntu.com/122552/20:29
jamhi lifeless20:32
lifelesshi jam20:35
lifelessjam: I have a full test running; if you want to chat we could do so no20:37
lifelessw20:37
jamlifeless: I didn't get much done on compression today.20:38
jamToday was packaging win32 installers, looking into python.org questions20:38
jametc20:38
jamLike changing "time bzr branch --stacked" from 67m down to 4m30s...20:38
Peng_67m?20:38
jamPeng_: we currently build the working tree by requesting each file's content separately20:39
lifelessPeng_: get_record_stream was being overly conservative on memory20:39
Peng_Ah.20:39
jamso 4k files == 4k ish round trips at 100ms each20:39
lifelessjam: thank you! :)20:39
jamlifeless: Well, I did it by cheating, and I don't have great answer as to how to stream the content off correctly.20:39
jamI do have 1 patch which is obvious for bzr.dev20:39
lifelessjam: cheating - back to one big request?20:40
jamlifeless: yeah20:40
jamI just wanted to see where we would get to20:40
lifelessjam: components_positions has the sizes20:40
lifelessI suggest summing stuff from in there, or something20:40
jamlifeless: 'bzr branch --stacked bzr+ssh://" is 3m39s' which is nice20:41
jamI'm not sure if it is the max 200-range request issue20:41
jamor if it is because of the new streaming20:41
lifelessnew streaming ?20:43
jamlifeless: One is a smart server, rather than a dumb request20:43
jamlifeless: so I don't know if the 4m40s => 3m40s is because of the smart server20:44
jamor because of better readv() handling20:44
lifelessoh20:44
jamOur HTTP code has a hard-cap of 200 Range requests20:44
lifelessreadv() I would suspect20:44
jambecause Apache gives errors at 400 Range requests20:44
jamour bzr+ssh code just has a hard-cap at ~5MB20:44
jambut 5MB >> .5MB I was seeing for HTTP20:44
=== montywi|meeting is now known as montywin
=== montywin is now known as montywi
jamlifeless: I'm seeing the "get_parent_map()" calls of death on a 'bzr push' for a bzr branch20:48
jam(to a stacked branch on Launchpad)20:48
jamso it isn't specific to lp trees20:48
jamthis is with bzr.dev tip20:48
jamwell 4039, close enough20:49
lifelessjam: spivs fix hasn't landed20:52
lifelessjam: I imagine it failed in some way20:52
jamlifeless: k. I thought I saw him mention he sent in a fix20:52
jamlifeless: can you point me to the patch?20:52
lifelessyeah, its not in the log though20:52
jamI haven't seen a specific patch for it on the bzr mailing list20:53
jamthough maybe I just haven't found it20:53
lifelessyah I reviewed in person20:53
lifelesshttp://people.ubuntu.com/~andrew/bzr/bug-331823/20:53
jamso is the actual fix just getting rid of "update_revisions" ?20:57
lifelessyes20:58
jamanyway, it works here :)20:59
jamstopped a process after 11min, new one finished in 17s20:59
lifelessyeah20:59
mwhudsongaaaaar, depending on other people's software is terrible20:59
jamjml: so it looks like spiv's fix will probably work for your launchpad pushing woes, as long as we can actually get it merged :)20:59
lifelessit was intended to land yesterday21:00
jamlifeless: I did manage to spend a little bit of time looking through the git 'repack' code21:02
jamsome interesting bits21:02
jamlike the max allowed delta size changes based on how long the delta chain is21:03
jamit is a bit hard to understand how it is defined, but they will stop generating a delta early21:04
jamif it exceeds the expected length21:04
jelmerhi davidstrauss21:18
davidstraussjelmer: hi21:18
jmljam: sweet21:20
Takmwhudson: s/depending on // :-P21:23
mwhudsonTak: if i don't depend on it, i can blissfully ignore it :)21:23
tdomhancan I somehow delete all revisions before a specified revision in bzr?21:24
jamlifeless: are we doing the conference call via phone again today?21:26
lifelessjam: I hope not21:27
jamlifeless: I thought other people said they preferred it21:28
lifelessjam: opinions vary; I find it less convenient and worse audio21:29
mwhudsonskype has better audio when you can hear anything at all21:31
=== r0bby_ is now known as r0bby
Peng_Bazaar is supposed to work right when a local branch is read-only, right?22:08
Odd_BlokePeng_: Locking might be a problem.22:09
lifelessPeng_: yes, it should22:09
lifelessOdd_Bloke: if it is is a bug22:09
Odd_BlokeYeah, I was about to say I don't know about the 'supposed to'. :)22:10
Peng_Just checking. Thanks.22:10
Peng_(I'm not having any problems with bzr itself, just bzr-revnocache.)22:10
james_wpoolie: confirmed today22:29
poolieyay22:30
jelmerigc, 'morning22:30
pooliejames_w, put up your details when you get a chance please in https://wiki.canonical.com/Bazaar/Sprints/Brisbane09?action=diff&rev1=13&rev2=1422:31
garyvdmHi - I'm trying to use rebase for the first time. I'm trying rebase the revisions 631..624 on to the tip of trunk22:31
james_wpoolie: done22:31
james_whey jelmer22:31
garyvdmI did bzr rebase -r 624 ../../trunk/22:31
jelmerhey James22:31
garyvdmIt did nothing.22:31
garyvdmWhat am I doing wrong22:32
igchi jelmer22:32
igcnice to hear revnocache is helping OOo log speed22:32
jelmerigc: Yeah, I was about to mention that :-)22:32
jelmerigc, revnocache rocks, and so does the development5-subtree format :-)22:32
igcI still feel making --short the default is the right thing from both a usability and performance perspective but I'll leave that battle till later :-)22:33
jelmerigc: I hope to have a full import of OOo tomorrow, but that will be in development5-subtree22:33
igcjelmer, so tell me more about why development5-subtree was so much faster at importing22:33
igcI'm not seeing big gains in fastimport yet22:34
jelmerigc: Well, the original comparison was against rich-root-pack, not 1.9-rich-root22:34
jelmerigc: I'm also using create_by_inventory_delta22:34
igcjelmer:that's good but you must be doing other stuff too22:35
igccreate_by_inventory_delta is typically wrapped by higher levels repository APIs isn't it?22:35
* igc looks22:35
jelmerigc: previously I was using apply_delta()22:36
jelmerwhich means a lot of time is spent copying and serializing inventories22:37
jelmerigc: In fact, pushing development5-subtree back into 1.9-rich-root is probably about as slow as importing into 1.9-rich-root directly22:38
igcjelmer: I'll get back to fastimport in a day or two and take another look at this22:41
lifelessigc: create_inventory_by_delta is a huge win22:42
igcjelmer: add_inventory_by_delta *looks* like its building a full new inventory but I suspect it's being smarter than that down in the ChkInventory, in which case the serialisation time should be much better22:42
jelmerigc: yeah, it's a lot smarter than that22:43
igcjelmer: thanks so much for working on the OOo import and keeping the conversation going with Jens22:44
igcjelmer: back to revnocache, it's worth mentioning that's its still pretty raw22:44
igcthere's a TODO file in the plugin that I'm hoping mwhudson, beuno and others can use to get inspired and hack on it further :-)22:45
jelmerigc: ah22:46
jelmerigc: but are there plans to eventually have some of this in the cocore?22:46
jelmers/cocore/core/22:46
mwhudsoni want to work on incremental update,22:46
igcjelmer: the trick to using revnocache is to update code to use Branch.iter_merge_sorted_revisions()22:46
igcjelmer: I do want put of revnocache in the core but it's a part I haven't written yet ...22:47
igcnamely fast mapping of dotted-revno to revision-id by using a mergeline-cache22:47
jelmerigc: looking forward to it :-)22:48
igcunlike the full sorted merge graph, that cache can be small and (hopefully) cheap to update22:48
igcjelmer: the biggest problem with revnocache is that it's a space pig - it stores the sorted merge cache *per* branch22:49
igcif and when we can start chaining caches so that most the data is only cached in the local mirror/trunk branch with22:50
igcincremental changes stored per branch, that issue will largely go away22:50
mwhudsonalso, btrees will be a lot smaller i guess22:51
igcmwhudson: right22:51
jelmerigc: ah, hmm22:57
jelmerigc: for OOo it's managable but that's because they have a huuuuge mainline and not a lot of branches22:57
dirkDi just installed bzr-gtk from EPEL (on Centos 5), but how do i enable the Bazaar integration in Nautilus?22:58
garyvdmigc: what is the difference between mergeline-cache and  full sorted merge graph?22:58
lifelessjml: spiv: the fix for the bug is on its way now22:58
jmllifeless: cool.22:58
garyvdmigc: I assume that full sorted merge graph is what you get from merge_sorted_revisions()?22:59
jelmerdirkD, install python-nautilus23:01
jelmerdirkD, if it's doesn't work after restarting nautilus, then it probably is a bug in the RPM23:01
garyvdmjelmer: Do you think a similar architecture to tbzr help the Nautilus integration perf problems?23:02
dirkDjelmer: what's the name of python-nautilus in EPEL or Centos?23:02
jelmerdirkD, no idea, sorry - the bzr-gtk package should already depend on it, or suggest it23:03
dirkDgnome-python2 maybe?23:03
jelmergaryvdm, perhaps23:03
jelmerdirkD, if the bzr-gtk package doesn't depend on it, it probably doesn't install nautilus-bzr23:03
dirkDjelmer: i think it's installed: i have "/usr/lib64/python2.4/site-packages/bzrlib/plugins/gtk/nautilus-bzr.py"23:05
jelmerdirkD, it needs to be installed in the nautilus extensions directory23:06
jelmersomething like /usr/lib/nautilus/python23:07
dirkDnow the monkey comes out of the sleeve, i only have  /usr/lib64/nautilus/extensions-1.023:09
jelmerah23:15
lifelessargh23:19
lifelessthis test_source is killing me23:19
lifelesshonestly, who the hell cares23:20
lifelesswe've wanted to get to fast deltas between trees for a couple years now23:23
lifelessand the branch to do that is only now closing in on completeness23:24
lifelessbah, ECHANNEL23:24
=== garyvdm_ is now known as garyvdm
dirkDjelmer: should i put the *contents* of the gtk folder (/usr/lib64/python2.4/site-packages/bzrlib/plugins/gtk/nautilus-bzr.py etc.) or the whole gtk folder in ' /usr/lib64/nautilus-python/'?23:27
jelmerdirkD, just nautilus-bzr.py23:28
jelmerdirkD, but the package should be doing that for you..23:28
dirkDok23:28
dirkDwell, it doesn't (i even removed, and re-installed bzr-gtk after installing nautilus-python)23:29
jelmerdirkD, sounds like a bug in the packaging23:30
dirkDyes23:31
dirkDjelmer: how would i know if the extension works?23:31
jelmerdirkD, it'll show extra icons on bzr-managed files23:31
jelmerhmm, autopack now seems to be taking 20% of the time of a svn-import now :-/23:31
lifelessjelmer: cool23:32
ronnyis it possible to disable autopack?23:33
jelmerronny, afaik, yes23:34
jelmerlifeless, so I'm wondering what the best approach is; I write a pack (commit_write_group) every 500 revisions at the moment23:34
jelmerlifeless, however, that doesn't seem optimal anymore once the pack files are close to a Gb in size23:34
lifelessronny: its not a good idea, but for some specific applications [imports] it makes sense, so there is no UI, but there is a facility23:34
ronnylifeless: thats why i asked23:35
jelmerlifeless, would writing a pack file every 500 revisions and then later on triggering a single autopack have any negative influence on performance?23:35
lifelessjelmer: its unlikely too as our delta chains are hard capped at 200 anyway23:35
dirkDjelmer: the extension still doesn't work :( is there a way to debug it?23:36
lifelessjelmer: btw, write 999 revisions23:36
lifelessthe pack count is log10 based23:36
jelmerlifeless, what's unlikely /too/ ?23:36
lifelesspacks of 1 for 1-923:36
jelmerdirkD, it should print something to stdout when you load it in nautilus23:37
lifelessits unlikely to have a negative performance impact doing a single autopack with that many revisions in a pack23:37
igcjelmer: right, but the moment they start feature branching (which is a core part of their "cws" workflow), revnocache will grab the disk space for that branch (once a revno off the mainline is needed)23:37
lifelesspacks of 10 for 10, 20, ... 9023:37
lifelessjelmer: so 999 revisions are permitted 27 pack files; you'll trigger less autopacks simply by doing that23:37
jelmerlifeless, ok, will change that23:38
lifelessjelmer: 500 revisions will be autopacking every 2 packs23:38
lifeless(5, 10 -> 1 pack)23:38
igcgaryvdm: yep, the mergegraph-cache is the serialised output from merge_sorted_revisions()23:38
lifeless15, 20 -> 2 packs23:38
lifeless25, 30 -> 3 packs23:38
dirkDjelmer: wait.... *i* should load it?23:38
lifelessjelmer: changing to 499 would work too23:38
jelmerdirkD, no, nautilus should load it23:39
bob2lifeless: why 200? robustness?23:39
dirkDjelmer: ok, it doesn't (just 'Initializing nautilus-open-terminal extension')23:39
jelmerdirkD, my guess would be that it's not in the right directory23:40
dirkD/usr/lib64/nautilus-python/nautilus-bzr.py23:40
jelmerlifeless, ok, I've changed it to 99923:40
garyvdmdirkD: run nautilus from the command line and see if it prints anything.23:40
lifelessbob2: arbitrary figure23:40
dirkDgaryvdm: yes, i did, "[root@server1 ~]# nautilus -q"       "Initializing nautilus-open-terminal extension"23:40
jelmerdirkD, In my case it's in /usr/lib/nautilus/extensions-2.0/python23:41
igcgaryvdm: the proposed mergeline cache is basically (base-revno, length, tip-revision) ...23:41
jelmerlifeless, so, just to double-check:23:41
igce.g. 1.23, 12, xxxx23:41
jelmerlifeless, there's no significant performance influence in turning off autopack during imports and autopacking only once at the end of the import ?23:42
igcso finding the revision for 1.12.11 (say) will have much the same speed as finding revno:-223:42
lifelessjelmer: as long as you don't end up with massive scatter-gather IO on getting basis texts, it is fine23:42
garyvdmigc: ic23:42
lifelessjelmer: if you have delta chains spread across very many packs, its a problem.23:42
igci.e. we can match the base revno (1.12), find it's tip and search backwards from there23:42
jelmerlifeless, hmm23:43
garyvdmigc: I'm interested in this cause I can maybe use it to speed up qlog23:43
igcthat will be much faster that building/loading the whole revision graph and doing a map lookup23:43
jelmerlifeless, thanks23:43
ronnyjelmer: are there any higher level apis for building trees/commits for dulwich?23:43
jelmerronny, other than bzr-git, not yet23:44
igcgaryvdm: well, I think qlog ought to call a new log api I'm working on called iter_log_revisions()23:44
igcSee my patch on logging multiple directories for the details23:44
dirkDjelmer: a strace gave some nice info: "open("/usr/lib64/nautilus/extensions-1.0/python", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)"23:45
igcUntil that lands - I need to resubmit it following vila's review - the trick is to call Branch.iter_merge_sorted_revisions()23:45
ronnyjelmer: so i would have to use bzr-git to build things like commits for dulwich?23:45
igcgaryvdm: ^^^23:45
jelmerronny, well, what do you mean by a higher-level API exactly?23:45
james_wdirkD: what version of nautilus are you using?23:45
jelmerdirkD, looks like you want that dir then23:46
garyvdmigc: Unfortunately qlog relies it's copy of graph_parents to work out what lines it needs23:46
igcgaryvdm: the mergeline cache will only speed up "log -rx.y.z"; otherwise you'll want what revnocache does now23:46
dirkDjames_w: 2.16.223:46
lifelessfooding23:46
lifelessspiv: eta?23:46
james_wdirkD: and how did you install the nautilus-python extension?23:47
garyvdmigc: I'll have to make that lazy before I'll be able to take advantage of revnocache23:47
ronnyjelmer: 2 things i need to do- 2. iterate the paths a tree builds to blobs, so i can infer a sha1 sums file, 2. updating the current tree from a tarball that only has the changed blobs23:47
dirkDjames_w: from source23:47
spivlifeless: not sure, have been fighting the suddenly flaky wireless for a chunk of the morning.  Will SMS.23:47
lifelessspiv: ok23:47
dirkDah, got it: http://pastebin.com/m78634a9923:48
lifelessspiv: fwiw my wireless still works :)23:48
ronnyhmm23:48
ronnyi really love that content-addressing stuff23:48
james_wdirkD: it seems to have picked up the wrong nautilus extension dir, is it hardcoded in the build system?23:48
dirkDjames_w: of bzr-gtk?23:50
james_wdirkD: no, python23:50
jelmerronny, There's no functions for that at the moment, but the functions required to implement them are there23:51
dirkDjames_w: it's in the makefile23:51
james_wdirkD: is there any mention of the -1.0 path?23:53
james_wif not then you will need an older nautilus python23:53
dirkDyes, it is :)23:53
igcpoolie: the benchdata directory on orcadas now has pack & btree archives for mysql & bzr23:55
dirkDjames_w: could this be relevant? http://pastebin.com/m30f4838623:55
igcI've added bzr.ini and mysql.ini files as well showing how the indirection works23:55
igcpoolie:^^23:55
lifelessigc: indirection ?23:56
igclifeless: picking the best pre-upgraded (branch) archive based on the tool name usertest is benchmarking23:57
james_wdirkD: maybe23:57
james_wdirkD: your strace shows that you haven't got nautilus-python installed for the right nautilus ABI, you need to fix that to have any chance of this working23:58
dirkDPYTHON_LIBS = -L/usr/lib -lpython2.423:58
dirkDPYTHON_LIB_LOC = /usr/lib23:58
igclifeless: that way, usertest benchmarks the operations without taking 10-20 hours to upgrade to the right format first23:58
igc(well, for development5 formats on big projects at least)23:58

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