/srv/irclogs.ubuntu.com/2010/08/16/#bzr.txt

mgzand the second is mostly a niggle:00:00
mgzif you look at testtools.testcase.TestCase.expectFailure, do you see any way *not* to create a cycle there?00:00
* mgz heads back up a bit and branches lp:python-fixtures to look at it00:03
lifelessmgz: whats the cycle on? the frame contents ?00:05
lifelesstry: raise _ExpectedFailure(exc_info) finally: del exc_info  again ?00:06
mgzyup, puts exc_info in the exception instance it's rerasing00:06
mgz^right, that's not good enough in this case because the reraise keeps the original traceback frames alive00:07
mgzthat plus _ExpectedFailure((exc_info[0], exc_info[1], None)) works,00:08
lifelessmangle the frames ?00:08
mgzthat's what I'd like, I'm not sure how though.00:09
lifeless'stabbity stabbity'00:09
mgzeheheh00:10
mgzI'll put up my testtools changes as well now (which are basically just that try/finally/del in a few places)00:11
mgzbut that method stumped me.00:11
lifelessmgz: I'll look in more detail a little layer00:40
mgzpython-fixtures looks shiny. I'd like to see some harder examples of things like how it'd work with testresources though.00:41
mgz^lifeless: that'd be great.00:42
lifelessso I plan to write a decorator for testresources00:42
lifelessand deprecate testresources internal fixture-like api00:42
lifelessso a resource becomes ReferenceCounter(fixture)00:42
lifeless[roughly, mumble]00:43
mgz:)00:43
lifelesspossibly even auto-do that00:43
mgzbed for me now. have guests staying and it might be considered impolite to hack late.00:44
mgzI'll try and tie up the remaining loose en...cycles this week.00:45
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
lifelessmgz: cool! ciao00:54
m3gapoolie: any idea how i might recover from that problem i had on friday?02:15
m3ga'morning btw :-)02:15
m3gapoolie: don't worry about it, i managed to branch last_rev - 102:38
pooliehi m3ga, that's just what i would have suggested03:46
pooliei think i said it on the bug03:47
=== r0bby is now known as robbyoconnor
spivThe divergence of the various stable branches vs. trunk was bugging me so I'm merging them up, but 2.1->2.2 is failing the trivial merge because the test for bug 192859 seems to be tripping over some sort of change in conflict handling in 2.2.06:44
ubot5Launchpad bug 192859 in Bazaar 2.2 "AttributeError on parent.children in add when adding a symlink (affected: 4, heat: 78)" [High,In progress] https://launchpad.net/bugs/19285906:44
spivAh, WorkingTree.list_files seems to need a similar fix.06:52
pooliehi spiv07:02
cisshi, i want to temporarily version a directory that contains sub directories already versioned by svn. if i call "add", only one directory gets added (the only one not versioned by svn). if i then call "add a_versioned_directory", bzr imports the svn revisions. how can i prevent that without deleting the svn metadata?09:35
fullermdDisable bzr-svn?09:35
fullermd(via uninstalling it, or moving it aside, or use of --no-plugins, etc, depending on how drastic you care to be)09:36
cissi have installed bazaar using the osx installer. where can i find the plugin directory?09:42
fullermdNo idea.09:45
fullermdBut you can use --no-plugins at any rate.09:45
ciss--no-plugins gave me a key error (?) when bazaar encountered a file name containing umlauts09:45
cissi found the directory09:45
fullermdThat's...   interesting.09:46
fullermdI know that OS X does some interesting things with character encoding.  Maybe there's a special plugin included with the installer to deal with that...09:46
cisserror and traceback: http://pastebin.com/xi2ySRAG09:49
cisso-kay ... this is not caused by --no-plugins09:51
cissi moved the svn plugin, added again - same error09:51
cissfound an explanation and a workaround: https://lists.ubuntu.com/archives/bazaar/2007q2/024773.html09:54
cissso much for the "init --knit" workaround ...09:55
fullermdWithout the svn plugin, I can't imagine how or why bzr would be doing anything with svn revs.09:56
fullermdYou'll probably have to wait 'till jelmer is up and about.09:56
cissthis has nothing to do with the svn plugin. it's about how osx handles encoding of umlauts in file names09:56
fullermdOh.  Yeah, that's its own little thing.09:57
lifelessNKD whatever10:00
fullermdI thought we'd handled all that in recent versions though.10:01
cisshm ... only umlauts in directory names seem to be a problem. file names containing umlauts are added without any errors10:08
fullermdAIUI, it's not so much the presence of any particular character, but rather that OS X does normalization of the file names.10:09
fullermdSo if you write a particular file name, then scan the directory, the sequence of bytes defining the file name will be different.10:09
fullermd(there being several ways you can encode various characters in Unicode)10:09
lifelessciss: ok, so a bug in a particular code path - please do file a bug10:09
cisslifeless, could you do that for me? i don't have a launchpad account and don't feel like registering just for a bug report10:11
cissagain, the stack trace: http://pastebin.com/xi2ySRAG10:11
cisssystem is osx 10.5.8, using the 2.2 stable installer for osx leopard (python 2.5)10:12
lifelessciss: if we don't have a reproducable test, we need to be able to contact you to work through the details until we do.10:14
lifelessso I can file a bug saying you reported the issue, but IME that means we'll eventually close it saying 'cannot reproduce or contact the reporter', which is unsatisfactory.10:14
cissok, i'll file one myself. might take a while though til i get to it10:15
sabdflhi folks10:59
sabdflhttp://overbenny.wordpress.com/2010/08/16/daily-builds-rock-but-bzr-imports-suck/ anybody want to lend him a hand?11:00
sabdflare those import problems known issues?11:00
jelmerhi sabdfl11:03
jelmersabdfl: Yes, unfortunately. The Audacious and Eclipse ones might not be too hard to fix. The Git submodules ones are harder, since they require nested tree support in bzr.11:04
sabdflthanks jelmer11:09
=== jelmer_ is now known as jelmer
poolieyeah, i think we should try to do them soon13:01
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann-sick
=== Ursinha is now known as Ursinha-brb
knittlhi. i tried to import an svn repository into bzr, but it crashes with a unicodedecodeerror17:36
jelmerknittl, hi17:37
jelmerknittl, can you paste the traceback?17:37
knittljust a sec17:38
knittlhttp://paste2.org/p/95262817:38
* jelmer tries to reproduce17:45
knittlit was only in rev 1600-something17:45
=== Ursinha-brb is now known as Ursinha
jelmerknittl: fixed in bzr-svn trunk18:11
knittlthat was fast18:11
knittlwhere's the trunk located?18:11
jelmerlp:bzr-svn18:12
knittljelmer: thx18:12
knittljelmer: it crashed again. i did bzr co lp:bzr-svn; cd bzr-svn; sudo python setup.py install18:22
jelmerknittl: how did it crash exactly?18:25
jelmerknittl: Are you sure it's using the bzr-svn you just installed?18:25
knittljelmer: how can i check/select it?18:25
jelmer(bzr plugins -v will tell you, it should say "1.0.4dev")18:25
knittlit crashed the same way18:25
knittlhm no. 1.0.318:25
knittlhow can i activate the dev version?18:25
jelmerMove the checkout of lp:bzr-svn to ~/.bazaar/plugins/svn18:26
knittli created a symlink ;) shows now the correct version. now for try 318:27
knittlbut shouldn't running setup.py install correctly set it up?18:27
jelmerknittl: Not necessarily; it picks up the first version of bzr-svn it finds18:28
jelmeryou already have a system-installed bzr-svn18:28
knittlok18:28
marienzI don't think "sudo python setup.py install" is a good idea on a package-managed system (for any python package)18:29
marienzif there's an already-installed package-managed version it'll either overwrite it (which may not work reliably if files moved or were removed) or it might install to a different directory (and the newer version might not actually be importable)18:30
knittlusually there's usr/local for that18:31
jelmerknittl, anyway, I'm off. If you can still reproduce the issue even with 1.0.4dev, please file a bug or drop me an email (jelmer at samba.dot org)18:40
knittljelmer: it did work before. but i accidentally deleted the real folder instead of the backup :x18:41
knittlbut i should get i t to work now18:41
knittlbzr: ERROR: The branch https://svn.neo-layout.org has no revision None.18:41
jmlI wish WorkingTree, Branch and Repository had consistent attribute names for the base directory.18:41
jmlI'd like to make a working tree that has another branch (tree?) merged into it, in order to test a script I'm writing. How would I do that most easily using bzrlib?18:50
knittlah man. why do i use clone instead of svn-import? *facepalm*18:57
lvhHi. In a repo with a bunch of branches, is there a bzr command I should be using instead of just rm -r for branches I no longer want to keep?20:01
marienzthere's some plugin that kills unreachable revisions from the repo20:02
LeoNerdJust killing the branch won't recover much disk space, if it's a shared repo. It also wno't make the actual revisions not present any more20:03
lvhLeoNerd: I understand both of those things20:03
lvhI just dislike having a few hundred branches lying around, 99% I don't care about20:04
lvh(Mostly because they were introduced to fix a bug)20:04
marienzunfortunately I cannot find it20:04
marienzif you don't mind stale revisions still taking up some space and being recoverable if you can find their id "rm" is fine20:04
lvhThey're mirrored somewhere else anyway20:05
marienzand if all those branches were merged there's nothing extra to remove20:05
lvhI was just hoping there was a bzr command that could prune a branch and get rid of the repo junk20:05
marienzremove-revisions might be it20:05
marienzbut I thought there was some other thing20:05
marienzperhaps it's part of bzrtools20:06
lvhmeh, it's not a big thing, I'll just rm them20:06
lvhonce in a while: bzr init-repo foo & get trunk from lp :)20:06
fullermdIt's probably called gc or something.  I don't think it ever got any significant distance past PoC.20:07
lvhfullermd: admittedly since the majority of those branches got merged it's not a big difference20:07
marienzyeah20:07
marienzit's only a hassle if you have a significant amount of changes that didn't get merged, or if there's something scary in those unmerged changes that you want gone from the repo20:07
lvh<- not stalin20:10
lvhI don't edit pictures or repositories for mistakes ;-)20:10
fullermdWell, it's an important thing to do in nuclear* situations.20:12
fullermdBut there are plenty of conventional situations where it's more a desire than a requirement  ;p20:12
rubbsyeah, a friend of mine had to do some repo editing when his company gave him the go-ahead to open source a log analysis tool he created. Problem was he had it in the same svn repo as some of their private internal stuff. He had to manually pick out the history so he could publish it out.20:27
SpookyETHello. Scratching my head. Is it possible to colour bzr output like hg and git?21:20
SpookyETEither through a configuration file or plugin.21:20
GaryvdMSpookyET: Which command? diff?21:25
SpookyETGaryvdM: Everything: status, diff, log, etc.21:25
GaryvdMSpookyET: There is a cdiff command from the bzrtools plugin, which you can alias to diff21:28
GaryvdMbzr shelve has color by default21:28
GaryvdMbut I don't think anything else has color.21:28
* GaryvdM checks if there is a bug loged21:28
GaryvdM*logged21:28
GaryvdMSpookyET: Bug 59762621:33
ubot5Launchpad bug 597626 in Bazaar "bzrlib should support color (affected: 1, heat: 4)" [Wishlist,Confirmed] https://launchpad.net/bugs/59762621:33
SpookyETThank you.21:33
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
pooliegood morning GaryvdM, all22:33
GaryvdMHi poolie.22:33

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