/srv/irclogs.ubuntu.com/2010/10/04/#bzr.txt

mwhudsonoh00:02
mwhudsoni guess my branch copying over vfs can screw this up00:02
mwhudsonjelmer: does bzr info -v on a locked branch tell you about the lock?00:03
jelmermwhudson: I'm not sure, I don't think t does00:04
jelmer*it00:04
peitschiehi... i was wondering if anyone might have the time to help me attempt to adapt https://code.launchpad.net/~spiv/bzr/chk-canonicalizer-613698/+merge/32294 to be targetable to specific revision set?  I have a repo that has been reconciled for all revisions bar 2 new ones which were accidentally checked in using a broken revision history... which is now sinking the shared repo again00:49
mkanatpeitschie: Do you think it would be a good idea to write a pre_change_branch_tip hook that rejects commits if they're going to do that to your repo?00:53
peitschiemkanat: it'd likely have been useful if I'd anticipated it :)00:54
mkanatpeitschie: Yeah. I just mean since you indicated in your email that this sort of thing happens all the time.00:54
peitschiemkanat: at this point though, reconciling and repairing the broken revs are my top priority00:54
mkanatpeitschie: Sure, I understand that. (I don't know much of anything about that area, though, so I can't help there.)00:54
peitschiemkanat: not all the time :)... just since the update00:54
mkanatpeitschie: Ah, okay. :-)00:56
=== Ursinha is now known as Ursinha-afk
vilahi all !07:21
mgzmorning vila!07:22
vilamgz: hey !07:22
mgzfirst, coffee, then I need to dump some of this bzr state I've been carrying in my head07:23
=== robbyoconnor is now known as robbyoconnorja
=== robbyoconnorja is now known as robbyoconnor
mgzvila: what's the right way to set an env var for the duration of a test only? I'm blanking...07:59
vilaset_or_unset something, let me check07:59
vilathe tests themselves are isolated so you don't have to restore it07:59
vilaif you use the right base class that is07:59
mgzI'm looking at that code, and it seems to isolate then reset certain env vars, but only those as far as I can tell08:00
vilaoh, hum, _captureVar does it. I'm not sure that's the right API to use or we should make it public maybe08:00
mgzlooks like TestCase._captureVar would do what I want, bar the underscore08:00
mgz...vilawins.08:01
vila:)08:01
viladefined in TestCase anyway, so you shouldn't be able to leak08:01
vilahmm, yeah, don't use _captureVar08:02
mgzcalling it more than once for the same value would be bad08:02
vilaor you risk retoring the bad value08:02
vilarestoring08:02
mgzin fact, I think it might already be broken on windows08:02
vilaosutils.set_or_unset_env is the one to use, may be not the best name though08:03
mgzas it's case insensitive and the override dict has values differing only by case08:03
vilaweeeell, don't do that then :)08:03
vilaI don't know of a case where differently cased vars are set to different values on *nix, but _cleanEnvironment already list FTP_PROXY and ftp_proxy and the like08:04
mgzright, that's a problem on windows08:05
mgzbecause the first one resets the value08:05
vilaonly for tests writers, but it may be wise to update the docstring then08:05
mgzthen the second one records that reset value as the right thing08:05
vilayes, that's the possible failure I was referring to08:06
mgzam I reasoning this thing right?08:06
mgzanyway, doesn't matter much, you'd need to be caring your proxy still worked after running selftest for it to matter08:06
vilabut only if you use _captureVar, not if you use set_or_unset08:06
vilanot if you set an unknown env var.... you need to update _cleanEnv to have it tracked :)08:07
mgzI'll think of some better way of spelling this, need to share the code with doctests anyway08:08
mgzbut... back to what I was doing08:08
vilamgz: Any thought on http://wiki.hudson-ci.org/display/HUDSON/testng-plugin (I know I shouldn't divert you :)08:14
mgzI know nothing about testng, so I'd need to find out more to have useful thoughts08:15
vilamgz: no hurry, I'll keep it on my radar, reporting skips sounds like a nice addition08:21
vilawell, not applicable even more08:21
vilathe idea was more about, if we can do that for skipped and not applicable tests, may be we can also report leaks this way08:22
vilamaxb: regarding bug #636930 what should be our next move ? None ?08:23
ubot5Launchpad bug 636930 in Launchpad Bazaar Integration "Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 7, heat: 64)" [High,Triaged] https://launchpad.net/bugs/63693008:23
mgzI think we have things to be fixing to get better results anyway08:23
mgzsee bug I'll be filing later when I get down my todo list a little further for instance08:24
vilamgz: I'll look08:24
=== timchen1` is now known as nasloc__
=== spike_ is now known as spikeWRK
maxbvila: Someone actually needs to produce test run logs of 2.2.1 on maverick, with each failure justified as occurring with 2.2.0-1 too09:20
vilamaxb: I see09:20
mgz...vila, does your new news script check the items are in the right slot? we have a bunch of mps up right now that'd merge but put their news under 2.3b109:22
vilamgz: fixed-in ? No, it doesn't do any check09:22
mgzdoes anyone?09:22
vilaI warned the PP after releasing 2.3b1...09:23
mgzthis is why I never write any news!09:23
mgzit's more trouble that it's worth :)09:23
vila:-P09:23
vilamgz: asking the RM to do that will be order of magnitude more trouble :)09:24
mgzokay, I think only roryy's news needs moving of the bits that I merged09:24
vilaat least fixed-in should make such errors more obvious09:25
mgzhaving some sensible means of doing the merge locally before handing off to pqm would also help09:25
vilamgz: you need to use pqm-submit for local merges09:32
mgzI remember you showing me that but don't actually remember how.09:33
vilamgz: which is what feed-pqm is using under the wood09:33
mgz...I think 'wood' is the wrong noun, but I now can't remember the right one.09:33
mgzhood.09:34
vila"bzr pqm-submit -m '(nick)message(Name)'" as feed-pqm add nick/Name09:34
mgzit's a car metaphor, not a furniture one09:34
vilahehe, hood, 3 letters right out of 4, I can even pretend it was a typo :)09:34
vilathanks for pointing this out :)09:35
mgz...just thought of a cunning manifest hack, and it appears to work11:23
mgzbundling a dll in each dir would be ridiculous, but can put in more than one manifest, doesn't even seem to matter much what they contain11:26
vilamgz: the last assumption sounds suspicious...11:32
vilamgz: 'what they contain' sounds like you may be finding an irrelevant (even if correct) dll already loaded no ?11:33
mgzyeah, don't really want to deploy it without some grounding in fact11:36
mgzhm, maybe it matters a bit more thant I thought, does seem to want the ..\11:40
vilahehe, funny how we tend to come here with vague beliefs to get them refuted ;)11:41
vilawhich is a Good Thing :)11:42
mgzwell, it's not the actual location of the dll, but it's close enough apparently11:42
vilayeah for DWIM paths: look there or close enough11:43
vilabbiab11:45
zygahow can I change the default log format for all commands that use log somehow? Do I need to add lots of alias commands?12:07
Glenjaminwhat commands use log?12:08
zygaGlenjamin, for example bzr missing12:09
zygaI'd like missing to use git log format12:09
Glenjamini suspect the "easiest" way to do this would be a plugin12:10
zyga!12:10
zygano configuration for such a preference?12:10
Glenjaminah, i was incorrect12:18
Glenjamin"bzr help log-formats" indicates there is a preference12:19
Glenjaminzyga: ^^12:19
* zyga checks12:20
zygaGlenjamin, thank you that's exactly what I was looking for12:20
vilabialix, GaryvdM: ping, I see you don't add a '-1' in the windows installer names, is that deliberate ? Do you add it only if you need to build a new one ?14:42
=== zyga is now known as zyga-afk
jammorning all15:41
jamhi vila15:41
vilajam: hey !15:41
jammtaylor: still having the "missing inventories" problem?15:46
jamvila: I'm trying to figure out how we generated 450 bug emails since last wed. It has been like 100 emails per day...16:01
vilajam: huh, really ?16:05
jamyep16:05
jamat least in my inbox16:05
jamit may be qbzr, etc16:05
vilaha, right, if I look at my bzr-bugs box, 450 goes back to sept 2216:06
=== deryck is now known as deryck[lunch]
mgzI have three more bugs to add to jam's mountain today as well16:42
=== zyga-afk is now known as zyga
mgzjust working out the last one now16:42
mgzlooks easy like the first rather than horrid like the second16:43
=== Ursinha-afk is now known as Ursinha
=== deryck[lunch] is now known as deryck
immyhii.18:15
immywhy isn't anyone talking. :(18:15
dashimmy: did you have a question? :)18:16
immyyes. :) what is this chtroom for. :)18:16
dashimmy: http://bazaar-vcs.org/18:17
dashimmy: a version control tool, mostly used by programmers. :)18:17
immyoh right.18:18
immycool!18:18
immywhy is it used?18:18
dashimmy: did you ever save a file you were working on, then realize you deleted or changed some things you wanted to keep?18:19
dashimmy: bzr is a tool for remembering all the older versions of your files in a project18:19
dashso you can look at its entire history, from the beginning up to now18:20
immyohhh i see.18:20
immycool!18:20
dashfor text files it can also show you the differences between different versions18:21
dashand if you have a project that multiple people work on, it can merge together work done on different versions to make a combined version18:21
rubbsimmy: http://betterexplained.com/articles/a-visual-guide-to-version-control/  and http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/ can explain about what this does on a more "zoomed out" level18:21
dashthe Ubuntu project uses bzr a lot as a tool to help programmers around the world cooperate on the same projects18:22
mgzso, version control is cool and all, but where are the cute guys?18:25
viladash, rubbs, mgz : He's gone...18:26
dashalas.18:26
mgzah, here's one.18:26
rubbsvila: opps. that's what I get for ignoring quits...18:26
dashi thought we had a new user ;)18:26
mgzwow, that's a pretty crazy traceback in bug 65468418:28
ubot5Launchpad bug 654684 in Bazaar "exceptions.KeyError: 'port' when doing Branch (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/65468418:28
vilamgz: geez, that was fixed long ago...18:30
mgzhe says he tried 2.2.1 which suggests otherwise18:32
vilaweird, looks like bug #39571418:32
ubot5Launchpad bug 395714 in Bazaar "Redirect to location protected by HTTP auth fails (affected: 1, heat: 0)" [Medium,Fix released] https://launchpad.net/bugs/39571418:33
mgzthe subprocess branch location is pretty unlikely, I doubt he's even trying to use http18:33
mgzso there's probably a qbzr or explorer bug there as well18:33
vilamgz: don't forget it's bencoded ?18:34
mgzah, yeah.18:35
mgzhe does say "local branch" but that could mean over the lan or something18:35
vilahmm, checkout with http will not allow commits either or is it different with svn ?18:38
dashvila: svn can do commits via http.18:38
vilaanyway, jelmer will kill me still haven't implemented OPTIONS in our http transports :-/18:38
vilakill me for18:38
mgzon the topic of svn, I need some user support...18:39
viladash: ha right, thanks18:39
mgztried to do `svn update -r 78554 a_file` on the python 2.7 maint branch, which used to be python trunk, and it deleted the file rather than change it to an old version18:40
mgzpresumably because the rev predated the name change which confused something?18:40
mgzwhat keywords can I use to find a fix for that, everything's too generic.18:41
lifelessmgz: 'svn UI doing as designed' ?19:26
mgzlifeless: how do I get the old rev then? switch then update -r worked but switch is a big hammer.19:40
fullermdImport into bzr, then...    ;)19:46
mgzheh.19:47
maxbmgz: As far as svn's concerned, a switch operation is strictly a superset of an update operation. Thus, you can switch -r20:55
maxband on that note, /me afks20:56
=== Meths_ is now known as Meths
git__anyone know what "PointlessCommit(No changes to commit)" mean?21:30
dashit means you tried to do a commit with no changes in it21:30
git__i made change to the file but still get the error message21:31
git__is there a limit how many directories bzr can traverse?21:31
dashgit__: what does 'bzr status your/file/name' say?21:31
dashno21:31
git__doesn't say anything21:32
dashgit__: then the file is unchanged.21:33
git__let me change the file now, and do bzr status [filename]21:33
mgzor unversioned.21:33
mgzdo `bzr add yourfile`?21:34
dashmgz: it'd say "unknown" if it wasn't added21:34
git__even after changing the file, i did bzr status [filename], nothing return21:34
mgznot if it's in the ignore list I think.21:35
dashmgz: oh true21:35
dashgit__: what's the filename21:35
git__category.tpl21:35
git__every files in the directory have that problem21:35
dashhmm well that won't be in the default ignore list21:35
mgzwhat's the directory name? :)21:36
git__product21:36
mgzokay, that's not very ignorable either21:36
git__I use bazaar explorer, it works21:43
=== wilx is now known as w-ilx
=== w-ilx is now known as wilx
gmpffhi21:57
git__is there any plan for bzr to support image differential?22:23
git__i like bzr upload feature, that's the coolest22:23
dashgit__: you can use any diff program you like with bzr22:23
=== jam changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | Release Manager: vila | bzr-2.0.6, 2.1.3 and 2.3b1 are official | work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/
jam\o/ I finally dug myself out of 450 bug mail message backlog. The big offender was james_w with his udd spam. (Not that those aren't worthy, but it generated a *huge* amount of emails over the week(end))22:37
jamgit__: "image differential"? I believe qbzr already supports showing images side-by-side when seeing them in a diff22:38
jam(bzr qdiff, IIRC)22:38
james_wjam: yeah, sorry about that22:41
jamjames_w: I just responded to your history email, I think you might be wrong about the analysis, but I could have messed something up myself.23:01
jamI have to go now, but I'll try to follow up tomorrow.23:01
james_wjam: thanks, I'll take a look23:02
jmlmgz: I promise, soon, I will review your branches.23:31
jmlmgz: thank you for them23:31
mgzha, do that then I just make you review more23:31
mgz(they all kinda need input rather than rubber stamping, so I don't mind you taking a while)23:32
mgzo, while I have you though, is it easy to give me triage rights on testtools?23:33
mgzI've filed a few things and then can't prio them.23:35
jmlmgz: uhh, probably... I've made a note & will fix it if I can.23:35
mgzit's a niggle only.23:36
jmlmgz: don't get me started on niggles23:39
jmlanyway, must retire. g'night.23:39
mgznight!23:39
pooliehi jml, mgz, good night23:44
mgzhey poolie.23:45

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