/srv/irclogs.ubuntu.com/2011/05/05/#bzr.txt

=== medberry is now known as med_out
spivhbeck: yes, checkout and update would do just fine00:23
spivhbeck: the other approach that springs to mind is the bzr-upload plugin, if the 'download' directory isn't local it may be more suitable00:23
hbeckspiv: download is local. I'm trying to understand the difference (in the case of a checkout) between update and pull00:26
spivhbeck: if you haven't made any commits locally, then none.00:30
hbeckspiv: so bzr pull $MASTER == bzr update (in that case, no local commits)00:32
spivOh, actually, the other difference is that 'pull' brings a branch up to date with another branch (the parent branch by default), whereas 'update' just brings your working tree up to date with the checkout's master branch.00:37
* spiv should go get a coffee00:38
hbeckso pull is both read/write?00:38
hbeckread (to local) and write (to master)00:38
hbeckprobably bad terminology00:38
spivYes, bad terminology :)00:38
spivAs the help says, “Turn this branch into a mirror of another branch.”  For a checkout, “this” branch is the one you have checked out.00:39
hbeckparent vs master is confusing00:41
spiv(if you look at the 'bzr info' output, it'll say “checkout of branch”)00:41
spivParent is, by default, where someone “bzr branch”ed from.  And the parent is used as the default location for pull and merge IIRC.00:43
bignoseafter ‘bzr merge’, I can use ‘bzr status -v’ to see the summary lines of all merged revisions.00:44
spivWhen people say master in bzr they mean the branch you made a “bzr checkout” of.00:45
bignosehow can I see the equivalent of ‘bzr log’ or ‘bzr log -v’ on those revisions?00:45
bignosein other words, the full commit message, and optionally the list of file changes.00:45
bignosealternatively, is there an option for ‘bzr commit’ that will let me work from the commit messages of all pending merged revisions?00:46
bignoseso I can summarise them in the commit message for the merge.00:46
spivbignose: I'm not sure of a good builtin way.  'bzr qlog' from qbzr happily shows you those revisions, but I don't think 'bzr viz' from bzr-gtk does.00:48
spivThe easiest way possibly is to commit; then look at the log; then uncommit and then do the commit properly :/00:50
spivA crude way would be to do 'head -4 .bzr/checkout/dirstate | tail -1 | cat -v', then take the second revid on that line, and run 'bzr log -v r-1..$that_revid'00:52
lifelessjelmer: lp:~jelmer/bzr/standard-annotate-interface has renamed file '.bzrignore' => '.bzrignore.moved in it00:54
hbeckanother newbie question: what happens if you bzr update to a rev earlier than what your local checkout is at?00:59
spivbignose: as a one-line hack: bzr log -r -1..`head -4 .bzr/checkout/dirstate | tail -1 | xargs -n1 -0 echo 2> /dev/null | head -3 | tail -1`01:02
spivWe really ought to provide a revisionspec for this stuff.  “pendingmerge” I guess.01:03
spivhbeck: it will "update" the working tree to that earlier rev (if you have a reasonably current version of bzr)01:04
hbeckspiv: would that be the same as pull -r rev# --overwrite ?01:05
spivNo, pull would modify the branch as well as your checkout of the branch.01:09
hbeckack, so that would be very bad, in the case of having some master repo and I just wanted to go back to an older rev to build - pull would in effect revert the repo?01:10
spivYes.01:10
spiv(Terminology note: we'd say “branch” there, not “repo”.  We have repositories, but they are basically just containers for revisions, optionally shared between branches.  It's branches that keep track of what the current revision is.)01:12
hbecknoted :)01:13
hbeckspiv: given that behavior of pull, I'm a bit confused as to its intended utility?  "a mirror of another branch" suggests that only the "this" branch would be changed01:20
spivhbeck: yes, that's right.  I'm not sure where the confusion is?01:29
fullermdpull modifies the destination, not the source (complement of push)01:29
spivhbeck: typically you'd use it like "bzr branch URL my-mirror-of-URL", then later "cd my-mirror-of-URL; bzr pull" to keep that mirror up to date.01:30
spivhbeck: e.g. if you are frequently working with the trunk of some project hosted on the internet you'll probably prefer to have a local copy of that trunk to work with, for speed.  Pull keeps that copy current.01:31
hbeckok, I thought you said that if I did "cd my-mirror; bzr pull -r oldrev --overwrite" that it would move both my-mirror and the URL itself back to oldrev01:31
fullermdI think he was talking about doing pull from a checkout (in which case there's only 1 branch to influence)01:32
spivIf my-mirror is a *checkout*, rather than a branch01:32
spivThen the branch pull modifies is the checkout's branch.01:32
hbeckah. AH.01:33
hbecklightbulb01:33
hbeckso... "bzr co URL dldir; cd dldir; bzr pull -r oldrev --overwrite" changes the branch (in the checkout) in dldir but not out in URL-land.01:35
hbeckdo I have that right finally?01:36
fullermdOther way around.01:36
fullermd(and you may need another arg on the pull, but that's irrelevant really)01:36
fullermdThink of it this way; you have a branch 'master' (probably bzr+ssh://something or the like)01:36
fullermdYou want to work locally in 'mywork'.01:36
fullermdYou can:01:36
fullermd1) bzr branch master mywork01:37
fullermdNow you have two branches; the existing 'master', and the new 'mywork' based on [the current state of] master.01:37
fullermdYou use 'bzr pull' in mywork to drag in new stuff from master (assuming you're not adding new revs locally of course)01:37
fullermdor,01:37
fullermd2) bzr co master mywork01:37
fullermdNow you still only have _one_ branch; 'master'.  'mywork' isn't a branch, it's just a new working tree on the existing 'master' branch.01:38
fullermdYou'd use 'update' to "catch up" the tree when 'master' moves ahead.01:38
fullermd'pull' is for copying revs from one branch to another.  'update' is for catching up the working tree to its branch.01:38
fullermd(of course, both can be used with '-r' to go backward instead of forward, but that doesn't change the basic difference; pull is for updating branches, update is for updating working trees)01:39
fullermdIf you ran 'bzr up' in mywork in case (1), you'd be updating the 'mywork' working tree to match its branch, which is also 'mywork'; it contains both in that case.  So it's usually going to be unnecessary, since you're not going to 'move' the branch forward or backward other than by going through the tree already.01:40
fullermdIF you run 'bzr pull' in mywork in case (2), you'd be asking bzr to update the branch 'master' (that being the only branch existing) to match its parent, wherever that may (or may not) be.01:41
* fullermd wanders off into further confusing details...01:41
hbeckchewing on that...01:41
hbeckI am working with a build system, it has a fetcher that will grab stuff using bzr. Currently it is written to do this:01:43
hbeck1) does the thing to fetch already exist? if no, checkout01:43
hbeckif yes, pull --overwrite01:44
hbeckwith a revision specified by a recipe in the build system01:44
hbeckwhich could be behind the current rev of the 'master' branch location01:44
hbeckthis stuff that is fetched is not a work area, it is just to download and build from01:45
hbeckso it seems like checkout/update is appropriate.01:45
hbeck?01:45
fullermdI'd probably tend to use branch/pull.  But in this case it's probably 6.5 of one, half a baker's dozen of the other.01:46
fullermdBut doing checkout/pull is certainly not what you want   :)01:47
hbeckwhy? (for my own edification in all these confusing details)01:47
hbeckto the branch/pull tendency01:47
fullermdWell, I generally only go to 'checkout' when I intend to work on and commit stuff directly to 'master'.01:48
fullermdI use 'branch' for readonly/reference/etc copies.01:48
fullermdTo some extent, that's just mental philosophy.01:48
fullermdOTOH, it does give you a little extra safety, since your mywork is nearly completely decoupled from master.01:48
fullermdIf you accidentally pull or commit or whatever in it, it doesn't do anything to master.01:49
fullermdYou'd have to actually explicitly do something like push.  Whereas with the checkout (assuming you can write to master), commits or pulls or the like will end up doing stuff to master.01:49
hbeckok, that last bit is where I'm confused (pull doing stuff to master, referring to master being the 'master' branch location and mywork being a checkout)01:51
hbeckif I did bzr co master mywork01:51
fullermdI think calling it the "master branch" in reference to a checkout is just confusing.  It's just the _branch_.01:51
fullermdThere's only one, so anything that writes stuff to a branch (like pull, or commit) writes it there, because that's the only branch there is.01:52
hbeckbzr pull -r oldrev --overwrite master  (from mywork dir)01:53
hbeckthat moves mywork back to oldrev01:53
hbeckand the master (off on some other machine) is not changed01:53
fullermdThat moves the _branch_ for mywork back to oldrev.01:54
fullermdIf you did 'bzr branch master mywork', then mywork is its own branch, and master is unchanged.01:54
fullermdIf you did 'bzr co master mywork', then mywork is _not_ its own branch, it's just a working tree on master.  So the branch you're changing is master.01:54
* hbeck head explodes01:54
* fullermd grabs some duct tape.01:54
hbeckwhile we've been talking, i tried this.01:55
hbeckbzr co master mywork01:55
spivhbeck: the really short version is: "if you have a checkout, use update.  If you have a branch, use pull."01:55
hbeckbzr pull -r oldrev --overwrite  (which fails due to lack of pull location)01:56
hbeckso then I did bzr pull -r oldrev --overwrite master01:56
hbeckwhich worked exactly like I thought bzr update -r oldrev should01:57
hbeckand our server-hosted stuff is happy and safe01:57
spivhbeck: 'bzr log -d master' will now show that master is at oldrev too.  Is that what you want?01:57
hbecknegative spiv, I went over to the master location and it's still at the current rev01:58
fullermdThat would be one of those 'bound-branch-screwing-things-up" bugs...01:59
spivfullermd: yeah01:59
* fullermd clears his throat to do that grumble-dance again.02:00
spivhbeck: well, it appears it does work, but personally I find that confusing :)02:00
hbeckyeah02:01
hbeckit is02:01
hbeckextremely02:01
fullermdAnyway.  You shouldn't rely on that, because it's a bug/wart/implementational-detail that may (will, hopefully) change.  You'll see different behavior if you used a lightweight checkout, for instance.02:01
spivhbeck: and unlike "bzr update -r oldrev", it will give different results on a checkout made with "bzr co --lightweight"02:01
hbeckI'm going to submit a patch to this fetcher thing to use update02:01
hbeckappreciate the help :)  sorry for being dense, heh02:03
spivhbeck: that's ok, this corner of bzr is unnecessarily confusing :(02:08
AuroraBorealisFor some reason i can't access my repository on my ftp server using bazaar explorer anymore, i have to use the command line, anyone have any idea whats going on? :<03:24
bignoseI'm a little confused by the earlier conversation on checkouts and branches.05:16
bignoseI am such an old Bazaar user that “checkout” is what the new world order names “bound branch”.05:17
bignosewhat's the current state of play? are checkouts not good? are bound branches not good? are plaid pants not good?05:17
fullermdPlaid pants are totally not good.  Even I know that.05:18
fullermdOf course, I'm not overly pro-pants in general, so I'm not the best source...05:18
=== cinerama_ is now known as cinerama
vilahi all !07:08
fullermdAgain?  You just said that yesterday...07:10
vilayeah, any idea about different punch lines ? I grow tired of repeating myself ;)07:11
fullermd"So I said, 'Horse?  That looks more like a peanut to me!'"07:11
spmyou could try RPN? ! all hi<pop-all>07:20
vilaspm: I like that !07:27
vilafullermd: s/Horse/Goat/ ?07:28
fullermdI dunno.  I guess it depends on the joke you put before it.  That's your part; I just supply the punchline   :p07:29
vilawell, you used to supply the goats too...07:31
fullermdOh, now you're just trying to get my goat.07:31
vilaonly one left ?!?!?07:31
bignosefullermd: you were the one with strong opinions re. checkout, bound branch, etc.07:35
* vila ducks07:36
bignoseso why should I use one or the other or both or neither or 1.5-of-the-way07:36
fullermdOh, I've got strong opinions on all sorts of things.  That's why people avoid me   :)07:36
* bignose is much happier now having configured Emacs ‘diff-mode’ colours properly07:37
fullermdWell, I'm not the one to ask about bound branches, as I'm not overly interested in them.  I'm not anti-them, just don't fit anything I need doing.07:37
bignosewhat imbecile thought that having the same colour for added and removed lines was a good idea07:37
fullermdMy periodic gripe is that there are conceptually "bound branches" and "checkouts", and bzr implements one thing that's part one and part the other, advertising it as botrh.07:37
vilabignose: ? That doesn't match my experience and I don't remember having changed anything there...07:38
fullermdAnd both, too.  The 'r' is silent.07:38
spivfullermd: and invisible..07:38
bignosevila: ‘diff-mode’ has faces for added lines and removed lines; they both inherit from the “changed lines” face.07:39
bignosewhich is yellow.07:39
vilabignose: weird, deleted lines are red and added lines are blue here..07:40
bignosewell, they are now for me, but I had to change it from Debian's Emacs defaults :-)07:40
bignose(deleted lines red, added lines green)07:40
bignose(now for me)07:40
bignose(in parentheses)07:40
vilaoh crap, lost connection to my secondary desktop :-(07:41
vilabignose: ha. hunk separators are green here07:41
fullermdIt's not lost connection, it's just locked up for a few minutes while it tries to swap emacs in   ;p07:42
vilabignose: oh, I *did* change that ;)07:42
vila;;; Set more shiny faces for diff-mode07:42
vila(custom-set-faces07:42
vila '(diff-hunk-header ((t (:foreground "#007700"))) t)07:42
* vila frowns at natty :-/07:44
vilapfew, thanks firefox for restoring my not-yet-saved review comments... I have no idea those could survive a reboot...07:51
vilahmm, I had, now I know07:51
fullermdWell, you just save 'em off into a file...07:53
vilaha right, I always forgot my time machine07:54
fullermdYou use ViewSourceWith so you can use $EDITOR on textboxen, then you can just recover the temp file.07:57
fullermdWell, unless you put it on a swap-backed /tmp like I do...07:57
* vila blinks... and seriously considers resurrecting the emacs-client setup task from the TODO graveyard 07:59
* fullermd . o O ( easier to just set it up to use gvim... )07:59
bignose.oO( for some values of “easier” )07:59
vila. o O (There are two editors: emacs and ed. The later and a working internet connection are enough to setup the former and even there the later may not be needed ;)08:05
fullermdAnd dd/sh is the One True programming language   ;p08:07
vila:)08:07
vilaspiv: do you know in which ubuntu package one may find the python test suite ?08:12
bignosevila: it's not in the Python source code package?08:13
bignoseI wouldn't expect the Python test suite to be in any binary package, if that's what you're expecting.08:13
vilabignose: it probably is but this won't make it available with a simple 'import' no ?08:13
bignosevila: well, the Python test suite isn't something available with a simple ‘import’.08:14
bignoseI don't think so, anyway.08:14
vilacrap08:14
bignosesince Python is not itself implemented wholly in Python08:14
bignoseor rather, the ‘python’ packages are CPython, which is implemented mostly in C.08:15
vilawell, I'm reviewing a proposal where a module from the test suite is used as a basis so it's a compelling reason to make it available08:15
bignoseby “as a basis” we might not understand the same thing.08:16
bignosevila: are you referring to a subclass?08:16
bignosebecause “as a basis” doesn't imply that.08:16
vilaright, sorry for my broken english, have a look at https://code.launchpad.net/~songofacandy/bzr/i18n-utextwrap/+merge/5995008:17
vilaat the end of 'bzrlib/tests/test_utextwrap.py'08:17
vilaI've never seen such use and wanted to look at it with a working setup, hence the need to have the import succeeds08:18
bignosevila: okay. I think you're referring to the test suite for the Python standard library08:18
bignosewhich is mostly implemented in Python, and AFAIK the test suite for the standard library is also implemented in Python08:18
bignoseand hence importable08:18
bignosevila: the package might be ‘python-dev’, but that's just a guess08:19
vilayup, I'm after tests.test_textwrap precisely08:19
vilaalready installed08:19
lifelessI'm 99% sure the stdlib test are not installed08:20
bignoseI would not expect any binary package to make the standard library's own test suite available for import.08:20
vilahehe, I don't mind if the package is called xxx-test-suite ;)08:20
spivvila: I don't think Python's test suite is packaged08:22
spivvila: the test.regrtest module is packaged, but none of the individual test modules AFAICS08:22
vilaright, I'll live with that and will just put the module in my private setup for... testing :)08:22
bialixvila: for you: https://bugs.launchpad.net/bzr/+bug/77765009:37
ubot5Ubuntu bug 777650 in Bazaar "[win32] `bzr selftest > test.log` creates too long lines" [Undecided,New]09:37
bialixbonjour vila09:37
vilabialix: great, thanks !09:38
bialixvila: it seems the old behavior I remember is now changed09:38
bialixnow selftest does not clear correctly progress messages at all09:39
bialixwhen redirected09:39
bialixI wonder if it related to testtools09:39
vilaIt seems related to a bad terminal detection, I don't think testtools is involved.... or is it ?09:40
vilabialix: what happens if you force values in osutils._win32_terminal_size ?09:41
bialixit's not very easy09:42
bialixso it possible but not right now, sorry09:43
bialixthis bug is not critical for me09:43
bialixa bit annoying but I have enough mental force to not cry09:43
fullermdDarn.  I'll have to come up with an even more inventive means of torture now...09:44
vilatry adding comments in this bug for the various different cases your observe then09:44
bialixok09:44
bialixo, hi fullermd09:45
bialixhave you asked for qdiff to remember unidiff knob?09:45
fullermdI think I did $YEARS ago...09:46
bialixhow's bad, I've just thought about fixing that09:47
fullermdWell, so you just read my mind very slowly   ;)09:48
fullermd's probably for the best anyway.  If you read it quickly, you'd probably run away screaming.09:48
bialixyep09:48
bialixare you using qdiff or qbzr in general?09:49
fullermdNot with any regularity.  And mostly recreationally when I do.09:49
bialixdamn, and we don't have blackjack inside yet09:50
fullermdI'm waiting on Solitaire.  Red 1604.2.37 on the black 1605.09:50
bialixghaaaa! that's so cool idea!09:55
fullermdIt's a new UI for rebase   8-}09:56
bialix:-D09:56
vila. o O (UI for rebase and other history tweaks....)09:59
vila. o O (drag: pull, merge, etc...)10:00
=== hunger_ is now known as hunger
maxbDoes anyone know if there is an open bug for bzr's algorithm for figuring out which revisions to fetch being fairly dire?12:33
maxbAs an example, try bzr branching gcc-linaro into an empty shared repository. It spent >2MB of data transfer trying to figure out what revisions were missing ("all of them") before I gave up12:34
vilamaxb: not sure if a bug is filed for it, but branching into an empty shared repository disable the shortcut used when branching otherwise (branching as in: I want all the revisions)12:36
vilamaxb: the "workaround" is to create a standalone branch and *then* reconfigure it to use a shared repo so that all the queries are local instead of across the network12:37
maxbI think we could learn from mercurial here. Their network protocol for figuring this out seemed rather well designed when I read its developer docs12:37
spivmaxb: there's an open bug for that.12:44
maxbI figured there would be, I'm just having trouble phrasing a suitable search :-/12:44
spivmaxb: https://bugs.launchpad.net/bzr/+bug/38826912:45
ubot5Ubuntu bug 388269 in Bazaar "many get_parent_map calls during walk to common revisions when branching into empty repository" [High,Confirmed]12:45
maxbthanks :-)12:45
spivmaxb: one limitation is that calculating the heads for a repo is not a cheap operation for us12:47
spivmaxb: I think we could relatively easily make that cheap (it would involve having the repo on-disk format track the list of heads), although that's only part of the problem.12:49
spivAnother is that we probably should be doing exponential walking backwards, rather than the fixed number of steps we do now12:50
spivThere's also some potentially clever stuff we could do by using bloom filters rather than sending long strings of revision ids on the wire, although that's more about keeping individual roundtrips small than reducing roundtrips12:51
spiv(But if a single roundtrip can do more work then that obviously helps us reduce roundtrips)12:51
spivThe approach I see described on the hg wiki seems pretty much in line with ideas we've previously discussed.  Care to help us implement them? :)12:52
maxbDefinitely interested, though I need to learn a bit more about the existing internals first.12:53
maxbBazaar's rather profligate use of bandwidth is a sore point when trying to tempt hg and git users, I think12:54
spivWell, if it's profligate use of bandwidth you want to fix, those are different buts ;)12:54
spiv*bugs12:54
spivThis one is excessive network round trips :)12:55
spiv(Which tends to suggest more bytes are being exchanged than strictly necessary too, but to a much lesser degree)12:55
spivjam: I've got a crude hack for 'bzr branch --stacked REMOTE local' that fetches inv and text data that'll be needed to build the working tree at lp:~spiv/bzr/faster-stacked-tree-build13:45
spivjam: it's in an extremely ugly state but for one branch it cuts the roundtrips from 151 to 85, and the bytes transferred from 38.6M to 13.5M13:46
spivjam: but it takes 6.9s rather than 3.1s; I guess it's the extra time to write and validate all the extra data into the local repo that we'd otherwise discard13:47
spivjam: it looks like making get_stream_for_missing keys is the main remaining source of VFS calls, fixing that would probably trim the roundtrips and bandwidth even further.13:48
* spiv -> zzz13:48
mgzokay, what else needs following up on...13:59
=== Ursinha-afk is now known as Ursinha
=== ScottK2 is now known as ScottK
jamspiv: how REMOTE is remote in that case?14:09
mgzhe's abed.14:11
mgzvila's back now right? I wanted to bother him about some config bugs.14:13
vilayup14:13
vilashoot14:13
vilamgz: and I'm landing export-tt without eith14:13
mgzgotcha.14:14
mgzso, currently bzrlib.config has three entry points for ConfigObj()14:14
mgzone of which doesn't try/except, hence bug 50206014:15
ubot5Launchpad bug 502060 in Bazaar "Clearer exceptions on config file parsing errors" [Medium,Confirmed] https://launchpad.net/bugs/50206014:15
mgzalso bug 688677 would need fixing in three places14:15
ubot5Launchpad bug 688677 in bzr (Ubuntu) "UnicodeDecodeError loading config file containing invalid UTF-8" [Low,Triaged] https://launchpad.net/bugs/68867714:15
vilawhat do you call an entry point ?14:15
mgzis the idea with lp:~vila/bzr/config-abstract-store that the _load_from_string method will then be the only place?14:15
vilamgz: yes14:16
mgzokay, so I may as well leave those bugs till you've landed14:16
vilamgz: but this isn't used so far14:16
mgzotherwise we'll just conflict14:16
mgzyeah, I didn't see any of your bits *removing* code.14:17
mgzso, when you do, you'll fix the first of those bugs as a side effect, probably want a test for it.14:17
mgzand the second one will be easy, just need an except UnicodeDecodeError clause.14:18
vilahuh, while would I fix the first one ?14:18
vilaanyway, there are tagged with 'config' so I'll probably won't miss them14:20
mgzbecause if the code for TransportConfig._get_configobj goes through your method, it'll start catching ParseError14:20
vilaha right14:21
mgzthey both seem tagged appropriately14:21
vilayes, sorry, that what I meant, I checked14:22
mgz...my flakey internet at the moment really screws up bzr and launchpad http access14:23
vilajam, mgz: so what are we up with lp:~gz/bzr/test_traceback_compat_656170 ⇒ lp:bzr ?14:23
jamvila: failing for seemingly unrelated issues, IIRC14:23
mgzI was just going to try and send it again to get the pqm output myself14:23
mgzbut hydrazine's hung14:23
* mgz hits ctrl+c and waits a few minutes for the timeout14:24
vilamgz: when did you use hydrazine last ? I had to clear my cache and re-authorize after upgrading to natty...14:29
vilamgz: and launchpadlib has been upgraded too14:29
mgzit's just my connection's sucky during the day lately I think, randomly fails to establish tcp connections14:29
vilak k , just mentioning14:30
mgzI'll pull launchpadlib too and see.14:30
mgzhttp://paste.ubuntu.com/603717/ <- eg. Worked on the next try though.14:33
vilaweird14:35
jelmerhmm14:38
pooliehi vila, jam, jelmer14:38
jelmerhey poolie, how's Budapest?14:38
jamhi poolie, enjoying Budapest?14:38
jelmerIt looks like IDS refuses to work with non-local repositories14:40
jelmeryet, Inter.get defaults to returning "InterRepository" if it can't find any alternatives, and that uses RepoFetcher14:40
jelmerwhich seems to assume data has the same model, etc.14:41
mgzI'll look at Naoki's text wrapper branch later when I can actually fetch it14:46
vilamgz: that would be awesome !14:46
pooliehi, am i back?14:49
poolieit is good14:49
vilano14:49
vila:)14:49
poolievila, so you merged all your config code?14:51
pooliethat's great14:52
vilapoolie: almost yes, I'm piloting right now but will resubmit the concrete-stacks one for re-review before starting on new stuff14:52
vilathe review queue is almost back to a manageable size14:53
pooliemm still pretty hefty though14:53
jamjelmer: InterRepo doesn't assume same models, does want to use InventoryDeltas if it can.14:54
jamotherwise I think it falls all the way back to new.serialize(old.deserialize(content))14:54
jamIDS doesn't do remote per other people's request.14:54
vilapoolie: yeah, but according to http://webnumbr.com/bzr-active-reviews were on the right track ;)14:54
jam(and if we have decent inventory deltas, it should be ok)14:54
jelmerjam: do sinks deserialize/reserialize?14:56
jelmerjam: as far as I can tell RepoFetcher doesn't do any sort of translation; it's also used exactly the same way by InterSameDataRepository14:58
jelmerit seems strange that InterRepository is the default while InterSameDataRepository is basically InterRepository with an is_compatible method and is separately registered14:59
* jelmer if this also be why it is possible to fetch from a subtree format into a non-subtree format15:04
maxbIn the bzr beta PPA for hardy:15:13
maxbERROR: bzrlib.tests.commands.test_commit.TestCommitWithBoundBranch.test_commit_both_modified15:13
maxb NotImplementedError: <bound method SilentUIFactory.get_password of SilentUIFactory()>15:13
maxbDoes that mean anything immediate to anyone?15:14
jelmermab: it looks vaguely familiar, but I don't recall what the exact issue was15:14
pooliehi maxb,15:15
poolieit is familiar15:15
vilamaxb: rings a bell15:15
pooliei think it's a lack of isolation from the test environment15:15
poolieis that on trunk?15:15
maxbYes (2.4b2)15:16
vilamaxb: running tests in parallel ?15:16
maxb*gha!*15:16
maxbyes15:16
maxbhmm15:16
maxbbut on random ports15:16
vilathat gives more weight to the test isolation issue15:17
pooliejelmer,  ams_cs was saying on the linaro list he found rebase really slow15:21
poolie... what should we do?15:21
jelmerthat seems likely, it's O(tree) at the moment and it uses a workingtree for its operations rather than e.g. a memory tree15:23
jelmerI don't have a silver bullet, although I do have some plans on how to fix rewrite15:24
jelmerI can spend some time on that if you like15:24
pooliemm15:25
poolieit would be useful to improve but it's probably not top of the stack at the moment15:25
jelmerpoolie: btw, do you know if any of the Linaro folks we've been talking to are going to be at UDS?15:25
poolieif it was surprising, or if you thought it would be easy to fix i could get more data15:25
pooliemichael hope is here now15:25
pooliei would guess he's here next week too15:26
poolieand jamse15:26
poolie*james15:26
poolieit's this thread http://lists.linaro.org/pipermail/linaro-toolchain/2011-May/001196.html15:27
pooliejelmer, i think we should have at least a bug for rebase performance so people can vote for it15:39
jelmerpoolie: that's a good idea15:41
poolievila thanks for the prod on my rules branche15:53
poolieon the whole i think i'll just land it with the curren name15:53
vilapoolie: yeah, and keep working on it to fix the related bug ?15:53
poolieindeed15:53
vilathat gives a better history in the end while making the intermediate reviews easier15:54
pooliemaybe not this week though15:54
vilanp15:54
poolieoh also, vila, consider yourself prodded to send a pp mail at the end of the week16:00
vilapoolie: hehe, yeah, sounds like an habit we should all take ;)16:01
poolieindeed16:01
pooliei think i sent one last time i piloted16:01
pooliesometimes the Ubuntu pp reports worry me that they are so long16:01
poolieit seems like a lot of overhead for one day's work (in their case)16:02
pooliebut for us i think a short report is good16:02
poolieit reminds us we're doing it16:02
vilayeah, I read them searching for ideas to pick16:02
vilabut their context is too different so far16:02
mgzcute launchpad bug. I can edit a bug's priority if it's on a project I have rights to and move it to one I don't at the same time.16:17
pooliehaha16:25
pooliepresumably this means you can edit anything16:25
vilamgz: go ahead, fix bug #116:26
ubot5Launchpad bug 1 in Ubuntu "Microsoft has a majority market share" [Critical,In progress] https://launchpad.net/bugs/116:27
io2hi; can bzr merge unrelated branches alla git ?16:28
jelmerio2: yes, though you have to force it to do so16:28
jelmerio2: "bzr merge -r0..-1 ../unrelated-branch"16:28
io2oh16:29
io2thanks jelmer16:30
io2jelmer: i thought that http://zakalwe.fi/~shd/articles/why_not_bazaar.html was still valid tbh16:31
jelmerio2: that's a very biased document16:34
io2indeed16:34
io2trying to find out a cross platform dvcs that works well right now16:34
quicksilvers/biased/inaccurate/16:44
mgz"We accept social misanthropes, perfectly normal people with 2.5 kids, a dog and soccer practice on Sundays."16:47
mgzI get the bit about accepting the dog, after all on the internet no one cares if you're a dog... but can soccer practice on Sundays really format a patch correctly?16:47
* jelmer has religious problems with both16:48
io2guys, wanna help me get from git to bzr ?16:48
io2I like the ui tools and launchpad :P16:49
mgzyes, particularly if you say that in a NZ accent.16:49
mgzhttp://doc.bazaar.canonical.com/migration/en/survival/bzr-for-git-users.html16:49
io2lol16:50
io2how fast is bzr these days btw ?16:50
mgzstill slow on kernel-sized things for some operations, but pretty good for most projects.16:52
mgzI tend to get most annoyed by the time it takes Qt to page in rather than anything bzr does, to give you an idea of the kind of delays I normally run into.16:56
io2hmm16:57
=== med_out is now known as medberry
mgzoh man, pqm looks totally hosed.17:36
poolie?17:36
mgzI just got a totally different set of errors from jam's run.17:36
mgzah, no, that's the log being confusing.17:37
vilamgz: just after processing your submission...17:37
vilamgz: :-D17:37
mgzthey're nearly all expected failures in the email17:37
vilamgz: yeah, expected failures...17:37
mgzthe one real failure is probably real.17:37
vilamgz: generally yes17:37
mgzand a bunch of compiler warnings :D17:38
mgzlooks like jam's change to bzrlib.transport.sftp is wrong/sometimes wrong17:41
vilamgz: as in ? More tests needed ?17:42
mgzas in I don't know the sftp code, but whatever this ReadvFile is has no close method.17:43
vilamgz: 'has no method' always or sometimes ?17:43
mgzone of those, and I don't know if it's always the object that line is operating on17:44
vilahuh ? bzr push told me: Using default stacking branch /+branch-id/241735 at lp-85348944:///~vila/bzr17:54
vilaIs that new ?17:54
mgzyup.17:54
mgzhttp://how-bazaar.blogspot.com/2011/04/launchpad-and-stacked-branches.html17:55
vilathat would make debugging harder :-/17:55
mgzhm, this "How to store binaries along tree" thread is almost exactly what I was working on last week on the train18:27
=== medberry is now known as med_out
abentleyvila: The branch is a real branch that you can interact with, so it shouldn't make debugging much harder.19:00
levuwhen i have local A and remote B and i want to merge B into A i do "cd A; bzr merge B", but how do i do it, when i want to merge A into B?19:01
vilaabentley: but do I get back its path ?19:01
mgzlevu: `bzr -d B merge A`19:02
abentleyvila: I wouldn't bother, since it'll always be lp:project.  But you could use launchpadlib, I guess.19:02
mgzwon't work over dumb transports, in that case, keep a local copy of B and merge to that, then push.19:02
vilalevu: merges can produce conflicts, conflicts needs a working tree to be resolved (and the result committed), so you generally clone B locally, resolve the conflicts, commit and push the result19:03
mgzand what vila said.19:03
=== deryck is now known as deryck[lunch]
levumgz: thx19:03
levuvila: ok, then i'll do it this way :)19:03
mgz...and I spelt it wrong, the -d param goes after the merge command19:04
vilaabentley: right, but the bug causing this fix was about a broken path which we won't see as easily now, but well, I was hoping for some magical url on lp side19:04
vilamgz: hmm, I think we cope with any argument order really19:04
mgzvila: but the command has to go first, or you get unknown command "-d" which is always confusing.19:05
vilareally ?19:05
mgzyeah, it should at least sniff dashiness really to give a better error message19:06
abentleyvila: but broken paths are impossible now, except maybe with branch deletion.19:06
vilawow, you're right ... I wonder if it has always been the case as I was almost sure it has work at some point19:06
vilaabentley: yeah, I get that but still, we never show revids in bzr output (for good reasons you explained me long ago) and suddenly lp is showing an opaque id...19:07
abentleyvila: If you couldn't interact with it at the +branch-id URL, I'd see that as a problem, but as is, it's more of a symlink than a meaningless number.19:10
abentleyvila: If you want to file a bug that https://code.launchpad.net/+branch-id/241735 doesn't work, that would be one way to let you get the path.19:12
=== deryck[lunch] is now known as deryck
lamonthttp://paste.ubuntu.com/603869/ <-- wassat mean?  2.3.120:42
dvheumenlamont: I'm just guessing here, but the very low-level problem seems to be that it is trying to import something that doesn't exist20:50
lamontyeah20:50
dvheumenwhen did this start to happen?20:50
lamontwhen I upgraded to bzr 2.3.1 on some hardy boxen (using our rebuild of same)20:50
lamontOTOH, most of the machines are fine with that version20:51
dvheumenhmm20:51
dvheumenif you simply run 'bzr' does it happen then too?20:51
dvheumenI20:53
dvheumenor 'bzr --version'20:53
dvheumenI'm thinking that maybe it isn't actually bzr itself that generates the error, but one of the plugins that has been installed. It could be missing a dependency or a mismatched version of the dependency20:57
dvheumentry 'bzr plugins' for a list of active plugins20:58
dvheumenbut like I said, at the moment it's just a wild idea :P20:58
lifelesslamont: thats running bzr, or something else? it could be a race condition if you have threads in play20:59
lamontbzr status20:59
lifelessshouldn't happen there :P21:00
lifelessfile a bug, include bzr.log stuff for that run21:00
lifelesscheck that you have bzrlib/trace.py21:00
lamontI have one x86_64 box where I see it21:00
lamont-rw-r--r-- 1 root root 20742 2011-03-10 12:32 /usr/share/python-support/python-bzrlib/bzrlib/trace.py21:01
lamont-roseapple(root) 310 : find /usr/share/python* | grep bzrlib/trace.py21:01
lamont/usr/share/python-support/python-bzrlib/bzrlib/trace.py21:01
lamont-roseapple(root) 311 :21:01
dOxxxhey vila, are you around?22:05
pooliehi dOxxx22:18
dOxxxhey poolie22:18
dOxxxmy emails to vila are bouncing :P22:18
dOxxxI think my ISP's mail server got spamblocked by free.fr22:19
poolieoh no22:21
poolietry vincent.ladeuil@canonical.com22:21
dOxxxah thanks :)22:21
jelmerhi poolie, dOxxx22:28
dOxxxhey jelmer22:28
pooliehi jelmer22:32
spivjam: "REMOTE" is a bzr://localhost/ in that case22:55
jelmermørning spiv22:56
spivHï jelmer22:58
* spiv grabs breakfast and coffee etc, it's still a bit early :)22:58
james_w`what's the fix when a branch gets renamed on LP and breaks anything that stacks on it by name?23:01
mgzhttp://how-bazaar.blogspot.com/2011/04/launchpad-and-stacked-branches.html23:02
james_w`https://bugs.launchpad.net/launchpad/+bug/377519/comments/123:04
ubot5Ubuntu bug 377519 in Launchpad itself "Stacked on location breaks if the stacked upon branch is renamed" [Critical,Fix released]23:04
ScottKRiddell: google translate translates both whiskey and whisky to whisky in Hungarian, so it looks like they are a23:04
ScottKare educated on the topic.23:04
=== mwhudson_ is now known as mwhudson
maxbhttps://launchpadlibrarian.net/71116344/buildlog_ubuntu-natty-amd64.bzr_2.4.0~bzr5823~ppa3931.3928~natty1_FAILEDTOBUILD.txt.gz23:21
maxbok.... what?!23:21
maxbApparently the testsuite failed, but no tests failed?23:21
mgzwhat changed from the last build?23:25
mgzsubunit, by any chance?23:25
maxbah23:27
maxbyes23:27
mgzyup, Unpacking python-subunit (from .../python-subunit_0.0.6+bzr147~ppa102~natty1_all.deb) ...23:27
mgzmy fault.23:28
maxb0.0.6 to 0.0.6+bzr14723:28
mgzI made lifeless fix some stuff but haven't actually fixed the bzrlib suite yet.23:28
maxbah23:30
mgzthough, confusingly the two tests I thought would be the problem appear to be skipped due to lacking _UnicodeFilenameFeature23:31
mgzso perhaps it's an issue with the subunit change rather than me being lazy23:32
mgzwill try fixing the bzrlib side and if it's still broken poke subunit some more.23:36
mgzheh, oh man, diff in this branch gives me timestamp 2010-10-2123:40
lifelessjelmer: hi23:42
lifelessjelmer: your new stuff failed in daily build23:42
jelmerlifeless: 'morning23:42
jelmerlifeless: which project?23:42
lifelesssubunit23:47
mgzhm, those are the failures I blamed on your merge lifeless?23:54
mgzin fairness, the right semantics did change a few revs later too.23:54
lifelessmgz: no, differnet23:56
mgzand I forgot to query whether the filters would downgrade xfail->pass and uxsuccess->fail if the local unittest didn't support them, which is another issue23:56
lifelessthey use testtools23:58
lifelessif you make a chain that needs downgrading, they will downgrade23:58
mgzthat's cool then.23:59

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