/srv/irclogs.ubuntu.com/2009/11/25/#bzr.txt

pooliek00:04
pooliei may do the announcement, or perhaps igc can00:04
igchi jam. I hope you're feeling a bit better00:05
igcjam: enjoy your break00:05
igcjam: sorry if I email re 'no announcement' came across as critical - it wasn't meant to be00:05
igcs/I/my/00:05
lisarexWould love it if someone could point me in the right direction... I get 'bzr: ERROR: Target directory "drupal" already exists.' when I enter bzr branch lp:drupal. I've previously used parent branch: bzr://vcs.fourkitchens.com/drupal/7/ but awhile back I started getting 'bzr: ERROR: [Errno 13] Permission denied' I don't know how to fix either but I do need an up-to-date copy of Drupal 7.00:26
spivlisarex: 'bzr branch lp:drupal' wants to create a local directory called "drupal", but you already have a directory called "drupal".00:27
lisarexspiv: yes that's probably the case (not sure how to check)00:27
spiv"ls" will list the files and directories in the current directory00:28
spivAlso, what command were you running that was producing the "bzr: ERROR: [Errno 13] Permission denied' error?00:28
bob2'ls drupal'00:28
lisarexspiv: ok, yes there is a drupal directory within my 'root' web folder I'm calling d7 ... not sure how I missed that00:29
lisarexspiv: can I just delete that drupal directory?00:29
lisarexspiv: was running bzr pull00:30
spivIf you don't want the directory, the sure you can delete it.  I don't know if you care about its contents or not.00:31
spivYou can also do 'bzr branch lp:drupal drupal-copy' to branch it to a directory other than 'drupal' (in that example 'drupal-copy').00:32
lisarexspiv: thanks, trying that now00:34
lisarexspiv: cool. downloaded the files. Just need to ensure that the files I've downloaded are updating my d7 directory too (I may end up starting over :))00:44
lisarexspiv: OK it has. Thanks so much for the help :)00:47
pooliespiv, hi00:55
pooliewhich of bug 437626 and bug 445171 do you think is more important? maybe the first?00:55
ubottuLaunchpad bug 437626 in bzr/2.0 "exceptions.AssertionError: second push failed to complete a fetch set" [High,Fix released] https://launchpad.net/bugs/43762600:55
ubottuLaunchpad bug 445171 in bzr/2.0 "ObjectNotLocked doing 'bzr log -r 199 path/to/file'" [High,Fix released] https://launchpad.net/bugs/44517100:55
lifelesspoolie: hi00:57
pooliehi00:57
pooliehungry?00:57
lifelesspoolie: reminder: lunch. Also can you add niel to the contributor team - I don't have accecss to do that.00:57
pooliehm00:57
lifelessneil, I mean.00:57
poolieremind me niel who?00:57
poolieoh ok00:58
lifelessNeil Martinsen-Burrell00:58
lifelesshe mailed in the agreement yesterday00:58
pooliei understand now00:58
pooliei thought you meant 'niel'00:58
pooliedone anyhow01:00
lifelesspoolie: you've added me?01:00
poolieyes01:00
pooliei was going to try to make you an admin01:00
lifelessoh01:00
lifelessso really we should just change the owner to a team01:01
pooliebut i failed; see #launchpad01:01
poolieprobably01:01
lifelessrather than having us in it.01:01
lifelessas we haven't strictly signed it.01:01
lifelessI've sent mail01:03
spmis this something that you want me to fix? or... ?01:03
spivpoolie: yeah, I think I'd say the first.01:04
pooliespm, we could ask you to steal ownership but at this point that seems like overkill01:04
pooliespiv, thanks, underway01:04
spmpoolie: oki01:04
spivpoolie: yeah, definitely the first, compare the number of duplicates.  More users were hitting that.01:06
=== ereslibre_laptop is now known as ereslibre
lifelesspoolie: so seeing you soon?01:13
pooliegoing to finish bug 437626 sru process then leave01:13
ubottuLaunchpad bug 437626 in bzr/2.0 "exceptions.AssertionError: second push failed to complete a fetch set" [High,Fix released] https://launchpad.net/bugs/43762601:13
poolieso pretty soon01:14
* mwhudson remembers that there was a bzr bug that resulted in repos being very fragmented across many packs01:23
mwhudson(a) am i right (b) is it fixed (c) which version has the fix?01:23
lifelessmwhudson: no, there was a bug where inside a pack we didn't consolidate properly.01:31
lifelessmwhudson: any 2.0+ is fine.01:31
mwhudsonlifeless: ah ok01:32
mwhudsonhttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/.bzr/repository/packs/ has 26 packs, is that more than i should expect?01:32
lifelessmwhudson: no01:32
lifelessmwhudson: you could get at at 999 revisions, for instance.01:33
lifelessmwhudson: dump-btree on the packs-name index will tell you if you have stale packs01:33
mwhudsonlifeless: seems we do01:36
lifelessmwhudson: the number of packs you have is dependent on the exact operations that have taken place. The way it works is that there is an upper bound.01:37
lifelessand when the bound is exceeded by a transaction, an incremental pack is triggered, which consolidates the smallest (by rev count) packs into one, stopping at the point that will be under the upper bound.01:37
lifelessmwhudson: the upper bound is sum(int(digit) for digit in str(repo.revision_count()))01:38
mathiazHi - Is there  a way to find the revno of the common ancestor for two branches?01:38
mwhudsonlifeless: right, that's what i thought01:38
lifelessmwhudson: so 998 revisons == 26 as upper bound01:38
mwhudsoni guess i was too lazy to work out what that is for launchpad :)01:39
lifelessand in general, upper bound ~= 10*log10(revcount)01:40
lifelessmathiaz: not really, no. there is show-ancestor I think.01:40
mathiazlifeless: ok found a workaround for ubuntu package branches02:16
mathiazlifeless: bzr log -rancestor:../squeeze (in the lucid branch)02:17
mathiazlifeless: ^^ that gives the revno of the common ancestor02:17
_habnabitIs it possible to only merge part of a revision, without merging the whole revision?02:37
PengI suppose you can shelve or revert some of the changes.02:38
PengHistory-wise, you can either record that the revision was merged or not (a cherrypick).02:39
_habnabitSo, merge that revision, shelve the changes, and commit?02:39
PengIf you want to.02:41
PengWhat are you trying to do?02:41
spiv_habnabit: yes, that works.  But if that records as a merge, it means future merges will not try to merge the bits you left out.02:41
_habnabitI'm trying to backport changes from a fork of a particular project, but one revision has some changes I don't want to backport.02:42
spivWhich may be what you want?02:42
spivOk, my guess is that is what you want, then :)02:42
_habnabitI'm not sure what the exact connotations of what you said are, so.02:43
spivWell, after you 'bzr merge' but before you 'bzr commit', look at 'bzr status'; it (usually) will show "pending merges"02:44
jamigc: not critical at all, just genuine. I haven't had time because of X and Y and Z, and if someone else *has* the time, I'm really far behind02:44
jamand it would be great02:44
jamits a fair amount of work to announce02:45
jamand I didn't open my laptop really until this evening for a little bit02:45
spiv_habnabit: commit records the contents of the files, but it can also record "revision X was merged in at this point".  If it does, then the next time you 'bzr merge' in that branch bzr will know that the changes in that revision have already been merged and will not merge them again.02:47
_habnabitspiv, ah.02:47
_habnabitI did the merge, but it doesn't show that there are any pending merges.02:48
spiv_habnabit: so the question is basically, "the next time you merge from that branch into this one, do you want bzr to try merge all these changes again, or assume they have been merged (so only newer changes should be considered)"02:48
_habnabitThere were conflicts, though.02:48
_habnabit(And I resolved the conflicts.)02:48
spivConflicts don't affect that; but if you do 'bzr merge -r X..Y' or 'bzr merge subdirectory/of/branch' or something like that, it won't record a pending merge in the working tree.02:49
_habnabitAhh, I see.02:49
_habnabitYeah, I did merge -r.02:49
spivBecause the merge record is just "this revision ID is another parent of this revision"02:50
spivWhich can't track revision ranges or merging just some files, etc.02:51
spivWe'd like to track these more complicated cases, but we haven't implemented that yet.02:51
lifelesspoolie: http://amp.carboni.ca/03:08
mwhudsonwow, that sounds fairly insane03:09
PengRewriting Bazaar? That's not going to be fun.03:19
mkanatThat sounds like a general waste of time, in fact.03:29
LaserJockis there an equivalent to git gc in bzr?03:43
PengLaserJock: Removing unreferenced revisions? No.04:08
PengLaserJock: Recompressing the repository? "bzr pack". But, a side from a couple old bugs leading to bad compression, you don't need to run it yourslf; bzr autopacks frequently enough to keep things healthy.04:08
Pengs/a side/aside/04:09
Pengs/yourslf/yourself/ damn.04:09
Peng(Actually, the bugs aren't that old, but they weren't frequently hit: you would have to have been using the 2a format before bzr 2.0.)04:10
PengLaserJock: BTW, unless you'r using the 2a format, "bzr pack" doesn't even do all that much: it combines the pack files into 1, bit it doesn't recompress them.04:12
Pengs/bit/but/ What's wrong with my typing tonight?04:13
LaserJockPeng: but there's the obsolete-packs dir, right. Does bzr pack get rid of that?04:19
LaserJockI was just comparing .git to .bzr sizes on a branch and I noticed that .bzr was huge04:19
mwhudsonLaserJock: no, obsolete-packs is probably still there04:21
LaserJockok, well I just rm'd the contents of obsolete-packs04:22
PengLaserJock: Every time the repo is packed (whether an auto-pack or "bzr pack"), obsolete_packs is emptied, then afterwards, any now-unnecessary packs are moved into it.04:22
PengLaserJock: Why?04:23
LaserJockPeng: ok, that doesn't make a ton of sense to me but I believe you04:23
LaserJockbecause I don't know how to get rid of it otherwise04:23
PengLaserJock: It'll be automatically emptied later. Why do you need to do it now?04:23
LaserJock1) because i'm trying to figure out repo sizes04:23
LaserJock2) I don't know when it will be emptied04:24
LaserJockit was an extra 100+MB sitting in my branch04:24
PengLaserJock: obsolete_packs is used because OSes can't be trusted to immediately write files to the disk. It'd be unfortunate if you had a power failure right after a "bzr pack" and lost all of your data because the file was really sitting in a buffer. This way, you still have the old packs around to recover.04:25
LaserJockhaving almost 200MB for a 20MB working tree doesn't seem very space-efficient to me04:25
PengLaserJock: Which repo format? ("bzr info")04:26
LaserJock2a04:26
PengAww.04:26
mwhudsonwhat does bzr thing about \r in commit messages these days?04:27
LaserJockif you tell me I need a newer format I'm going to kill myself04:27
PengLaserJock: Sadly, there isn't another new format yet. :P04:27
LaserJockhow can this be?!04:27
LaserJockI thought the 2.0 format was supposed to get much closer to git with respect to size04:29
PengIt usually does.04:29
mwhudsonLaserJock: how big is git for this branch?04:30
LaserJockmwhudson: 22MB04:32
LaserJockbzr is 45MB after rm'ing the obsolete packs04:32
LaserJockmost of the branches I've tried bzr seems to run around twice the size04:32
mwhudsonLaserJock: converted with bzr-git?04:33
LaserJockon that one yeah04:33
LaserJockother's have been git-svn vs bzr-svn04:33
LaserJock*others04:33
Pengmwhudson: Wasn't bzr recently changed to remove \r from commit messages, at least on Windows and/or at least in XML-based repos?04:34
mwhudsonPeng: doesn't look like it04:34
mwhudsonPeng: bzrlib.repository.CommitBuilder._validate_unicode_text04:36
Pengmwhudson: r478304:40
Pengmwhudson: It's only done at a high level, when you use "bzr ci -m".04:41
Pengmwhudson: Other than that, I've got no idea what the \r situation is. :D04:41
igcLaserJock: try converting with git fast-export + bzr fast-import instead. I think you'll see a smaller size04:44
igcLaserJock: than conversion via bzr-git gives you04:44
LaserJockinteresting04:44
mwhudsonthe revids will me much shorter :-)04:45
mwhudson*be04:45
LaserJock22MB vs 45MB isn't too bad, I just thought 22MB vs 200MB was a bit excessive04:46
igcLaserJock: Bzr's compression is sensitive to the rev-id and file-id scheme used. fast-import uses the native bzr schemes while bzr-git uses a custom scheme04:46
igcditto for bzr-hg and bzr-svn04:46
LaserJockI see04:46
=== kgoetz is now known as Kamping_Kaiser
vilahi all07:23
=== vila is now known as vila-afk
pooliehello vila08:24
=== vila-afk is now known as vila
pooliehello vila08:48
vilahey poolie ! Sotty, had to go to school for Juliette who is sick08:48
poolienp08:48
pooliesorry to hear that08:48
vilas/sotty/sorry/08:48
vilaThat doesn't seem too bad, a bit of rest will hopefully be all that is needed08:49
bialixigc here?08:56
bialixhello all08:56
igchi bialix08:56
bialixhi igc08:56
bialixis it possible to say "Version control for Human beings" as "Version control with human face"?08:57
bialixI'm still trying to find the good translation for you slogan08:57
bialixigc: ^08:57
GaryvdMHi bialix08:57
bialixHi GaryvdM08:58
GaryvdMHi all08:58
* bialix needs to reboot, bbiab08:58
igcbialix: Ubuntu's slogan is "Linux for Human Beings"09:00
igcbialix: maybe translate "Human Beings" to "Everyone"09:01
* bialix back09:04
bialixigc: for everyone is good09:07
bialixthx09:07
* igc dinner09:12
fullermdbialix: Howdy.  You pung the other day?09:14
bialixfullermd: hello09:15
bialixpung? how's funny word09:15
bialixit's not relevant today09:16
fullermdOh, sorta I guess.  Putative past tense of 'to ping'.09:16
bialixI've just tried to ask anybody of native English to ask meaning of "...for Human Beings"09:16
fullermdAh, 'k.09:17
bialixерч фтнцфн Ж-)09:19
bialixthx anyway :-)09:19
lifelessigc: has https://code.edge.launchpad.net/~mbp/bzr-usertest/trivial/+merge/7532 landed? the renamed branch means lp can't tell09:30
bialixwho has moderator right re bzr ML?10:08
bialixcan you accept mail from Henning Eggers?10:09
spivbialix: done, thanks10:20
bialixthx spiv :-)10:21
lifelessvila: could you review https://code.edge.launchpad.net/~doxxx/bzr/quiet-serve/+merge/15112 ?10:50
vilalifeless: done11:02
* fullermd pours some extra coffee for vila.11:06
vilafullermd: yeah !11:10
fullermd'course, you're not _here_, so I guess I'll have to drink it for you.11:10
vilafullermd: that should give it a better taste anyway :-)11:12
fullermdvila: Incidentally, did you ever get around to looking over that Fasces stuff?11:21
vilaECONTEXT Fasces ?11:22
fullermdMy colocated branch-ish dofligger.11:22
vilaouch, no :(11:23
fullermdAh, 'k.  I guess that field of endeavor isn't percing up anybody's todo yet anyway.11:23
fullermdJust wondering if silence meant that, or that it was so perfect nobody had anything to add   8-}11:24
vilaWell, I think colocated branches should resurface soon (for some value of soon up to six months)....11:25
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== loxs_wrk is now known as loxs
=== AfC1 is now known as AfC
maxbI have an svn repository containing multiple projects, each in its own directory with its own trunk/tags/branches setup. How do I teach bzr-svn to cooperate with this?14:22
yoavmoshehey, what's the command to use if my bzr server changed it location?15:19
beunoyoavmoshe, --remember15:19
beunobzr COMMAND LOCATION --remember15:19
yoavmosheoh okay, thanks beuno!15:19
yoavmosheumm... bzr says 'no such option: --remember', runinng bzr 2.0.1..15:20
beunoyoavmoshe, when running which command?15:24
yoavmosheupdate15:24
beunohm, I don't know how to change what branch it's bound to15:26
yoavmoshebeuno: okay thanks. I'll keep trying and post here if i'll find something.15:30
yoavmoshewell i'm not supposed to do it, but i just edited .bzr/branch/branch.conf and it went just fine15:33
vilayoavmoshe: 1) You're not supposed to do it indeed :) 2) That was the right thing to do 3) Please file a bug15:34
* beuno waves at vila 15:34
* vila warmly waves back15:35
yoavmoshevila: you're sure? i'm thinking that there's probably a way to do it but i just don't have the time to figure what is it... I can fill a bug but i don't want to create some fault 'bug' just because i didn't RTFM.. :p15:37
vilayoavmoshe: better a duplicate than no bug at all, I'm pretty sure you're using a lightweight checkout (i.e. the setup used for a central server that rarely (never) moves) and as such you can't: unbind, pull --remember, bind :pull15:39
vilahmm, or maybe just 'pull --remember' would have worked...15:40
yoavmoshevila: um actually i use a full checkout, but some of the other clients use a lightweight one. I'll fill a bug15:40
vilayoavmoshe: can you undo your edit and try 'pull --remember <bew_url>' ?15:41
yoavmoshei'll revert my changes and see, it it doesn't i'll fill a bug15:41
vilas/bew/new/15:41
vilayoavmoshe: great, thanks15:41
yoavmoshebzr pull doesn't work. it connects the new server, but it fails giving me an error for the old one. I'll fill a bug15:43
yoavmoshevila: i did 'bzr unbind' and then 'bzr bind $newserver' and it worked. You sure you can't do that on a lightweight checkout?15:44
vilayou can't unbind lightweight checkouts15:45
yoavmosheokay.15:45
bialixevening vila :-)15:54
vilabialix: ghaa, as if jetlag wasn't bad enough, now you make me wonder even more about what time it is :)15:56
bialixjust saw you're here, so decided to say hello15:57
=== beuno is now known as beuno-lunch
kostja_osipov\o/16:54
bialixprivet kostja16:55
=== beuno-lunch is now known as beuno
kostja_osipovhello all17:07
abentleyvila: switch --force works with heavyweight checkouts.17:27
abentleyvila: (and also with lightweight ones)17:27
lifelessvila: thanks19:23
=== Loginx is now known as Linkadmin
PengSo, uh, how bad is "inconsistent details in skipped record"?20:31
lifelessit indicates a different view of history between two repos.20:37
lifelesshow bad it is depends on the difference ;)20:37
Peng:D20:41
AfC"Crushed by a giant packfile"... what a great Subject: line.20:42
PengHuh, one version of the record uses StaticTuples, and the other tuples and lists.20:49
lifelessPeng: more fallout perhaps20:52
PengPastie: http://paste.ubuntu.com/327982/20:52
PengThe contents of the records themselves are different. Dunno if it's in a meaningful way, though.20:52
PengMaybe bzr is angry about my abuse of stacking. :P20:53
=== Ng__ is now known as Ng
=== wgrant_ is now known as wgrant
lifelessPeng: looks bogus to me21:25
Penglifeless: Bogus? So...nothing's wrong?21:28
lifelesswell something is21:34
lifelessit may be in the warning code21:34
PengWell, I'm running "bzr check". We'll find out in a few days. :P21:34
lifelessPeng: thanks22:05
pooliehi lifeless22:08
dOxxxpoolie: I've been looking into building the bzr installer for Mac OS X. Not easy... :P22:10
poolie:/22:10
pooliedid you find any documentation about it?22:10
pooliejfroy worked on it a bit before22:11
dOxxxyeah I was reading his messages on the bzr-mac mailing list22:11
dOxxxI also found some older wiki pages22:11
poolieit would be nice to get those wiki pages up to date with whatever is expected to be the best method22:11
dOxxxI'll give it a go in the next day or two when I can borrow the laptop from its owner22:11
pooliei think guilermo worked on this too22:12
poolieand he's sometimes on irc22:12
dOxxxyes22:12
dOxxxI'll probably bug him if I run into a tricky situation22:12
pooliespiv, hey, nice bug work recently :)22:12
dOxxxanyway, gotta run for a train. seeya later.22:12
Penglifeless: Should be done in about 34.5 hours, FWIW.22:14
lifelesshi poolie22:14
lifelessigc: ping23:35
igchi lifeless - just looking at your Q now23:35
igclifeless: nope, it has landed. I'll do it now23:36
igchas *not*23:36
lifelessigc: be sure to manually mark it as done23:36
igcshall do23:37
lifelessthanks (this is why I don't like the rename-branch approach to upgrading, its disruptive)23:37
poolie igc, hi23:37
igchi poolie23:37
poolieigc, could you take over the task of proposing a merge to add graphs of the bzr bug count etc?23:37
pooliemwhudson has done the database queries23:37
pooliei'm asking you partly because you can actually test it against staging23:38
poolieso it needs hooking into the graph system, and then for a merge to be proposed23:38
poolieprobably by copy&paste of configuration that's already there23:38
poolieapparently losas can't do it any time soon23:38
pooliei can forward the thread if you don't have it23:38
igcpoolie: I guess so. It's all new to me23:39
igcpoolie: please23:39
igcpoolie: or just point me into the mailing list archives if it's there23:39
pooliesent23:41
poolienot necessarily right now, i just want to take it out of their queue23:41
poolieit would be interesting to see if the mp queue length changes23:41
igcright23:41
igcpoolie: the more interesting metrics IMO are ...23:41
igc1. average/median time to go from 'patch submitted' to 'patch landed'23:42
igc2. Average # of changes to bzr's mainline/week23:43
igci.e. are we decreasing delays and are we increasing velocity23:44
pooliepatches welcome :)23:51
pooliei'd like to see them too23:51
lifelessigc: I think your 1 needs some sort of normalisation w.r.t. to size23:52
poolieanyhow23:52
pooliei think breaking the ice as far as adding graphs would be nice23:52
igclifeless: it does. Or even a cutoff - patches below 500 lines say - would do to start with23:53
=== arjenAU2 is now known as arjenAU

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