/srv/irclogs.ubuntu.com/2009/03/30/#bzr.txt

igcmorning all00:38
jelmerhi Ian00:42
jelmerlifeless: it looks ok, but it seems like the check patch is significantly changeed, not just polished?00:42
igchi jelmer. Thanks that your reviews over the weekend. Much appreciated00:43
igcmorning lifeless00:43
jelmerigc: svn-keywords is already partially working :-)00:44
igcjelmer: I'm actually keen to get bzr-keywords into the core as well, so you can assume that code is there and build on it00:44
igcjelmer: now that the fallback bit is in place, you'll only need to register how to expand the keywords I think00:45
igcjelmer: and you get the sweet publishing features in bzr-keywords for free as well00:45
igcnext weekend maybe :-)00:46
stbuehlerjelmer: saw my feedback for svn / dpush ?00:47
jelmerstbuehler: hi00:47
jelmerstbuehler: where?00:47
jelmer(I haven't seen anything yet)00:47
stbuehler jelmer: just wanted to give some feedback: bzr dpush does *not* give you the svn-revisions back, even if you had new commits pushed to upstream svn00:48
stbuehlerperhaps that works if you never used the normal push, didn't try that00:49
stbuehlerseems like i cannot force bzr to rebase to the svn branch00:49
jelmerstbuehler: no, it doesn't as that would require changing existing revisions; we can keep a map though and display that sort of information00:50
lifelessjelmer: yes, 0.9.5 to 0.9.6 added a special linker script00:51
stbuehleri wouldn't mind changing them, if it where an option :)00:51
jelmerstbuehler: can you please file a bug report about this? I'll try to get it fixed for the next version00:52
stbuehlerjelmer: so dpush should change existing revisions? k, let me try :)00:53
jelmerstbuehler: yeah, dpush basically pushes all revisions into the remote repository00:54
jelmerstbuehler: and then fetches the revisions that were created remotely and overwrites the local revisions with them00:55
jelmerstbuehler: push (by definition) only changes the remote revision00:58
jelmers/revision/branch/00:58
stbuehleryes, that is perfectly valid :)00:59
lifelessjelmer: the 0.9.6 patch is polish from the subunit point of view, its just updating against the check project01:02
jelmerstbuehler: oh, maybe I misunderstood01:18
jelmerstbuehler: dpush won't change any previously "bzr push"'ed revisions of course01:18
jelmerit only affects revisions not yet in svn in any form01:19
stbuehleri mentioned i "dpush"ed new commits, which were not in svn01:23
stbuehlerbut maybe it only works if you never used "push"01:23
jelmerstbuehler: sorry01:24
jelmerstbuehler: it should work fine if older revisions were pushed01:25
jelmerstbuehler: is this repo public?01:25
stbuehlersvn://svn.lighttpd.net/spawn-fcgi/trunk01:25
jelmerthanks01:26
jelmerstbuehler: ok, I figured out what's happening, this shouldn't be too hard to fix01:28
jelmerlifeless: btw, I hope to split out libtorture from samba at some point01:47
jelmerso we can use that in bitlbee, ctrlproxy, etc in favor of libcheck01:48
lifelessjelmer: thats your C testing infrastructure?01:48
jelmerlifeless: yep01:48
jelmerit already does subunit01:48
lifelessjelmer: I'd be inclined to put patches into libcheck, the fork isolation really is nice01:48
jelmerlifeless: is there any chance of your subunit patch actually making it into libcheck?01:49
lifelessjelmer: yes01:49
lifelessI've resubmitted it, chris pickett has ack'd that they were being overly nitpicky01:50
jelmerhmm01:51
lifelessentry point to the recent dicussion http://sourceforge.net/mailarchive/message.php?msg_name=1235597368.24285.63.camel%40lifeless-6401:54
lifelessits a terrible list archive ui01:54
jelmerah, cool01:59
jelmerbleh, sf svn is still slow :-(02:24
jelmerlifeless: you are using bzr-svn for check development, right ? >-)02:24
lifelessjelmer: yes, do you want me to push trunk in bzr format somewhere?02:24
jelmerlifeless: yes, if it's not too much trouble02:25
lifelesssure thing02:25
jelmerI can do a pull myself, but it looks like it's going to take at least 30 min at this rate..02:26
lifelessthere is a  https://code.edge.launchpad.net/~vcs-imports/check/trunk :)02:27
jelmerlifeless: except that imports from CVS, and hasn't been updated since 2005 :-)02:28
lifelessheh. we should redirect it then :) . bzr+ssh://bazaar.launchpad.net/%7Elifeless/check/svn02:29
lifelesspushing my subunit branch now02:29
jelmerlifeless: thanks02:30
lifelessjelmer: bzr+ssh://bazaar.launchpad.net/~lifeless/check/subunit02:32
jelmergot it02:34
jelmerdid launchpad just upgrade to 1.13 or something?02:34
lifelessnot for 2 more days02:34
jelmerit's too freakishly fast all of a sudden02:35
spivLast week bzr.dev got a fix for a performance bug when pushing to pre-1.13 servers, maybe it's that?02:38
lifelessI think jelmer was pulling :)02:38
jelmerwell, pushing was the main thing that got faster02:39
jelmerI pushed a 130Mb repo to lp in < 1m02:39
lifelessthat would be spiv's fix02:42
spiv:)02:45
lifelesslunch, back soon03:25
jmllifeless: the only subunit branch up for review I see is https://code.edge.launchpad.net/~radix/subunit/report-errors-better/+merge/429203:42
lifelessjml: jelmer reviewed the polish branch03:42
jmloh cool.03:42
=== timchen1` is now known as nasloc__
lifelessjml: if you didn't get notice about the subunit branch, are you subscribed appropriately to trunk ?04:02
thumperlifeless: what would cause a knit to become corrupt and raise SHA1KnitCorrupt when calling show_log?04:25
lifelessan actual knit?04:26
lifelessor something in a pack?04:26
lifelessthumper: ^04:30
ovnicrafthi folks. is it posible configure bzr with emacs to commit comments?04:34
bob2ovnicraft: recent emacs has vc-bzr built in04:43
* igc lunch04:47
ovnicraftbob2, yep i got it thx04:52
beunoigc, hi04:57
beunoI was looking at your mergeline cache RFC supersede your plugin?04:58
lifelesstracked down the commit failure05:01
lifeless[bah]05:02
igchi beuno05:25
beunohey igc05:31
beunohow are you?05:32
igcbeuno: flat out - trying hard to make our next-gen the best it can be05:33
igcbeuno: no, it doesn't supercede it - it helps it though05:34
beunoigc, I've seen. It's impressive work05:34
beunook, good, because I was about to spend the weekend working on loggerhead + your plugin to get them working well together05:35
igcbeuno: there's still a need for caching the full history to make log *really* fast - that the revnocache05:35
beunoI obviously got sidetracked by RL, but was very clse  :)05:35
beuno*cloase05:35
igcthe mergeline case helps *one* special but importasnt case - lookup of a single non-mainline revno05:35
beunohotcha05:35
beuno(typing sucking)05:36
=== abentley1 is now known as abentley
beunoI see05:36
beunobrisbane-core is going to rock...05:36
fullermdHmm.  Is there some reason it can't help in other cases?05:37
lifelessigc: a 22K file is quite a lot of data to be updating on push/pull over the wire... I'm inclined to react cautiously and suggest taking the revnocache approach05:37
fullermdI can see that it wouldn't save you any total time on log (since you pull all the info anyway), but wouldn't it let you number and start displaying more quickly?05:38
igclifeless: it doesn't get updated on push or pull05:39
igclifeless: only the first time log is used on that remote branch05:39
Stanlinhi05:57
lifelessigc: I don't get the connection between my ocmment and your reply :)06:00
StanlinMay i use BZR with any kind of files?06:03
igclifeless: log, status and diff are read operations06:04
igcyou suggested not updating files during them06:05
fullermdbzr currently maintains an embargo against Cuban and North Korean files...06:05
igcI'm saying "that's the whole basis of the design"06:05
igcI'm now updating the mergeline-store file *outside* the read transaction06:05
igcso I think it's safe06:06
igcgiven I check the data is still current before saving it06:06
igcand lack of data there is handled without a drama06:06
igclifeless: make more sense now?06:06
igclifeless: and sorry if the reply wasc rushed - I'm tired today :-(06:07
igcs/wasc/was/06:07
lifelessigc: well, its clearly vulnerable to race conditions06:10
* fullermd is somewhat uncomfortable on principle with the idea of 'log' writing stuff...06:11
lifelessigc: I assume I'm not understanding the cache, and I'm really concerned that this is being rushed into - we have only this week to freeze the bbc format, if I remember the dates06:11
igclifeless: right. fwiw, I'm not doing anything that couldn't work on bzr.dev now - it's not tied to brisbane-core though I'm ok with doing that06:13
lifelessigc: this isn't clearly correct, and has serious potentially serious issues as all caches do.06:13
lifelessnot to mention that writing during a read operation is simply impossible on e.g. http:// urls, so its entirely useless there06:14
fullermdAre serious potentially trivial issues more or less hazardous than trivial potentially serious issues?06:14
igclifeless: true. But the important case if local so we could easily restrict it to that06:14
igcs/if/is/06:14
igcand remove any network concerns06:14
lifelessigc: I'm finding the discussion hard, it feels like you're presenting this as all-or-nothing, and already-analysed-this-is-right, rather than engaging06:15
igclifeless: sorry - I'm not meaning to come across like that06:15
igclifeless: and I'm very interested in how you think it's subject to race conditions and/or ought to proceed06:16
lifelessigc: so as a design principle we are trying to remove all our caches06:16
lifelessfor instance, one possible cache that was proposed as an alternative to brisbane-core was to cache inventory deltass in commit objects06:17
lifelesswe successfully avoided that while still getting good performance06:17
lifelesswhich means we get good performance on arbitrary tree deltas rather than only on adjacent ones06:17
igclifeless: really? That's sounds crazy. Caches are necessarily bad. Even bash has them :-)06:18
igcs/are/aren't/06:18
bob2Stanlin: yes06:19
lifelessfor this case, I'm interested in: what the root problem is. (is it revnos? is it index performance? something else?) I'm interested in why the operations are faster *overall* with this - what work is it actually saving, and why06:19
lifelessigc: caches increase data storage, add the opportunity for bugs relateed to coherency, increase writes needed and can often reduce performance overall06:20
Stanlinbob2: including graphics and big files??06:20
fullermdStanlin: It will _work_ for them (mod performance or memory issues with large files, anyway).  Whether it's particularly _useful_ depends on your situation.06:21
Stanlinfullermd: awesome, ok so i can go ahead and use bzr for all my desktop06:22
fullermdIf any files are a significant fraction of your available physical memory (ISO's and the like are common offenders), you're likely to hit some unpleasantness.06:23
fullermdAnd of course a number of operations (like merging) are a lot less useful with binary files.06:23
Stanlinfullermd: well for starters i just want to do it with small documents06:23
Stanlinfullermd: what is the best scenario to , use bzr, as server,   and lets all users push and pull, without editors or any control?06:24
lifelessigc: so we really want caches where they really appear to be the best answer, not the first answer.06:25
fullermdStanlin: That's way too broad a question to answer in general   :)06:26
lifelessigc: and this one, given the data I have so far, appears to be the first answer with none of the deep questions answered06:26
fullermdStanlin: Very dependant on exactly what your situation is.06:26
Stanlinis bzr superior to Git?06:27
lifelessigc: I may well be wrong and have missed the guts of the analysis06:27
lifelessStanlin: we think so :)06:27
fullermdYes and No and See Me Next Tuesday.06:27
Stanlingnight all :D06:27
lifelesswoo, faster commit landing06:29
* Stanlin performs aptitude remove git06:30
igclifeless: it's very early days w.r.t the mergeline cache. It works but that doesn't make it the answer. Please don't reject it on principle though. From *my* analysis, it's the smallest amount of data needed to make some selected use cases perform well. I done lots in work in recent months on stuff like revnocache and this is the only part of that plugin that I've ever thought should go in the core06:35
igcAnd if it's not core-worthy, it will go into revnocache instead06:35
lifelessigc: I won't reject it on principle; but to put it in core I would want those deeper questions considered06:36
igclifeless: sure, and I have considered cache currency in the design already, for example06:36
lifelessI need to head off; day is done and all06:37
lifelesshttp://pqm.bazaar-vcs.org/06:37
lifelessrecord-iter-changes commit - landing now06:37
igclifeless: well done and thanks no the commit stuff06:38
igcs/no/on/06:38
igcand for playing devil's advocate :-)06:39
fullermdFWIW, I agree in principle too...06:40
fullermdI'd rather see fixable performance issues fixed (even if rather later) than papered over.06:40
fullermdOnce papered over, fixes tend to get pushed back a long ways, and even when made, the papering often remains messing things up worse   :|06:40
fullermd(this of course expresses no opinion whatsoever on where the current questions falls on that spectrum, since that's all the opinion I'm qualified to express...)06:41
igcfullermd: we currently cache the last revno and last-rev-id for the mainline06:43
lifelessigc: revno is a cache, last-rev-id isn't06:43
lifeless:)06:43
* lifeless goes06:43
igcfullermd: all I'm doing is extending the idea to each "mergeline" so finding a rev-id for x.y.z doesn't require a full graph build06:44
fullermdigc: Convincing me of the fitness or lack thereof of some internal mechanism is kinda wasted effort   ;)06:45
fullermdI have pro and con feelings on the issue, but considering how drastically uninformed they are compared to anybody else you talk to about it...06:47
igcfullermd: thanks for the tip. I was being polite and offering an explanation in case you cared :-)06:51
fullermdOh, I do appreciate that.  It's why I'm here and occasionally even pay attention   8-}06:54
fullermdJust that pretty much any insight or judgement that might occur to me, lifeless already thought of 20 minutes before I read any descriptions, and either already brought up or mentally discarded as absurd.06:55
vilahi all07:41
Peng_Good morning.07:42
igchi vila07:43
thumpercan someone tell me the difference between 1.13 and 1.13.1?08:09
thumperwill it matter server side?08:09
thumpershould LP use 1.13 or 1.13.1?08:09
Peng_thumper: Look at the announcement: 1.13.1 fixes a version number mismatch in bzr vs. bzrlib, fixes an error in NEWS (I think), fixes 'merge --force', and bzr-1.13.tar.gz didn't include the Pyrex-generated C files. Does any of that matter for LP?08:17
Peng_thumper: If LP doesn't use "bzr", doesn't use "bzr --force" and has Pyrex installed on the build machine or doesn't use the tarball in the first place, I guess it doesn't really matter.08:18
thumperPeng_: thanks, I think LP will stick with 1.1308:26
thumper:)08:26
Peng_Err, "bzr merge --force", I meant..08:27
spivthumper: I agree with Peng_'s assessment.  Also, we write the NEWS file for a reason ;)09:03
thumperspiv: don't expect people to actually read NEWS, geez09:03
thumperspiv: what makes you think I have a copy of trunk?09:03
spivthumper: Well, I'm reasonably sure you have a tool to browse files in branches online09:05
spivthumper: but also the relevant parts of NEWS are sent in each release announcement09:06
thumperspiv: geez, why all this reading when someone can just ask :P09:06
spivthumper: of course, http://bazaar.launchpad.net/~bzr/bzr/trunk/annotate/head:/NEWS would be even better if LP didn't time out trying to render it ;)09:07
spivthumper: when you ask, all I do is go and read that file09:07
spivthumper: so you might as well cut out the middle man :)09:07
thumperspiv: and save me the trouble :)09:07
=== serg_ is now known as serg
=== AnMaster_ is now known as AnMaster
VSpikeGreetings.  A general question.  I have a project where parts of it are customized files for the end customer - e.g. web pages, set up files, theme files etc...12:09
VSpikeI want to maintain these branches in parallel for the long term.  Is there a way to make this easier, i.e. to ensure that some changes in a branch never get pushed to the parent?12:09
VSpikeThe other approach would be to treat all the customer specific files as a separate project under source control.12:10
VSpikeBut bzr doesn't seem to handle related sub-projects yet - unless that has change since I last checked?12:10
yogsotothVSpike: got the same problem with 3 différent environments.12:26
yogsotothI use 3 differents branches12:26
yogsotothAnd I never use pull nor push12:26
yogsotothbut only merge12:26
yogsotothThat should work just great12:27
VSpikeyogsototh: do you mean that you never make code changes in the child branches that need go back to parent?12:38
=== beuno_ is now known as beuno
=== ja1 is now known as jam
joieApologies if I'm asking the obvious - but I can't find it in the docs. Is there any way of finding out the common ancestor a merge command is using?13:20
joie(I'm kinda new to bzr - but been using baz for a long while, trying to make the switch!)13:21
lifelessjoie: bzr find-merge-base13:21
lifelessjoie: found in 'bzr help hidden-commands'13:22
joieAhhah - sounds like a useful thing to know - thanks!13:22
joieI'm essentially trying to do the equivalent of a baz apply-delta to put all the work from one branch onto my working branch, and want to be sure that merge is doing the "right" thing!13:23
james_wjelmer: hey, thanks, I was just about to take another look at bzr 1.13.1 and I saw the ACCEPTED mail.13:43
jelmerjames_w: it turned out there was a bug in the python2.6 package in experimental that I had instlaled13:56
jelmerjames_w: uninstalling it made the problem go away13:56
=== thunderstruck is now known as gnomefreak
Takjelmer: hello14:05
igcnight all14:13
emmajaneigc, just got your email. The reason I emailed you back with the link was because I don't have time to do this right now.14:18
liwwhat's this mean: Unable to contact DBus session: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.14:32
jelmerliw: bzr-dbus was unable to contact your local DBus14:36
jelmerliw: while attempting to signal that a new commit was made / branch was updated14:37
liwok. why is dbus being contacted? I'm not running under X for that command (ssh into the machine; there is an open X session in the console, though)14:39
jelmerliw: you have bzr-dbus installed probably15:14
jelmerliw: newer versions of bzr-dbus will not show any error / output if it fails15:14
liwjelmer, ok, then I'll just ignore it, thanks15:22
jamvila: just a quick question, if you managed to fix the duplicate "CHKInventory" stuff.15:34
vilaajmitch: yu[15:35
vilaajmitch: sorry wrong target15:35
vilajam: yes ?15:35
jamvila: ?? or 'yes' :)15:36
vilajam: I pushed --overwrite on vilajam15:36
vilajam: 'just quick question, if' I was waiting for the question :)15:36
vilajam: the fix may not be the cleanest one (you can still find the duplicate in a couple of revisions if you dig enough), but I think it's "good enough"15:41
meuserjIs there an existing plugin or other method for creating a default template for commit text?15:49
jelmermeuserj: there's no plugin yet, but there is a hook you can use if you're going to write such a plugin15:50
vilajam: in gc, _compress last returned value is length, documented as 'number of bytes accumulated in the group output so far' but the code seems to calculate the delta length instead15:55
vilavila: it seems to be used only in _insert_record_stream and even there that seems like a left over15:56
jamvila: so the return is currently (sha1, start_of_record, end_of_record, kind, length_of_record)16:03
jamthe last part is obviously redundant with end_of_record - start_of_record16:03
vilajam: not so obviously :-) but thanks for confirming, it's not always the case for the python impl. but if the semantic is correct, I'll just delete it16:04
vilajam: can I get also get rid of the last_fulltext_len in _insert_record_stream ?16:05
jamvila: sure, I think there was something about returning the size of the fulltext that was being compressed, etc16:07
jamI would probably just get rid of 'length'16:07
jam(evolving interfaces :)16:07
vilajam: ok, doing it right now16:08
jamso stuff like last_fulltext_len was meant as a possible way to play with varying the compression decisions16:08
vilaI can 1) get rid of it as well as length, 2) keep it and update it with end - start16:09
jamvila: We can always bring it back if we decide we want to use it16:10
jamfor now, cleaner code is probably better for landing in bzr.dev16:10
vilaok16:10
jelmerjam: hi16:22
jelmerjam: How do I create a branch5 format programmatically?16:22
jamjelmer: in a test suite or just from bzrlib?16:31
jelmerjam: in a testsuite16:32
jelmerfor other branch formats I can use ._matchingbzrdir16:33
jamjelmer: self.make_branch('dirstate'16:33
jamwould probably be fine16:33
jamat least that was the last one to use Branch516:33
jamif you need more control than that, then I can go through it16:33
jam(that will be a knit format repo, with a branch5 branch)16:34
jelmerjam: is there any way to obtain that from a BranchFormat instance?16:34
jamjelmer: are you saying you need the name of the format?16:34
jelmerjam: I have a BranchFormat instance (BzrBranchFormat5) and need to create a branch that uses it16:35
jambzrlib.branch.BranchFormat5.initialize()16:35
jelmerpreferably as generic as possible, without special casing BzrBranchFormat516:35
jelmerThis is for the InterBranch tests16:35
jamjelmer: my_format.initialiaze(a_bzrdir) ?16:35
jammy_format.initialize(a_bzrdir) ?16:35
jelmerjam: but in that case what format can a_bzrdir have?16:35
jamjelmer: there is only 1 'metadir' bzrdir format16:36
jelmercan I use a BranchFormat5 with a recent repo format?16:36
jamjelmer: yes16:36
jamit will "work" we just don't give you a way to specify that with a short name from 'init'16:36
jelmerah, neat, I wasn't aware of that16:36
jamvila: so where are you at? I haven't seen your commit showing up yet :)17:14
vilaI tracked down the unicode symlinks error back to bzr.dev@4216 :-/17:15
vilaCan you run ./bzr selftest -s bt.branch_implementations.test_sprout.TestSprout.test_sprout_with_unicode_symlink in your bzr trunk ?17:15
vilajam: ^ ?17:18
jamvila: currently on win32, I'm sure it will pass just fine :)17:19
vilajam: lol, yeah, but I don't understand how pqm let it pass17:19
jamvila: on my server, that test fails about 5 times17:21
jam'ascii' codec can't decode byte 0xce17:21
vilayup, that one17:21
jelmerwith or without the dirstate pyrex extensions?17:21
jamjelmer: both17:21
vilajelmer: both17:21
jamvila: maybe a python2.4 issue?17:22
vilarevno 4215 succeeds, 4216 fails17:22
vilajust reproduced it with 2.4 too 8-/17:22
jamvila: so I could see where 'iter_changes' is accidentally using 8-bit symlink_target rather than unicode, but yeah, I don't see how pqm didn't fail just like us17:26
vilaUnicodeFilenameFeature not available on pqm ?17:28
jamvila: certainly possible, I don't know17:28
jamactually, probably likely17:28
jamtry setting LANG=fr17:28
jamor something17:28
jamrather than fr.UTF-817:28
vilaEMYOSDOESNTSPEAKFRANCAIS :)17:29
vilaLANG=en_US.UTF-817:29
vilaalways17:29
jam:)17:30
jamso LANG=en_US  then :)17:30
jamvila: yeah, it passed with a skip here17:30
vilayup, tests are skipped in that case17:30
vilacrap17:32
vilajam: by the way, I pushed my last changes at vilajam17:33
vilajam: you may want to pull --overwrite from there though17:34
vilajam: I mean, I you keep a mirror of that one17:34
vilajam: I mean, IFF you keep a mirror of that one17:34
=== solarion_ is now known as Solarion
jamvila: well, I'm a bit saddened that you keep '--overwrite'ing all of my branches. You pushed up your history for brisbane-core, and vilajam...17:36
vilajam: ?? I try to respect the mainline most of the time, but here you had committed *on top* of the error, so I tried to get rid of the problem as best as I can :-/17:37
vilajam: I tried alternate ways to fix it, but most of them ended up with the wrong annotation for both CHKInventory and CHKInventoryDirectory (all the lines were attributed to *me*), at least now the attributions are correct and  your revisions still present17:39
jamnot a big deal, really17:40
jamI was just surprised to see both mainlines changing to "merged bbc@" especially since it was the bbc trunk17:40
vilaI thought correct annotations were more important than revision history :-/17:40
jamvila: personally I use "bzr log" about 20x more than "bzr annotate", but as I said, in another week I won't even notice17:41
vilajam: and yes, the way I rebuilt my loom wasn't the clearest either :-/17:41
vilajam: on the other hand, may be you should push to jamvila :)17:42
jam:)17:43
vadi2does bzr use sha1 behind the scenes?17:51
james_wyes17:52
=== davidstrauss is now known as davidstrau
=== davidstrau is now known as davidstrauss
=== jfroy_ is now known as jfroy
luksheh, python is going to use mercurual18:24
cody-somervilleluks, its official?18:28
cody-somervilleluks, link?18:28
lukshttp://mail.python.org/pipermail/python-dev/2009-March/087931.html18:28
=== jszakmeister is now known as jszakmeister|awa
=== jszakmeister|awa is now known as jszakmeister
jszakmeisteryep, it's official.18:44
cody-somervilleThat sucks :(18:47
cody-somervillebzr rocks18:47
* jszakmeister agrees18:48
cody-somervilleIs there an announcement or anything?18:48
jszakmeisterIt probably boiled down to performance... the email is a little vague, but I agree... a decision needed to be made18:48
jszakmeisterluks put the url in IRC18:49
cody-somervillebut bzr is fast now :(18:58
BFrankthat is the joy of open source, you are free to choose amongst many good choices19:06
cody-somervilleI can't wait until Launchpad supports git and mercurial imports19:08
santagadais the code for launchpad avaliable somewhere already?19:09
cody-somervillesantagada, You might want to ask in #launchpad - this is #bzr19:09
Toksyuryeland each choice typically tries its best to make switching between choices as painless as possible19:09
mwhudson_cody-somerville: soon!19:09
mwhudson_for git19:09
santagadacody-somerville: no one here knows? I would supose it is pretty important19:09
cody-somervillesantagada, Why?19:10
cody-somervillemwhudson_, :)19:10
antoranzwhen I pack, can I delete everything in .bzr/repository/obsolete_packs/?19:12
beuno_antoranz, in general, yes19:12
=== beuno_ is now known as beuno
antoranzok19:12
bialixhi guys, in which time igc (Ian) will be here?19:19
beunobialix, I'd say in about 3 hours or so19:20
bialixthanks. perhaps too late for me19:20
BFrankwhy doesn't it cleanup obsolete packs?19:21
bialixigc: I'd like to talk about eol labels and strategies with you tomorrow morning (~ 6-8 am UTC). OK?19:22
beunoBFrank, I don't know all the details, but it mostly has to do to ensure that we don't run into data loss19:22
BFrankhmm19:22
bialixigc: I'll be there tomorrow.19:22
beunoBFrank, there are some crazy scenarios where that happens19:22
BFrankwhen exactly does it cleanup the obsolote packs?19:22
BFrankshouldn't there be a point when it is safe for bazaar to clean them up?19:22
james_wit cleans them up before writing any more19:23
james_wso next time it does a "pack" operation it first removes the obsolete ones19:23
BFrankshouldn't it cleanup for other types of operations, where it won't create new ones?19:24
BFrankor do all operations create them?19:24
james_wno, just the ones you would expect19:24
james_wcommit, pull, pack, merge, push into, etc.19:24
=== mwhudson_ is now known as mwhudson
BFrankhmm19:25
antoranzwhat tool can I use to import a git repository into bzr?19:25
mwhudsonantoranz: bzr-git or bzr-fastimport19:26
antoranzok19:26
mwhudsonantoranz: the latter is probably more robust at this point, but bzr-git is moving fast19:31
antoranzok19:31
jelmermwhudson: moin19:32
mwhudsonjelmer: hi19:32
jelmermwhudson: my git import now works on lp btw19:32
mwhudsonjelmer: yes, i saw that19:32
mwhudsonjelmer: did you find out what was going on when it was just showing 1000 revs?19:32
=== beuno_ is now known as beuno
jelmermwhudson: yes, I had only pushed 1000 revisions (bzr push -r1000) :-)19:33
mwhudsonjelmer: hahahaha19:33
mwhudsonjelmer: so if i wanted to make a bzr-svn import of pypy, what would i have to do?19:49
mwhudsonjelmer: i remember you saying that i could probably hack something to ignore certain errors19:49
=== mtaylor_ is now known as mtaylor
jelmermwhudson: ah, yeah19:57
jelmermwhudson: when it calls get_dir()19:57
jelmeryou have to ignore 157002 errors19:57
mwhudsonjelmer: alternatively20:15
mwhudsonif i dump the repo, filter out the offending fileprops, recreate it locally20:15
mwhudsondo the import from my local repo, will it be possible to update the import from codespeak?20:15
jelmermwhudson: yes20:16
mwhudsonjelmer: awesome20:21
mwhudsonjelmer: do you happen to know how to filter a dumpfile?20:21
jelmermwhudson: vi ? :-)20:25
mwhudsonjelmer: heh20:25
phinzeso i've got a meeting this afternoon about revising my group's code review practice, which currently consists of all devs (4-6 of them) sitting around a table and scrolling through one big diff that's getting deployed20:28
phinzewondering if anyone else using bazaar in a dev group can talk about what they do for code review?20:28
phinzewe're hoping to move toward peer-review where one other dev signs off on each commit to trunk20:29
james_wphinze: that's what bzr does, as you probably know20:33
phinzeyes bzr does PQM where what like at least one other dev must approve?20:33
james_wyou work with much smaller, more targetted diffs, which is a big win20:34
james_wbut there will some cross-change intricacies that can be missed20:34
james_wyeah, two core devs total, so you get two reviews of code from those that haven't been let in to that group yet20:34
phinzewe're thinking of using PQM here too20:35
james_wI think that's a stricter requirement than a lot of open source projects, where once you are a core committer you can generally do what you like20:35
phinzeyeah seems pretty strict but also seems like it works :)20:36
phinzeso it's either BB:approve or BB:reject...?20:36
james_we.g. in Ubuntu. What happens there is sometimes you request your changes are reviewed before uploading (committing to mainline). Some people watch the -changes list (equivalent to -commits) and review things that catch their eye20:36
james_wso it's much less comprehensive20:36
james_wbut the volume of changes there is too large, and the expertise too thinly spread, to have bzr's system of review.20:37
phinzeahh yeah20:37
james_wthere is BB:approve, BB:reject, BB:rebsubmit, BB:tweak, BB:comment and BB:abstain I think20:38
phinzelol abstain20:38
james_wwhere approve, resubmit and tweak are the most commonly used20:38
phinzehow to resubmit/tweak work in that case20:38
phinzeare they just different semantic keywords on top of reject?20:38
phinzes/to/do20:40
james_wreject is pretty final, "I don't want any change like this in bzr", for something like "remove bzr commit, make everyone commit by editing .bzr/repository"20:40
phinze:)20:40
james_wresubmit means, "I'm fine with where you are going, but there are some problems with your implementation, make some changes and ask for review again"20:41
james_wtweak means "basically fine, there's a typo here, fix that up and submit it, you don't need to get it re-reviewed"20:41
phinzefrom BB/PQM's perspective, though, it's just a "go/no go"?20:42
james_wBB tracks the votes, I'm not sure what algorithm it uses to decide, if any20:42
james_wPQM is not automatic, a developer has to submit each change20:42
james_wthere's no link between them currently20:43
phinzeahh BB and PQM are two separate systems... i thought they were two head of one beast20:43
james_wPQM just saves you from having to wait for the testsuite before committing, you submit, and some time later get a mail telling you if it passed or not20:43
james_wnah, they could work more closely together, but it works fine to have them separate, so no-one put the effort in20:44
mwhudsonjelmer: ok, i have a dump file, can you give me some clues what i'm looking for?20:57
jelmermwhudson: look for the particular revision that was causing problems (I think I mentioned it in the bug report)21:00
jelmerYou'll see entries in the dump file for each property change and each file change21:00
jelmerjust remote the K ... / V ... bits for the problematic property (with a / in the name IIRC)21:00
* mwhudson wonders about an appropriate tool for editing a 3.7 gig file21:02
stbuehler"rm" :)21:03
NfNitLoopheh.21:04
thumpermwhudson: sed21:04
mwhudsonthumper: you might be rite21:04
thumpermwhudson: or emacs :)21:04
mwhudsonright21:04
mwhudsondoes emacs not load the entire file into ram?21:04
mwhudsoni was ~sure it did21:04
NfNitLoopa friend of mine had to remove middle chunks of very large (gig+) files and ended up using head & tail.21:04
thumpermwhudson: I'm not sure21:05
jelmermwhudson: there are some tools for editing svn dumps21:05
jelmerbut I'm not familiar with them21:05
jelmerthey do exist though :-)21:05
mwhudsonok21:08
phinzejames_w: thanks for explaining all that; very helpful!21:08
james_wnp21:10
* mwhudson finds a perl thingy21:10
mwhudsonhang on21:14
mwhudsonjelmer: can svn-import import from a dump file?21:15
mwhudsonor21:16
jelmermwhudson: it can import from a dump file but it will simply load the dump file into a repo and then import it21:16
jelmermwhudson: actually, you should be able to import from that dumpfile directly21:16
jelmermwhudson: as that problem only occurred over http21:16
mwhudsonright21:17
mwhudsonthat was what i was thinking21:17
=== beuno_ is now known as beuno
* mwhudson plays the install dependencies game21:24
shtylman_I am looking to setup my own bzr server for a group I am working with. I wanted to do it using https transport to basically get pretty urls (ie. https://domain/repo/project) ... I know bzr can work over ssh, but then I don't get the pretty name...without putting the repo under root...which I would like to avoid...any suggestions/ideas?21:36
=== Pilky_ is now known as Pilky
NfNitLoopshtylman_: You can use read-only "dumb servers" over HTTP trivially:21:50
NfNitLoophttp://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html21:50
NfNitLoopbut ssh will probably be best (read: easiest) if you want to give people write access.21:50
shtylman_NfNitLoop: I am aware of the "dumb" servers...and yea...I was thinking the same thing....but just wondering if I overlooked something simple21:56
NfNitLoopNot that I know of.21:57
NfNitLoopyou could use `bzr serve`, but that's apparently only for a single repo.21:57
LarstiQafaik bzr serve is for directory hierarchies, not repositories.21:59
NfNitLoopOh.  ok, misread that while skimming.21:59
LarstiQso serving / would work21:59
NfNitLoopthere you go then, bzr serve.21:59
NfNitLoop(though, you probably don't want to serve /)  ;)21:59
LarstiQshtylman_: you could use a chrooting ssh server to prettify your urls, just like launchpad does22:00
mwhudsonjelmer: import to a brisbane-core format blew up in a really exciting way22:00
shtylman_LarstiQ: will that interfere with the current ssh server on the machine? sounds like it will...22:01
LarstiQshtylman_: it could22:01
mwhudsonjelmer: http://pastebin.ubuntu.com/140987/22:02
* LarstiQ goes to bed22:02
mwhudsonjelmer: and then when trying to import into --1.9 http://pastebin.ubuntu.com/140995/22:06
=== AnMaster_ is now known as AnMaster
jelmermwhudson: not sure any of those are bzr-svn issues22:25
mwhudsonjelmer: what might they be?22:25
mwhudsonthe thread-starting one is pretty odd22:26
jelmermwhudson: Does it start a very large number of threads or something like that?22:27
mwhudsonjelmer: bit hard to tell, this is on a remote machine22:27
mwhudsonwhich is an openaz slice, or something, so it's possibly a slightly strange environment22:28
lifelessshtylman_: you could put a symlink in the root22:28
shtylman_lifeless: yep...decided on that few min ago :)22:29
jamjelmer: for the first pastebin, something is passing a 'key' that has a unicode string, which I don't think is allowed. Since both "file_id" and "revision_id" are declared to be utf-8 strings internally.22:33
jamGiven that it is clearly an 'id' followed by a 'path' I'm a bit confused by it, though22:34
jamThough it also seems be failing in the middle of 'svn/errors.py ... convert'22:34
jamwhich sounds like an exception in the middle of reporting an exception.22:35
mwhudsonjelmer: i'm tar tjf-ing the repo, will see if it ends up small enough to download to my laptop reasonably22:35
mwhudsoncfj, obv22:36
jamanyway, I'm off for tonight, catch y'all later :)22:37
lifelessgnight jam22:38
igcmorning al22:54
igcall22:54
lifelesshi igc22:56
igchi lifeless22:57
igclifeless, jam: I'm up at the hospital most of the day22:57
lifelessigc: good luck22:57
igcwhat code do you want me reviewing while I'm there?22:57
igcI'm thinking chk_map22:57
igc(groupcompress in out of my depth and we have 3 people who ought to know it reasonably well)22:58
igcs/in/is/22:58
lifelessthat would make sense; re the cache you are proposing, yes your mail comes across very strongly ;). I would like to note that AIUI the revnos do _not_ require the full graph to be traversed22:58
lifelessso if we strip the hyperbole we can be examining that part of the problem22:59
* SamB_irssi begins to wonder why svn-import is only available for svn ...23:00
plexqI'm trying to merge lots of subprojects into one big central project.  Is there a way to do that?23:10
plexqshould I just make one big honking bzr23:11
lifelessthere is a merge-into plugin23:11
plexqor do subprojects like you can in svn23:11
plexqmerge-into - yeah - I saw that - does it still work? i t hasn't been touched in 9 months?23:11
lifelessas far as I know it does work yes23:12
lifelesswe have sub projects being worked on but its not really ready yet23:13
plexqkk23:14
plexqI'd heard a rumour that bazaar was going away because Gnome picked git, is there any truth to this?23:15
SamB_irssiI heard that Emacs is going to be switching to bzr soon ...23:15
james_wfirst I've heard of it23:15
lifelessplexq: no truth to it at all23:19
lifelessand yes, emacs are talking timeframes now23:19
plexqI know for us - it will depend on IDE plugins.  We are using bazaar right now, but I've heard there is a pure Python version of git, and IntelliJ 8.1 now has a git plugin, but no good bazaar support :(23:20
lifelessplexq: the pure version of git is 'dulwich' a project started for 'bzr-git', our git interoperation plugin23:22
plexqheh23:23
lifelesseclipse has bzr support FWIW23:23
plexqyeah - but eclipse is a POS23:23
plexqit's horrible23:23
plexqtook one look at IntelliJ and never looked back23:23
=== ovnicraft is now known as ovnicraft|gnuthi
=== ovnicraft|gnuthi is now known as ovnicraft
* igc breakfast23:54

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