/srv/irclogs.ubuntu.com/2011/08/11/#bzr.txt

urbanapejelmer: http://paste.lisp.org/display/12394800:05
pooliehello all?06:27
spivpoolie: hi ;)06:35
pooliehello06:35
pooliecould you sanity check https://code.launchpad.net/~mbp/udd/819910-service-root/+merge/7115406:35
spivpoolie: ugh, but +106:45
vilaMorning all !06:47
pooliehi vila, and goodbye06:47
pooliei might be back later06:47
vilahi poolie, cu later06:47
jammorning vila and poolie (if you are back)08:08
vilahello jam08:08
jambrb, pidgeon forgot who I am again08:09
jelmerhi jam, vila, poolie08:41
jammorning jelmer08:41
vilajelmer: hey !08:41
* fullermd continues in his quest to outlaw mornings...08:44
* vila suggests to shut down the sun08:45
vilaoh wait Oracle did that already08:45
* fullermd *rimshot*08:45
fullermdShutting down the sun would have the added bonus of the temperature staying out of the 3 digit range.  For a while, anyway.08:46
vilanah, bad plan, it will make it harder to boil water (that's what the 3 digit temperatures are about really) and as such coffee production will become harder, definitely a no-go08:48
fullermdYou can cold press coffee, in extremis.  I just wish it would stop trying to boil water everywhere outside my front door.08:49
vila:)08:50
vilaIn other news, with tag fetching being optional and equality_funcs.clear workaround in place and bug #822571 fix backported to 2.4, I'm ready to freeze 2.4.008:51
ubot5Launchpad bug 822571 in Bazaar 2.4 "bzrlib.tests.blackbox.test_version.TestVersionUnicodeOutput.test_unicode_bzr_home fails" [High,Fix released] https://launchpad.net/bugs/82257108:51
jelmervila: \o/08:51
jelmerhi Riddell08:51
vilajam, poolie, jelmer: pqm was very slow the day before yesterday, dunno if this has changed, but to be safe, please leave pqm alone (or I'll ask losas to kill the submissions ;)08:52
Riddellhello jelmer08:52
vilaRiddell: hey ! You're back :)08:52
vilaRiddell: welcome back then :)08:52
jelmerRiddell: how's the desktop summit?08:53
vilaRiddell: please leave pqm alone too ;)08:53
jelmervila: :)08:53
Riddelljelmer: desktop summit was fun, I got some ideas for Bazaar08:53
fullermdApparently I'm still allowed to ridicule pqm about its childhood etc though.08:53
vilafullermd: sure :)08:54
jelmerRiddell: cool08:55
=== kedare_ifr is now known as kedare
=== yofel_ is now known as yofel
maxbpoolie: I'm curious about your UDD change today, because the previously existing code in udd should have already accounted for the issues concerned09:40
jamvila: babune just stopped responding for me, did something happen?09:53
vilajam: nothing I'm aware if09:54
vilaof09:54
vilaeven09:54
spivmaxb: that probably explains why his change didn't make any difference on production :)10:05
jamvila: seems it was just slow because I was loading multiple pages at once10:06
jamor maybe something on my end, given I just DCd from IRC10:07
jamvila: I can't reproduce the "PermissionError" bugs, but some of the others I can fix10:08
vila\o/10:12
jamvila, mgz: One of the tests is a testtools bug10:29
jamwell, test_selftest is asserting the output10:29
jamhowever the "if" check says "if version <= (0,9,11)"10:29
jambut my testtools.__version__ == (0, 9, 11, 'final', 0)10:30
jamwhich is > version10:30
jamanyway, "testtools_version[:3] <= " works10:30
vilajam: I plan on upgrading testtools on the slaves asap, will that workaround the issue ? (a fix would be better nevertheless)10:31
jelmerI guess we could fix the check to use testtools_version[:2]10:31
jamjelmer: [:3]10:31
jam:2 is (0,9)10:31
jam(it is an exclusive range)10:31
jelmerjam: ah, right10:33
jamvila: both selftest failures were because of that10:33
jamI don't know if there is anything else, though, and this is an easy fix10:33
vilajam: you mean for windows or you looked at all slaves ?10:34
jamvila: https://code.launchpad.net/~jameinel/bzr/2.5-win32-fixes/+merge/7117610:34
jamvila: On the windows slave is what I was looking at10:35
vilak10:35
jamit was checking against 0.9.11 but the checks had the wrong bounds because of the 3-tuple vs 5-tuple10:35
pooliehello maxb11:23
pooliemaxb, i think my change was misguided anyhow, as it doesn't seem to have fixed it11:25
vilapoolie: I think I lost track about what was planned for pqm, but landing a patch takes more than 3 hours these days so we probably want to do *something* ;)11:27
poolieah, maybe due to it syncing a lot while running the tests?11:28
vilaouch11:28
vilaI was hoping for some unusual load there or some other misbehavior of the host instead :-}11:30
pooliethat's possible too11:30
poolieask a losa for help?11:30
vilapoolie: sure, I wanted to check if I was up-to-date first. So nothing has occurred lately right ?11:31
pooliei'm not aware of anything else that could have broken it11:31
vilaok11:31
fullermdWhat sort of hardware does it sit on?11:31
poolieoh, tom was doing some work on setting up a new pqm box, but i didn't read anything about him having changed the existing machine11:31
pooliefullermd: an old DL-series hp server i think11:32
fullermdRunning raw, not virtualized?11:32
pooliein a chroot11:32
pooliebiab11:32
fullermdWouldn't expect the fsync stuff to make a night and day change.11:34
vilafullermd: I don't have hard numbers but it seems we went from < 2 hours to > 3 hours11:34
fullermdThough the cost isn't trivial.  Still, sounds like an OOM-ish hit on PQM from whatever.11:35
fullermdHm.  I figured pqm ran the test suite in 20, 30 minutes.11:35
jelmervila: are you done with pqm?11:35
fullermdThe timing poolie gave in the MP for fdatasyn showed ~20% increase.11:36
vilajelmer: not yet, still at least one submission to open 2.4.1 (which requires the current one to finish) and potentially a second submission to merge 2.4 to trunk11:37
jelmervila: *nod*11:38
vilajelmer: thanks for your patience (though mine is running thin....)11:38
poolie1hi vila, jelmer11:39
jelmerhey poolie111:40
vilapoolie1: so, tom said the new pqm may be ready in a week or two11:40
vilaalso, it seems we're racing with u1 on the actual one which may explain the slowing11:40
poolie1ok11:44
poolie1we should see about turning off fdatasync during tests11:44
jampoolie1: did you see that your config stuff for fdatasync doesn't work?11:45
jamthe new ConfigStack doesn't know about 'bool'11:45
jamso setting it to "False" returns a string which evaluates to True always11:45
jamI think you could set it to the empty string11:45
jamor an empty list11:45
jam(btw, you don't have any tests for it working. :)11:45
poolie1:/11:46
jampoolie1: I only found out because I was trying to copy your work for my config11:46
jamand hey, setting it to False doesn't do anything wth?11:46
poolie1we'd better fix that for 2.4.0 then11:46
vilathat would be for 2.4.1, 2.4.0 is already cut and landing on pqm, with tag11:51
poolie1are the criticals all fixed+11:54
poolie1apparently yes,that's great11:54
poolie1jam, did you file a bug for that?11:55
vilayes, I downgraded one since it was covered by the optional tag fetching11:55
vilawe way still want to bump it to critical for udd though11:55
vilapoolie1: I'm talking about bug #80634812:04
ubot5Launchpad bug 806348 in Launchpad itself "BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps" [Critical,Triaged] https://launchpad.net/bugs/80634812:04
vilasurprising... ubot5, why do you report about launchpad when bzr is the first project listed on the page and the primary project seems to be udd...12:06
vila(primary as in: http://pad.lv/806348 resolves to https://bugs.launchpad.net/udd/+bug/806348)12:06
ubot5Launchpad bug 806348 in Launchpad itself "BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps" [Critical,Triaged]12:06
vilabah12:07
poolie1mm?12:07
Riddellvila: can I send things to PQM yet?12:11
vilaRiddell: nope12:11
vilaRiddell: :)12:11
vilaRiddell: or rather, you can, but I will ask a losa to kill it ;)12:11
=== hexsprite_ is now known as hexsprite
poolie1vila, when did you first notice problems?12:16
vilaI think I asked to jelmer a couple of days ago12:17
vilaI tried toying with webnumber but it's not accurate enough to be conclusive12:17
vilahttp://webnumbr.com/bzr-pqm-queue-length.from%282011-06-27%29.to%282011-06-28%2912:18
vilahttp://webnumbr.com/bzr-pqm-queue-length.from%282011-08-09%2912:18
poolie1i don't think that's going to really correlate with much though12:43
poolie1i guess we could look at mail that was sent to pqm and when it was returned but it's probably easier to see if the sysadmins can find a log for you12:44
vilapoolie1: yeah, but since the new hardware is expected soon-ish, I'm not sure it's worth investigating either (tom prefer to focus on the new hardware and I see no point disturbing it)12:52
jamvila:  because L comes before U, but magically after B?12:52
poolie1ok i think i understand the httperror bug12:52
vilapoolie1: \o/12:53
vilajam: I killed your windows fixes submission and re-submitted it12:53
jamvila: you're the one that killed my submission?12:53
jamk12:53
jamI was a bit concerned about a failed test run with no failures12:53
vilajelmer, Riddell : feel free to overload pqm now ;)12:53
jelmer\o/12:54
Riddellvila: what happened?12:54
poolie1vila, did you actually kill it or just ask for it to be killed?12:55
vilaRiddell: cutting a release requires two submissions: one for the release and its tag, one to open the branch for bugfixes, I prefer to pull between the two and not leave the branch in the transient state where nobody can land12:56
vilapoolie1: I asked a losa12:56
urbanapejelmer: sorry I didn't get back to you earlier last night.12:57
jampoolie1: he rooted the machine via DDOS and a bug in pqm's web front end, I think :)12:58
jamhe's really determined that his patch be next12:58
jelmerurbanape: np, I'm afraid I don't really have an answer either though. It seems like the issue is with the way the vcs-bzr script in emacs runs12:58
jelmerurbanape: (without a tty)12:58
urbanapegotcha. okay, bummer12:58
urbanapeaha!13:01
urbanapeawesome13:01
urbanapeI added --no-tty to my agent-gpg script13:01
urbanapeta-da13:01
jampoolie1, vila: Even more fun. If you do "c = ConfigStack(); c.set('foo', True); c.get()" Returns True the object. But if you write it out, and then create "c2 = ConfigStack(); c2.get()" it returns u'True' the string.13:01
jelmerurbanape: ah, that was easy :)13:02
poolie1yuk13:02
urbanapejelmer: it was13:02
vilajam: see my boolean-option (submitted to pqm)13:03
jamvila: sure. I'd put it pretty high in the 2.4.1 queue, given that one of the caveats for fdatasync is that people can disable it if they notice a slowdown13:04
poolie1thanks vila13:04
jamvila: I'm a bit concerned that it requires an api break for a stable series. Should we just switch the code to config.get_user_option_as_bool() ?13:05
jam(I guess it isn't a major break)13:06
vilajam: the easiest may be to not use configstack at all for the datasync options then. Alternatively, options are strings unless specified otherwise (and in 2.4 nobody specifies otherwise ;)13:06
vilajam: yup, that's another alternative, whatever works13:06
vilajam: but I agree, backporting boolean-option to 2.4 is a no-go13:07
vilajam: and thanks for spotting the issue13:08
jambug #82451313:08
ubot5Launchpad bug 824513 in Bazaar 2.4 "config item repository.fdatasync doesn't work as expected" [High,Confirmed] https://launchpad.net/bugs/82451313:08
vilathe 2.4.1 milestone has been created and the lp:bzr/2.4 is almost opened for bugfixes (you have to wait for the current submission to land to base your branch and get the proper news file)13:10
vilaRiddell: see above for why I don't like to leave the branch in this transient state :0D13:10
vilapoolie1: the suspense is killing me, what caused the httperror ??13:12
vila:)13:12
poolie1see the bug13:13
vilawow13:18
jonathanjwhere does bzr cdiff get its colour information from?13:20
poolie1that was such an annoying api break13:24
poolie1i have some uncommitted changes that i think ought to fix it, but perhaps they don't13:24
=== mwhudson_ is now known as mwhudson
fullermdGruuh, LP makes bzrtools difficult...13:42
fullermdIt says the latest is 2.3.0.  You have to dig to find that (a) there's a 2.3.1 succeeding that, and scroll way down in a list to find 2.4.0.13:42
vilafullermd: gigo :-/13:55
fullermdIt always makes me laugh (funny dear-god-no, more than funny ha-ha...) at how every new bzr release makes me have to work with CVS   :|13:57
urbanapejelmer: hmm, I must have done something slightly odd, because now subsequent commits are now blocked. Getting errno 13: Permission denied. I don't see any lock files in the branch-lock directory under .bzr.13:59
jelmerurbanape: are you sure it's bzr that's blocked, not gpg?14:16
Chexhello there, can someone help me with a bzr branch issue I am having, trying to deploy branches for ISD ?14:36
Chexjelmer: I was given your name to try to see if you could help me. :)14:36
jelmerChex: hey!14:37
jelmerChex: Of course, happy to help14:37
Chexjelmer: awesome, thank you.. look here: https://pastebin.canonical.com/51102/14:37
Chexand here, for related info: https://bugs.launchpad.net/config-manager/+bug/82301014:37
ubot5Ubuntu bug 823010 in config-manager "bzrlib error, cannot find revision in branch" [Undecided,New]14:38
Chexjelmer: this is a private branch, you wont be able to pull it yourself, but the account we are using has proper access to the branch14:39
gouris colo-branches same thing as hg's named branches?14:58
jelmerhi gour15:01
gourjelmer: hiya15:02
jelmergour: in some regards15:02
gourI'm now pulling via bzr-hg from google15:02
jelmergour: it's not exactly the same thing, but they both allow using multiple branches under one file system location.15:02
jelmergour: did 2.4 work any better for the large branch for you yesterday?15:02
gourjelmer: not much...i killed it...however repo @google is 24M..it makes a difference15:03
gourit was more speedy, but still too slow15:04
gourahh...conection with google dies after 8mins15:05
jelmergour: well, it's almost 600Mb of compressed data15:05
gourjelmer: right...it's big repo15:06
gournow tryingto pull from google with 2.415:06
gourotoh, hg's named branches are cool...they're, iirc, in mtn, fossil15:07
jelmergour: branch nicks in bzr are pretty similar15:08
jelmergour: when tracking what branch a revision came from15:08
jelmercolo-branches is more like git branches15:08
jelmerthe combination gives you something similar to hg branches15:08
gourhmm...it looks i've to re-read bzr docs a bit15:09
gourbased on taht i read in hg docs, bookmarks are similar to git branches15:09
jelmergour: that's hg bookmarks probably, though?15:10
gouryes, hg bookmarks15:10
gourtoo bad LP does not have project wikis like bitbucket...15:13
jelmerthere was somebody working on that15:13
jelmerjml: do you know how far that's gotten?15:13
gourwell, bug is quite old and still not on horizon (low priority)15:14
gourjelmer: how do bzr & hg compare today, considering 2.4 & 1.9.x ?15:15
gour(in general)15:15
jelmergour: There was a community developer actively working on it a month or two ago15:15
jelmergour: I'm not sure, my familiarity with hg doesn't really extend beyond the lower levels15:16
gourok15:20
jelmervila: when is 2.4.0 scheduled for?15:21
gourpulling with bzr-hr from google is slow..15:21
jelmergour: sure, bzr-hg is still fairly experimental and not really optimized yet15:22
vilajelmer: next Tuesday15:22
jelmervila: roger15:23
vilajelmer: if pqm can handle the load :-/15:23
vilaerr :)15:23
jmljelmer: how far what?15:26
jelmerjml: the wiki LEP, do you know what happened to it?15:26
jmljelmer: yeah. it's finished & rotting.15:28
jelmerjml: :-(15:28
jmljelmer: I didn't expect otherwise. Long drawn-out conversations about how we should do something that no one is actually planning to do tend to end this way.15:29
gourok...16mins...let's try to push to LP now15:29
=== zyga is now known as zyga-afk
jelmerjml: I guess it means at least we have *some* idea of the constraints and requirements15:37
jmljelmer: yeah, I hope so. Although until people are actually using it, it's all just waste.15:39
=== beuno is now known as beuno-lunch
urbanapejelmer: not sure. But removing arguments from my vc-bzr-gpg script so that it just calls '/usr/bin/gpg $@' doesn't clear it up, and adding -v to the bzr ci doesn't offer any more information.15:49
mthaddonanyone able to help me troubleshoot the new PQM server?15:53
mthaddongetting https://pastebin.canonical.com/51118/ and test suite has been running for 50 mins or so15:54
vilamthaddon: for bzr ?16:05
mthaddonvila: yeah, for the new bzr pqm server16:06
vila50mins is not unusual16:07
vilathe warnings are a bit worrying though, pqm needs some update obviously16:07
mthaddonvila: but this is on much faster hardware, with nothing else happening on the box16:07
vilado you have /tmp on a tmpfs ?16:08
mthaddonvila: it's running the same version of PQM as the current PQM instance16:08
mthaddonvila: nope (nor does the current one)16:08
mthaddon(will be doing that later once we get one successful run)16:08
vilahuge boost for bzr test suite, but you're the judge16:08
vilaanyway, there should be one or two files to track progress, let me check the makefile16:09
vila'selftest.log' in the directory where the command run16:09
vilamthaddon: running 'subunit-stats < selftest.log' may even gives you a summary16:10
mthaddonvila: that doesn't seem to have updated since 2011-07-27...16:11
mthaddonnm, my mistake16:11
vilanp16:11
mthaddonvila: https://pastebin.canonical.com/51122/16:12
vilamthaddon: something bad is going on, NoSuchFile in _check_safety_net... doesn't make sense16:15
mthaddonvila: what kind of bad?16:15
vilaunless the tmp dir was deleted before the end of the run ???16:15
vilamthaddon: a kind I don't understand16:15
vilacheck_safety_net is there to protect against some test bugs, but I almost never see it fail16:16
vilaspiv changed it recently IIRC but that was for performance reasons and I never see it fails either16:17
vilamthaddon: does /tmp/testbzr-W7TYpR.tmp/ exists ?16:17
mthaddonvila: https://pastebin.canonical.com/51124/16:18
vila-R ?16:18
mthaddonhttps://pastebin.canonical.com/51125/16:19
vilamthaddon: do you get the same result if you do that again ? (ls I mean)16:21
vilaa lot of files are missing there16:21
vilaand dirs16:22
mthaddonyeah, same result16:22
vilamthaddon: my best guess would be that something went wrong very early in the test suite and failed to build the safety net (a bzr tree that no test should modify)16:23
vilaand now all tests fail because the net has been damaged (in fact, it looks like a branch lock failed halfway)16:24
vilamthaddon: but that's a wild guess as I said, I never saw such a failure16:24
mthaddonhmm16:24
vilamtaylor: the begining of selftest.log may shed some light ?16:24
vilamtaylor: sry, silly auto-completion16:27
vilamthaddon: the begining of selftest.log may shed some light ?16:27
mthaddonvila: chinstrap:~mthaddon/selftest.log.gz16:29
micahgdoes bzr + pristine-tar have the ability to reproduce .bz2 tarballs?16:36
vilamthaddon: wow16:36
vilaKeyError: 'getpwuid(): uid not found: 200516:36
maxbmicahg: Yes, I think it's just .xz that's the problem at the moment.16:36
micahghmm, ok, I guess it was a bad merge-upstream then...16:37
vilamthaddon: and indeed it was in _create_safety_net16:37
mthaddonvila: so is that an environment issue, or a test suite issue?16:37
vilamthaddon: I suspect it's a chroot issue as we are trying to expand ~ and fails16:38
vilamtaylor: /etc/passwd missing entries in the chroot kind of stuff16:38
mthaddonvila: I think I can reproduce - thx, will get that fixed and retry16:39
vilamthaddon: cool, './bzr selftest -s bb.test_add.TestAdd.test_add_control_dir' in the chroot should reproduce it without running the full test suite16:40
mthaddonk16:40
jelmermaxb: .xz should work too, it's just fairly inefficient because pristine-tar doesn't have proper support for xz16:43
jelmermicahg: are you running oneiric?16:43
micahgjelmer: not on the machine I was doing this on16:44
jelmermicahg: there's a bug with bz2 support in natty, that might explain the issue you were seeing16:44
* micahg tries in oneiric16:45
micahgjelmer: nope, still fails to make a .bz2 tarball16:47
jelmermicahg: what fails exactly?16:48
micahgjelmer: I have no guarantee a bz2 tarball was even imported into the branch16:48
micahgit makes a .orig.tar.gz16:48
jelmermicahg: what command are you running?16:48
micahgbzr bd  --orig-dir=../tarballs/16:49
jelmermicahg: how was the upstream tarball imported into the branch?16:50
micahgno idea16:50
jelmermicahg: it's likely that it went wrong there16:50
micahgsupposedly using bzr merge-upstream, will have to find out later, too close to FF to debug16:50
jelmermicahg: is the branch public?16:50
micahgjelmer: let me get some more information from the committer and get back to you, wouldn't want you to go on a wild goose chase16:51
jelmermicahg: thanks16:53
=== kedare is now known as kedare_ifr
=== beuno-lunch is now known as beuno
=== abentley_ is now known as abentley
=== zyga-afk is now known as zyga
=== Vorpal_ is now known as Vorpal
jmlmgz: this bytes/unicode thing is doing my head in18:13
mgzehhee18:13
mgzjml: and if you've not read PEP 383 yet, which poolie linked the other day, know that it only gets messiuer18:14
mgz-u18:14
mgzI think testtools is basically there, on a hard problem, apart from two things18:15
jmlI haven't.18:15
mgz1) Matcher and Mismatch classes need to not use %s, specifically StartsWith and MatchesRegex18:16
mgz2) __str__ on Python 2 should mangle to ascii rather than return unicode and blow things up18:17
jmlAhhh, you *say* that.18:17
mgztesttools can be smart and try __unicode__ first, and other if the objects leak into other less careful libraries they won't be harmed18:18
mgzin fact, testtools already is smart.18:18
jmlmgz: you mean something like http://paste.ubuntu.com/663608/?18:18
mgzI'd have spelled it differently, but yup, looks about what I was thinking18:19
mgzdid it cause issues?18:19
mgzthe only issue remaining from there is to not let non-ascii bytestrings in, which is why StartsWith etc needs chaning18:20
jmlmgz: yeah18:20
mgz*changing18:20
jmlmgz: even on Equals(), you get an unprintable assertion.18:20
mgzthat's the describe() return issue.18:21
mgzI think it might be best to check the type in that __unicode__ function and do something similar to how bytes() get repr-ed in Python 3, rather than trying to fix every method...18:23
mgzhm.18:23
jmlhttp://paste.ubuntu.com/663616/ for something to muck around with.18:24
mgzyup, that's the kind of assertion that we want to work for people.18:24
mgzokay, I'll think a bit and throw some code up18:25
mgz...not as in vomit, though I don't guarentee it won't look like that18:25
jmlhttp://paste.ubuntu.com/663619/18:25
jmlmore data18:26
jmlmgz: heh heh18:26
jmlmgz: also, I didn't really know how to turn your demo tests into actual tests.18:26
jmlmgz: just pushed up my latest changes, fixes the _exception_to_text abstraction violation.18:27
jmlmgz: but, however you choose to project your code onto the internet, it would be much appreciated.18:28
mgzyeah, I left the demo file as was because getting into another layer of assertions gets really confusing, it's clearer to just see the output as a testtools user would18:31
jmlfair enough18:31
mgztests for the things that then make those cases work as intended are writable18:31
mgz(what type the describe() method returns on non-ascii mismatches etc)18:32
jmlcool. I tried naively turning them into tests, and they all passed, which isn't really what we want.18:32
jmlyeah18:32
jmlfwiw, https://bugs.launchpad.net/testtools/+bug/686807 might be relevant18:32
ubot5Ubuntu bug 686807 in testtools "Having __str__ not __repr__ as part of the matcher protocol is awkward" [Wishlist,Triaged]18:32
* mgz looks18:32
mgzyeah, that change could probably just be made, the __str__ methods already return things that should work as object creation code, and str() falls back to repr()18:34
mgzids in reprs only matter when the object identity is significant, newer Python code tends to omit them from the repr string when the objects are interchangable18:36
mgzrepr(Exception("whatever")) has gone from '<exceptions.Exception instance at 0x00B097D8>' to "Exception('whatever',)"18:37
jmlcool18:43
jmlI might do that post release18:43
jml(I want to have this assertThat bug fixed for the next release though)18:44
jmlI also just tried to reproduce the only remaining critical bug (https://bugs.launchpad.net/testtools/+bug/672056) and failed.18:44
ubot5Ubuntu bug 672056 in testtools "UnicodeEncodeError: 'ascii' codec can't encode characters in position 2217-2258: ordinal not in range(128)" [Critical,Incomplete]18:44
* jml goes to make some dinner18:45
mgzme too :)18:46
jml<http://pypi.python.org/pypi/unicode-nazi>18:47
mgz^I have hope that the issues involved in that bug have been seperately resolved,18:47
jmlmgz: me too. I'm going to give Thomi a few days to reproduce the bug, and close it if he doesn't respond.18:48
=== micahg_ is now known as micahg
matttbeHello jelmer.21:08
matttbemicahg said to me that I've to chat with you about a bzr issue.21:08
matttbeI used this command (I think but pretty sure, on natty but it was with another computer...)21:08
matttbebzr merge-upstream --version 2.1.1 --distribution=oneiric http://ftp.gnome.org/pub/GNOME/sources/latexila/2.1/latexila-2.1.1.tar.bz221:08
matttbeAnd it seems that if 'bzr bd' is used to create the source package, it creates a .tar.gz tarball from bzr instead of a .tar.bz2. So a problem to import the right package.21:08
micahgmerge proposal with branch here: https://code.launchpad.net/~latexila/ubuntu/oneiric/latexila/2.1.1/+merge/7096421:12
=== Quintasan_ is now known as Quintasan
jelmersorry, was away for a bit21:31
jelmermatttbe: thanks21:31
=== yofel_ is now known as yofel
pooliehi all21:53
jelmermoinmoin21:56
pooliehi mgz22:03
mgzhey poolie!22:03
jimisHow can I switch branch on a lightweight checkout, but keep uncommitted changes in that branch for when I come back? The only way I've found is shelve everything, unshelve when I switch back...23:18
jimisBut can't I somehow tell switch to preserve local changes, and do it in one step?23:18
spivjimis: oh, you mean you want the uncommitted changes to be hidden until you switch back?23:22
spivjimis: shelving and unshelving is currently the best way to do what you want, I think.23:23
spivjimis: It would be fairly easily to write a switch-and-auto-shelve plugin to automate that, I think.23:23
spiv(it'd override the 'switch' command to first shelve uncommitted changes to a shelf named after the current branch, do the switch, then unshelve from the shelf corresponding to the new branch)23:24
jimisthanks spiv23:25
jimiswould be very useful as a switch option too23:25
jimis--shelve for example23:25
spivjimis: hmm, could be.  File a bug asking for the feature :)23:26
spivjimis: (just paste in this IRC chat as the description if you want to be lazy)23:26
jimisspiv: the reason it's important for changes to be hidden when switching, is avoid unwanted conflicts23:27
spivThat said, a good way to prototype that feature would be to write the plugin :)23:27
jimisI've had such conflicts before and it took lot of my time23:27
spivjimis: hmm, I think that's just as much an argument for a cheap way to undo the switch (and its conflicts)23:28
jimisspiv: that's doable?23:28
jimisit would be a live-savour, for *after* the conflict happened :-p23:28
spivjimis: or perhaps an argument for being able to shelve the original changes after the switch23:29
jimiswhatever23:29
spiv(i.e. a way to say “please shelf the unconflicted changes I had a moment ago”)23:29
spivI think it's doable, I don't think it's *easy* currently.23:29
jimisbut after the conflict, you are left with various files injected with conflict marks etc... it's a mess23:29
spivYeah, I know the feeling.23:29
jimisyeah, that's why I think it's better to watch out during the switch23:30
spivAnd often you don't realise that conflicts are going to be messy until after you've got them.23:30
jimisI'd personally advocate for shelving on switch always and transparently, and only taking changes with you if you provide a special flag to switch23:31
jimisbut I don't think current behaviour can be broken :-s23:31
spivA cheap-ish alternative might be an option on switch to abort (and undo) if there are going to be conflicts23:31
jimistrue23:31
spivAnd then you can either commit/shelve/revert/whatever, or you can pass a --force or --allow-conflicts switch to say “that's ok, I'll cope”23:32
jimisWill submit feature request later, hopefully I'll find some time23:32
spivIn fact, 'bzr merge' already behaves somewhat like that23:32
spivYou have to --force for it to even start in the presence of uncommitted changes.23:32
jimisI wonder why switch is that dangerous...23:32
spiv(Although the rationale for merge doing that is not quite the same, there is some overlap)23:33
jimisprobably because most people work with multi-directory branches, not single-dir checkouts23:33
spivYeah23:33
spivAlthough as bzr-colo becomes more popular (and is slowly integrated into the core), your workflow will be more common.23:34
jimisbut when you have huge projects with thousands of files, checkouts are one-way23:34
spivRight23:34
jimisspiv: are you on the bzr team?23:34
jimisBecause I wonder if any dev agrees with my experience23:36
spivjimis: yes (was a fulltime developer working for Canonical until a couple of weeks ago, have just switched jobs but I still care and have commit rights etc)23:38
jimiscool23:38
spivjimis: I'm pretty sure most, maybe all, the core devs agree with you that we should do better for that case23:39
spivAnd there's been serious talk about switching to single-dir checkouts as the default way of working in a future release (i.e. integrating and polishing the bzr-colo plugin into the core, and then promoting its workflow to be more prominent than the current multi-dirs of branches in shared repo model)23:41
jimisvery interesting23:41
spivObviously we'd want to smooth out as many kinks as possible before doing that, including yours :)23:41
jimissingle-dir checkout of a no-trees branch is my current way23:41
jimisIt's the only usable way for huge branches like lp:gcc23:42
spivRight.23:42
jimisbut I've never used colo plugin23:42
jimisgenerally I tend to avoid installing extras23:42
spivbzr-colo is basically intended to make that a bit nicer to use23:42
kwmiebachHi. I have used "bzr fetch ..." from a launchpad repository. How can I switch to an earlier revision locally?23:53
kwmiebachLets say I am aat rev. 500 now and would ike to see rev 45023:54
spiv'bzr pull -r 450 .'  (the dot is significant, it says to pull from the branch in the current directory, which will be a bit faster than looking for that same revision on the remote branch)23:56
spivDepending on what you want to do,23:57
spiv'bzr update', 'bzr revert', 'bzr cat', or 'bzr qlog' (that one from the qbzr plugin) may be better suited to your needs though.23:57
kwmiebachspiv, thank you so much, couldnt find it in the docs.23:58
kwmiebachi will go and try now23:58

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