/srv/irclogs.ubuntu.com/2007/09/13/#bzr.txt

lifelessradix: you can't unmerge12:08
lifelessradix: you need to commit the reverse change; then later use a reverse-merge of your commit that reversed it out12:08
lifelesshsn_: cscvs should be able to convert for you in that case12:09
=== jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr
radixI think I just figured out how to do it12:09
=== cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr
radixlifeless: what I did was: cd $TRUNK; bzr merge -r 430..429 .; bzr commit -m "unmerge $CRAPPY_BRANCH"; cd $CRAPPY_BRANCH; bzr merge $TRUNK; bzr revert *; bzr commit -m "HACK commit: merge unmerge without textual changes"12:11
radixlifeless: now $CRAPPY_BRANCH is mergeable to trunk again12:11
radix(making sure that $CRAPPY_BRANCH and $TRUNK were both up-to-date with other unrelated $TRUNK changes first)12:12
radixlifeless: is that how you would've done it?12:14
radix(I'm not sure if that's what you meant by "reverse-merge"12:14
abentleylifeless: pong12:19
hsn_lifeless: you are talking about this? http://www.gnuarch.org/gnuarchwiki/cscvs12:21
abentleyradix: "bzr merge -r 430..429 ." is an example of "reverse merge".12:22
radixah, ok12:22
radixso yeah, that's the obvious thing: it's the "merge *that* reverse merge, and then revert the textual changes" that's the tricky bit12:23
lifelessradix: thats close enough12:25
=== Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr
lifelessabentley: hi, tree-reference's always have a reference-revision, its never NULL right ?12:26
lifelesserm None12:26
lifeless(at inventory serialisation)12:26
lifelesshsn_: no, http://launchpad.net/cscvs12:26
abentleyYes.12:26
lifelessgood; I've just grabbed another 10-15% on xml serialisation12:26
lifelessI gambled I had it right :)12:27
abentleyIt should be the value of the contained tree's last_revision.12:27
lifelessI've made the serialiser aware of what attributes each kind should have12:27
lifelessso it now requires that field to be non-none on tree-reference kinds, and ignores it otherwise.12:27
abentleySounds good.12:29
lifelessunfortunately my time looking into that was a little wasted as there is only a second total to win there12:29
lifelessso I grabbed something like 100ms if I merge it into the pack branch; worth it but not big12:30
hsn_bzr get http://bazaar.launchpad.net/~launchpad/launchpad-cscvs/rocketfuel fails with bzr: ERROR: bzrlib.errors.KnitHeaderError: Knit header error: '\x1f\x8b\x08\x...12:34
pooliehello12:34
pooliehsn_, is that a public branch?12:35
lifelesspoolie: yes12:35
lifelesspoolie: we open sourced our cscvs changes12:35
abentleylifeless: well, blow me down.  I thought I'd never see the day.12:38
radixdidn't that happen like half a year ago?12:40
lifelessyes12:40
lifelessabentley: about 12 months ago IIRC12:40
radixwelcome to 2007 guys ;-)12:40
=== luisbg [n=d33p@26.144.217.87.dynamic.jazztel.es] has joined #bzr
luisbgUnlockableTransport: Cannot lock: transport is read only: <bzrlib.transport.http._urllib.HttpTransport_urllib ...12:43
luisbgwhy? and why in a commit?12:43
pooliebecause you're trying to commit to an http branch12:43
poolieyou may have used checkout when you wanted to use 'branch'12:43
lifelessluisbg: when you checkout, bzr commit pushes the results back to the place you checked out - like svn/cvs12:45
lifelessluisbg: but http is readonly, so it fails. You can either bind to a writable url, if working like svn is what you wanted, or you can unbind to give yourself a stand alone branch, which will operate independently of the source branch12:46
luisbgpoolie, you are correct... I did the mistake of checking out and not branch :S12:46
luisbghow do I fix this withour erasing and branching?12:47
pooliei think just saying 'bzr unbind' in that directory will do it12:47
luisbglifeless, how do I unbind?12:47
luisbgahhh cool12:47
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr
NfNitLoopHmm.   Tried to check branch a bzr-svn repo onto a windows box, and got an error:12:57
NfNitLoopbzr: ERROR: File exists: u'<shared-repo>/.bzr/repository/knits/c1': [Error 183]  Cannot create a file when that file already exists12:57
NfNitLoops/check branch/branch/12:57
lifelesshmm, why does osutils.split_lines exist, isn't s.splitlines(True) the same ?12:58
=== herzel [i=herzel@gateway/tor/x-3c3eceee75062418] has joined #bzr
lifelessNfNitLoop: is c1 a file or directory?12:58
=== igc [n=igc@ppp59-167-96-213.lns3.bne1.internode.on.net] has joined #bzr
igcmorning all12:59
lifelesshi12:59
abentleylifeless: No.01:02
abentleys.splitlines() will also split on \r or01:02
abentley\r\n01:02
=== thumper [n=tim@125-236-193-95.adsl.xtra.co.nz] has joined #bzr
lifelessabentley: ah thanks. we should note that01:03
lifelessoh, and01:04
lifeless0.92: first post!01:04
abentleyIt is precisely this issue that made me uncomfortable with your recent patch.01:04
lifelessme too :(01:04
abentleyBecause people don't tend to realize that.01:04
abentleyI think the final patch handled it pretty well, though.01:05
=== johnlr2 [n=johnlr@203-206-162-97.perm.iinet.net.au] has joined #bzr
lifelesscool01:07
=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr
NfNitLooplifeless: a directory.01:14
lifelessNfNitLoop: thats strange then01:15
lifelessNfNitLoop: perhaps the exception raised by python has changed, wasn't alexander mentioning something like that last week ?01:15
lifeless(we expect mkdir to fail when the dir is already made so we catch an exception there)01:16
NfNitLoopNfNitLoop: Not that I recall... but I only vaguely keep watch in here.01:16
lifelessNfNitLoop: what version of python do you have ?01:31
NfNitLoop2.5.101:31
lifelesscan you try with 2.5.0 ?01:31
luisbgpoolie, and lifeless, thanks a lot =)01:31
NfNitLooplifeless: Hmmm.    I guess so... I can install it in its own directory, right?01:32
lifelessI think so01:32
=== NfNitLoop tries.
NfNitLoopdownloading.  lallaa.01:35
NfNitLoopI'm looking forward to svn 1.5 when the python bindings will be fixed across all platforms. :p01:36
NfNitLoopI'm not going to build my own on my windows box.01:36
NfNitLoopSo until then I'm (trying) branching off of my linux box to the windows one.  all commits back to svn will have to go back through the linux box.01:37
NfNitLoopa bit of a pain, but it's still awesome that that's a viable workflow.  :)01:38
=== jml [n=jml@ppp108-61.static.internode.on.net] has joined #bzr
lifelessspiv: is chain C or python ?01:44
NfNitLooplifeless: same error with 2.5.001:47
NfNitLooplifeless: I've successfully done this from Linux -> OSX01:48
NfNitLoopI'm actually now doing it from OSX -> WinXP.  Since my mac laptop is handily located next to my computer here. :)01:48
spivlifeless: chain?01:48
NfNitLoopso it seems a windows-specific issue.01:49
spivlifeless: you mean functools.partial?01:49
NfNitLoopwhere does .bzr.log go in WIndows?01:50
lifelessNfNitLoop: bzr version will tell you01:53
lifelessspiv: itertools.chain01:53
lifelessNfNitLoop: please file a bug01:53
lifelessNfNitLoop: you can work around by copying the .bzr directory by hand01:53
spivlifeless: everything in itertools in CPython is implemented in C.01:53
lifelessspiv: thanks01:53
=== cprov is now known as cprov-ZzZ
=== bogdano [n=bogdano@201-40-202-24.ctame704.dsl.brasiltelecom.net.br] has joined #bzr
=== bogdano [n=bogdano@201-40-202-24.ctame704.dsl.brasiltelecom.net.br] has left #bzr []
UbotuNew bug: #139253 in bzr "bzr branch fails with "File exists" error." [Undecided,New]  https://launchpad.net/bugs/13925302:16
=== Admiral_Chicago [n=FreddyM@ubuntu/member/admiral-chicago] has joined #bzr
UbotuNew bug: #133989 in bzr-svn "svn-import reports a File exists error (dup-of: 139253)" [Undecided,New]  https://launchpad.net/bugs/13398902:25
=== ion [n=ion@71-223-67-22.phnx.qwest.net] has joined #bzr
=== mw is now known as mw|out
=== NamNguyen [n=namnt@203.162.163.50] has joined #bzr
=== jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr
=== mneptok [n=mneptok@canonical/support/mneptok] has joined #bzr
AfCWould it be correct to say that Bazaar doesn't depend on RCS (as Git does) because Bazaar has more advanced (ok "different") algorithms for doing and presenting diffs?04:18
pooliereally, Git depends on RCS?!04:21
poolieit is correct anyhow04:21
pooliewe have a diff algorithm described by Bram Cohen as "by far the best" or something similar04:22
poolie(lunch)04:22
AfCpoolie: apparently the Debian package does. I seem to recall seeing that from the Git pages.04:25
AfCNeedless to say, I'm going to blog a one liner about that if I can verify my facts.04:25
UbotuNew bug: #139273 in bzr "test case leaves behind temporary log files" [Low,Triaged]  https://launchpad.net/bugs/13927304:25
AfCMaybe it's just the cogito UI that depends on it. Oh well.04:30
=== igc lunch
=== asabil [n=asabil@ti0035a340-0084.bb.online.no] has joined #bzr
jelmerthe GNOME DistributedSCM page says bzr is lacking guaranteed content history, is that true?04:41
lifelesswhat does that mean ?04:51
igcit means we don't look up revisions via SHAs I think04:52
lifelesswe have testaments, they can be signed04:53
jelmerI'm not quite sure what it means. Also talks about (disk?) corruptions in the repository and stuff04:54
=== pete__c_ [n=pete@032-463-246.area7.spcsdns.net] has joined #bzr
lifelessreally, is this imaginary or experienced ?04:54
asabiljelmer: I think the whole sha1 thing started with monotone04:55
asabilmonotone does heavy checking and verification on the changesets, and the consistensy of its sqlite database04:56
asabilthis can make some sense, because it allows you to know if you database is corrupted (for example after storing it for 5 years on an optical disk)04:57
=== herzel [i=herzel@gateway/tor/x-e27bba654c5c0914] has joined #bzr
lifelesswe have that04:58
lifelessfor content we know the sha04:58
jelmerlifeless: looks like somebody confused revids with checksums somewhere04:58
asabilit also allows to detect if someone was trying to do some funky stuff with a database (trying to corrupt it for example)04:58
lifelessfor the content of the tree we have a sha of that04:58
lifelessjelmer: is it a wiki page, can you correct it ?04:59
asabilyes it is a wiki page, I have been updating it recently04:59
asabil(I have to admit that there is a huge bias in that page toward git unfortunately :'( )05:00
jelmerlifeless: yeah, sure, I'll add a comment05:01
jelmerhey, I didn't know git was slower than both bzr and hg on windows...05:01
lifelessnot surprising05:01
lifelessgit is awful tuned in its design to what linux and ext3 do from everything I've read05:01
igcbtw, on Wikipedia, signed revision support is listed as 'partial' for Bazaar: see http://en.wikipedia.org/wiki/Comparison_of_revision_control_software#Features05:02
lifelesssomeone needs to write better verification support is all; not huge or hard05:02
lifelessasabil: are you a git advocate? or bzr?05:03
igcthis whole area was heavily pushed by Linus in his Google talk video as well05:03
asabillifeless: I bloody hate git05:03
lifeless:)05:03
=== orospakr [n=orospakr@CPE001a70d1de84-CM0019474a8676.cpe.net.cable.rogers.com] has joined #bzr
asabilI have been trying to keep the page unbiased, but there is too much hype around git05:04
asabilit's life a fashion thing05:04
lifeless:(05:04
jelmerlifeless: still, it's main design goal is speed and it's written in C so I'd expect it to be faster05:04
asabilI am really wondering if the FOSS community is turning into some fashion oriented community05:05
lifelessjelmer: C is not a panacea; I agree that their priorities are broken05:05
mneptokasabil: check out my new Yves Saint-Laurent wireless card!05:06
asabillol05:06
mneptokbinary blob drivers, though. they don't want to reveal the WPA subroutine code or the floral extracts they use. :/05:07
asabiloh05:08
asabillol05:08
mneptokyeah. "free as in cologne." :/05:09
asabiljelmer: I was the one putting that bzr is lacking revision verification05:10
igcasabil,jelmer,lifeless: there aren't a lot of responses (~100) but I'm a little surprised by the results to date of the Bazaar user survey: http://www.surveymonkey.com/sr.aspx?sm=FDeDsLzaZ0AKNEATuA0QklWayMZKGfHcrP1U4V55jAY%3d05:10
asabilI removed it now05:10
lifelessasabil: so we have shas from the revisions down; we have a canonical form that gets signed called a testament05:10
jelmerasabil: cool, thanks05:10
igcneither Git nor Hg are as liked as much as Subversion by Bazaar users05:11
lifelessasabil: revision ids are not shas because that forces history rewriting if you want partial conversions to be interoperable (e.g. its fugly)05:11
jelmerlifeless: Writing in C may not necessarily make something faster, but writing things on a lower level usually makes it easier to optimize05:11
jelmer(no conversion for bindings involved, no byte-compilation, etc)05:11
lifelessjelmer: I find the reverse :)05:11
igcdespite that fact that "distributed" is a major reason for choosing Bazaar05:11
lifelessjelmer: After one accounts for the baseline speed difference, I find it easier to make something in python twice as fast as to make something in C twice as fasst05:12
lifelessigc: this is something to put on the Gnome vcs page I think05:12
lifelessasabil: ^ jelmer: ^05:12
mneptokigc: "What I basically want is the exact same thing, but completely different? Can you do that?"05:12
lifelessmneptok: "Yes"05:12
mneptok*bounce*05:12
asabillifeless: http://live.gnome.org/DistributedSCM05:12
asabilyou can read and suggest updates05:13
lifelessasabil: I'm going to let others do that05:13
lifelessright now I'm fighting the key performance battle that currently we're whipped at05:13
asabillifeless: yeah I can do it, just give me some feedback05:13
asabiligc: lol, I am the only one who voted that I know monotone the best :D05:13
=== mneptok is also not going to update that page for political reasoens
mneptok-e05:13
asabil:)05:14
jelmerI'm only adding comments, won't change any actual data..05:14
jelmerigc: I'm surprised at the amount of Windows users05:14
igcjelmer: yes, there are quite a few surprising results in there05:15
lifelesswhat, less users than you expected?05:16
lifelessWe decided windows was strategic way back05:17
jelmerlifeless: I always tend to write faster code in C if I write it twice in both Python and C05:17
jelmerlifeless: no, more05:17
jelmerlifeless: 39% (out of 95 people)05:17
jelmer(people can select multiple os'es)05:18
lifelessthat feels right to me05:18
jelmerbeats everything but ubuntu05:19
=== jdub_ [n=jdub@home.waugh.id.au] has joined #bzr
=== jdub_ is now known as jdub
=== jdub [n=jdub@home.waugh.id.au] has left #bzr []
lifelessigc: call ?05:31
igcsure05:32
igcone minute05:32
=== jml [n=jml@dsl-210-15-197-192-static.TAS.netspace.net.au] has joined #bzr
=== jml [n=jml@dsl-210-15-197-192-static.TAS.netspace.net.au] has joined #bzr
=== Stevage [n=chatzill@mail.pfxcorp.com] has joined #bzr
lifelessigc: split_lines on inventory is 100msec06:13
=== lifeless goes to fix
StevageQuestion: if you rename a versioned subdirectory manually (eg, "ren foo bar" in windows), is bzr supposed to detect that and do something appropriate?06:14
lifelessStevage: no, but 'bzr rename --after foo bar' should tell bzr about it for you06:16
lifelessStevage: I think if you have the bzr tortoise plugin I'd expect bzr to be told, or something appropriate06:17
Stevagecool. the documentanio for 'commit' is a bit misleading then06:17
Stevagethere's a bzr tortoise plugin??06:17
Stevagecool :)06:17
lifelessStevage: hmm, can you point at the misleading bit ?06:18
Stevagehttp://doc.bazaar-vcs.org/latest/en/user-reference/bzr_man.html#commit06:18
Stevagethe example at the end of that06:18
StevageIt says "In the example above, the last commit will fail by design. This gives the user the opportunity to decide whether they want to commit the rename at the same time, separately first, or not at all."06:18
StevageI took that to mean bzr will detect the rename and commit it.06:19
Stevagebut actually all that happens is it detects a deletion and an unknown file.06:19
lifelesswell06:19
lifelessif you look at the example 'bzr mv' is used to do the rena,e06:19
Stevageoh!06:19
Stevageyeah oops you're right06:19
Stevagethought it was just mv06:19
lifeless":)06:19
StevageI still don't get this text from the front page though:06:20
StevageFor that reason, Bazaar is specifically engineered to be as tolerant of user decisions as possible, and to allow ANY operation on your code tree that is possible using UNIX and Windows filesystems. As a primary example, Bazaar is extremely tolerant of renames of directories and files, even when multiple different contributors are renaming files and directories differently in their branches,...06:20
Stevage...and then merging from one another.06:20
Stevagethat was what originally got me thinking that somehow you could just rename files at will and it would detect it06:21
=== herzel44 [i=herzel@gateway/tor/x-eda7ff93aea44110] has joined #bzr
lifelessStevage: ah06:29
lifelessStevage: what we mean is 'when two users of bazaar perform renames [using bazaar]  in separate branches, we try very hard to Do The Right Thing'06:30
lifelesswhat you are trying to do, we are also tolerant of, but we clearly don't /know/ whats happened if you don't tell bzr about it. We can guess, but that generally gives worse results06:30
=== beuno [n=beuno@201-213-169-167.net.prima.net.ar] has joined #bzr
Stevageyeah, I guess I was just confused by the references to unix/windows filesystems, followed immediately by [Bazaar]  renames.06:43
Stevageit's all good.06:44
Stevageis there a way to commit with a date other than today's? (other than changing the system clock...)06:49
poolieStevage, there is at the api level, i don't know if it's exposed on the cli06:50
poolierather i think it's not06:51
poolieit would be a trivial addition06:51
Stevagehmm06:51
StevageI'm trying to do a quick and dirty repository migration here06:51
Stevagemight be easier to just set the system clock, but that can have ugly side effects06:51
pooliethat doesn't sound like a really great idea...06:53
Stevageyeah I know :/06:53
Stevagewhat do I need to compile/build bzr on winxp?06:53
poolieif you just want to modify the python source you only need python06:54
poolieif you want to build the binarios, see http://bazaar-vcs.org/Win32ReleaseChecklist06:55
poolieor rather http://bazaar-vcs.org/BzrWin32Installer06:55
lifelessStevage: what format are you trying to convert from ?06:55
Stevagefrom this ancient system called TLIB06:55
lifelessoh wow, ok06:55
lifelessin python06:55
lifelessif you do 'import bzrlib.workingtree'06:56
lifelesstree = bzrlib.workingtree.WorkingTree.open('path')06:56
Stevagepoolie: what do you mean by building binaries? if I'm just rebuilding it for my own purposes, what will I need?06:56
lifelesstree.commit(message=... )06:56
Stevagesadly I don't know python at all (yet)06:56
lifelessthere are parameters (pydoc bzrlib.commit.Commit lists them all)06:56
poolieStevage, just python will do, there is no compilation step06:56
Stevageso the python dll that came with bzr is sufficient?06:57
lifelesspoolie: well, there is an optional one ;)06:57
Stevageor is there an interpreter?06:57
poolieyes, there's an interpreter06:57
pooliei should have said, there's no mandatory compilation step06:57
poolieif you run the command 'python'06:57
Stevagebut if i want to be able to run 'bzr commit' etc from the commandline I'll need to compile?06:57
poolieno06:58
pooliedo you have bzr installed from a package at present?06:58
Stevagethis is xp06:58
pooliei mean, from one of the windows installers06:58
Stevageyeah06:58
lifelesslater all07:03
Stevageok, so now that I have python installed, how do I compile/interpret bzr?07:15
=== g0ph3r [n=g0ph3r@p57A0B24A.dip0.t-ipconnect.de] has joined #bzr
Stevagecan anyone help me get started running bzr from source on winxp?07:49
beunoStevage, I believe now you just have to execute the "bzr" in the folder where the source is07:51
Stevagecome to think of it I don't think I actually have the source07:52
StevageI have /lib and /doc but no /source or anything07:53
beunoStevage, were did you download it from?07:53
Stevagebazaar-vcs.org, the 'windows standalone installer' link07:53
abentleySteveA: You should have 'bzrlib', not 'lib'.07:53
Stevageit's called lib for me07:53
Stevagein lib there are some .pyd's, a .zip and a .dll07:54
abentleyIt doesn't sound like you're taking the run-from-source steps.07:54
=== jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr
spivThe standalone installer doesn't install the source AFAIK.07:54
beunoStevage, if memory serves me right, you should be able to fire up a command line prompt and execute "bzr", you should know it's a command-line program07:54
Stevageno, I wasn't - I originally downloaded the binaries. now I realise I need the source too.07:54
abentleyAll you need is the bzr tarball and python.07:55
Stevageyeah that's ok, I've had bzr running for a couple of days. it's just now that I want to modify the source...07:55
spivIt installs the compiled .pyc files bundled into a zip file I think.07:55
abentleyCompiling is an optional step-- it increases performance a bit.07:55
beunoStevage, then you should download http://bazaar-vcs.org/releases/src/bzr-0.90.tar.gz07:55
Stevageyeah just got that07:55
abentleyBut that's all compiling does.07:56
beunoStevage, then uncompress, edit, go into the folder and execute "bzr", that should be it07:56
beunoit doesn't need to be compiled to work07:56
beunoas abentley mentioned, all that does is speed things up a bit07:57
Stevageerm, I'm on windows here, that's not going to work07:57
Stevagebzr. is a shell script07:57
beunoStevage, it's a python script, it should run fine07:57
beunoif it doesn't, then try "python bzr"07:58
Stevageok that worked07:58
beuno:D07:59
Stevagethere should be a bzr.bat included, since that package is supposed to work on all platforms07:59
beunosurprising how much effort the bzr devs here put into multi-platform compatibility07:59
beunoStevage, it does, and a .bat would be windows-specific08:00
Stevageyeah but there's a "bzr." which is unix specific...?08:00
abentleyWell, that's bundled with windows installers.08:00
beunoStevage, nope, the tarball you downloaded is the same for all platforms08:00
Stevageyeah I know08:00
abentleySticking it in the main source tree wouldn't kill us, though.08:00
StevageI'm just saying, there's a unix shell script, but no windows batch file08:01
abentleyNo, there's no shell script.08:01
beunoStevage, there isn't a unix shell script, it's a python script08:01
abentleyThere's only a python script.08:01
abentleyThe .bat file is just a more convenient way of running that python script.08:01
Stevageheh, ok it's a python script that starts with #! /usr/bin/env python08:02
Stevagewhich is code understood by the unix platform but not by windows08:02
Stevagehence, "unix script"08:02
Stevageit doesn't matter anyway08:02
abentleyShell scripts start with #!/bin/sh08:02
beunobut you seemed to convince abentley to add the .bat in the main tree, so you made progress  ;)08:02
Stevagelol08:02
abentleyStevage: The last VCS I worked with started as a collection of shell scripts.  It wasn't pretty.08:03
Stevageok so where do I look to add a new command line argument?08:03
Stevageugh08:03
=== beuno steps down from this and heads to bed
Stevageyou should see what I'm migrating from, it considers directory trees an "advanced feature"08:04
beunog'night all08:04
abentleyYou would edit bzrlib/builtins.py and find cmd_commit.08:04
Stevageawesome08:07
Stevageif there's a .pyc should I delete it?08:07
Stevageor will it recompile itself automatically?08:07
abentleyIt will recompile automatically.08:08
Stevagehey awesome I added a new option and it worked :)08:10
Stevage(well, it doesn't do anything yet...)08:10
StevageUsage:   bzr commit [SELECTED...] 08:11
StevageOptions:08:11
Stevage  -h, --help            Show help message.08:11
Stevage...08:11
Stevage  --date=COMMITDATE     Commit as if it were this date.08:11
UbotuNew bug: #139247 in launchpad-bazaar "bzr+ssh:// cannot be used to branch" [Low,Invalid]  https://launchpad.net/bugs/13924708:15
=== hdima [n=hdima@idealer.cust.smartspb.net] has joined #bzr
Stevagewhere would I go to add the implementation of that option?08:18
Stevageoh, commit.py duh :)08:19
lifelesswell commit.py already has it08:28
lifelessyou just need to glue it into the parameters passed to workingtree.commit() in builtins.py08:28
lifelesse.g. all your changes will be in builtins.py + any test changes08:29
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== Peng [n=mnordhof@fl-69-69-148-134.dyn.embarqhsd.net] has joined #bzr
Stevageok. I'll need to parse a date from the command line, but I can't understand how to add that code to Option.py08:54
Stevageis there already a date parsing function?08:54
=== Lo-lan-do [n=roland@mirexpress.internal.placard.fr.eu.org] has joined #bzr
=== sverrej [n=sverrej@tul-1x-dhcp017.studby.uio.no] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
poolieStevage, i believe there is one in the time module09:07
poolieStevage, http://docs.python.org/lib/module-time.html09:07
pooliesee strptime09:07
Stevageok just found that09:14
Stevageso how does the option parsing stuff work: when an option is set to type 'str', where is the call that makes it get parsed as a string?09:14
Stevageand what is 'str' - an enum, or a language primitive?09:14
Stevage(I don't know Python at all :( )09:14
=== zyga [n=zyga@ubuntu/member/zyga] has joined #bzr
=== asabil [n=asabil@ti0035a340-0084.bb.online.no] has joined #bzr
igcheading off a bit earlier today09:34
igcnight all09:34
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== sverrej [n=sverrej@pat-tdc.opera.com] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== mrevell [n=matthew@canonical/launchpad/mrevell] has joined #bzr
=== matkor [n=matkor@EUROCZESCI.wbs.ssh.gliwice.pl] has joined #bzr
=== mvo [n=egon@p54A66406.dip.t-dialin.net] has joined #bzr
=== Zindar [n=erik@stockholm.ardendo.se] has joined #bzr
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== allenap [n=allenap@dsl82-163-24-141.as15444.net] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== mneisen [n=mneisen@141.13.16.222] has joined #bzr
=== sverrej [n=sverrej@213.236.208.247] has joined #bzr
=== jrydberg_ [n=johan@213.115.45.46] has joined #bzr
UbotuNew bug: #139318 in bzr "`bzr send --mail-to` failed with UnicodeEncodeError" [Undecided,New]  https://launchpad.net/bugs/13931810:45
=== metze_away is now known as metze
=== hsn_ [n=radim@234.114.broadband5.iol.cz] has joined #bzr
=== asabil [n=asabil@89.191.20.67] has joined #bzr
=== hads [n=hads@reef80.anchor.net.au] has joined #bzr
=== jrydberg_ is now known as jrydberg
=== mvo is now known as mvo_
=== pitti [n=pitti@ubuntu/member/pitti] has joined #bzr
pittihello all11:29
pittisince the last upgrade of bzr (0.18 to 0.90), pulling from a bzr+ssh:// fails with [Errno 13]  Permission denied: '/.bzr.log'11:29
pittiis that me doing something silly?11:30
pittipulling from sftp:// or http:// works11:30
pittimight also be a problem on the remote end (bzr+ssh://bazaar.launchpad.net)11:30
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
pittiindeed, pull bzr+ssh:// from my own server works11:31
=== cfbolz [n=cfbolz@p54AB8267.dip0.t-ipconnect.de] has joined #bzr
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== mvo [n=egon@p54A66406.dip.t-dialin.net] has joined #bzr
=== zyga [n=zyga@ubuntu/member/zyga] has joined #bzr
matkorAssuming I have checkout of branch. I want to know if I am up to date with checkout - is it bzr missing <checkout_branch> right way of checking it ?12:34
=== gabe_ [n=gabriel@91.84.56.254] has joined #bzr
Lo-lan-domatkor: I think you can just do "bzr missing"12:49
=== NamNguyen [n=namnt@cm246.delta196.maxonline.com.sg] has joined #bzr
=== allenap [n=allenap@80.187.210.109] has joined #bzr
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr
matkorLo-lan-do: I get bzr: ERROR: No peer location known or specified in 0.9001:07
Lo-lan-doHm.  Then yeah, use the full syntax :-)01:08
matkorLo-lan-do: Thnx :)01:09
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
matkorI think I will fill wishlist about that if it so obvious ...01:24
matkorIt is so obvious so there already is wishlist about that ;)01:29
=== pitti [n=pitti@ubuntu/member/pitti] has left #bzr ["Bye"]
=== mrevell is now known as mrevell-lunch
=== cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr
matkorI Have checkouted my WT to revno 50. But it indroduces errors. Can I have it back to revno 49 ? TIA02:01
=== corporate_cookie [n=richie@seraphim.asbury.edu] has joined #bzr
=== niemeyer [n=niemeyer@200-103-134-216.ctame705.dsl.brasiltelecom.net.br] has joined #bzr
=== mrevell-lunch is now known as mrevell
=== mw|out [n=mw@189.146.24.28] has joined #bzr
=== zyga [n=zyga@ubuntu/member/zyga] has joined #bzr
=== zyga_ [n=zyga@ubuntu/member/zyga] has joined #bzr
=== allenap [n=allenap@80.187.152.195] has joined #bzr
=== allenap [n=allenap@80.187.152.195] has joined #bzr
=== mw|out is now known as mw
=== mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr
=== cypherbios [n=cyr@ubuntu/member/cypherbios] has joined #bzr
=== cypherbios_ [n=cyr@201.21.169.51] has joined #bzr
=== cypherbios_ is now known as rproenca
=== Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr
=== orospakr [n=orospakr@132.213.238.4] has joined #bzr
=== asabil [n=asabil@ti0035a340-0084.bb.online.no] has joined #bzr
=== metze is now known as metze_away
=== pete__c [n=pete@032-463-246.area7.spcsdns.net] has joined #bzr
=== Zindar [n=erik@stockholm.ardendo.se] has left #bzr []
=== sverrej [n=sverrej@pat-tdc.opera.com] has joined #bzr
=== p4tux [n=p4tux@189.169.70.173] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== juliank [n=juliank@p548AE9F3.dip.t-dialin.net] has joined #bzr
=== dpm [n=dpm@p54A138F4.dip0.t-ipconnect.de] has joined #bzr
=== beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr
=== fog [n=fog@debian/developer/fog] has left #bzr []
=== dhon__ [n=dhon@60-240-97-109.static.tpgi.com.au] has joined #bzr
=== mrevell is now known as mrevell-tea
=== mrevell-tea is now known as mrevell
=== sri [i=[k1wKiGW@onyx.spiritone.com] has joined #bzr
=== cprov is now known as cprov-lunch
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== jdong [n=root@ubuntu/member/jdong] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr
jelmerjames_w, siretart: are there any plans in merging the hooks branch for bzr-builddeb?07:11
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== BasicOSX [n=BasicOSX@gatekeeper.real-time.com] has joined #bzr
=== jrydberg_ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr
=== herzel44 [i=herzel@gateway/tor/x-de00e307b6ac431c] has joined #bzr
BasicOSXdoing a bzr checkout --light-weight, is there a way to convert(?) that to a full branch?07:31
jelmerBasicOSX: A patch was posted to the mailing list yesterday that adds support for doing that07:32
jelmerI don't think it's possible in a released version yet07:32
BasicOSXthat's actually "good" since I as pounding my head abou tit07:33
=== bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr
=== cfbolz [n=cfbolz@p54ABC20A.dip0.t-ipconnect.de] has joined #bzr
=== mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr
=== Jen [n=Jen@gateway.nork.dk] has joined #bzr
=== Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr
JenHi, I just found Bazaar and is trying it out locally. I read this (great) guide (http://doc.bazaar-vcs.org/latest/en/user-guide/centralized_workflow.html#initial-setup) and is wondering if there is any way to perform a 'hook like' command. When commiting I would like 'centralhost' to update to an folder placed in the webscope.07:59
beunoJen, sure, you can write a plugin for that08:02
beunotheir are plenty of existing plugins: http://bazaar-vcs.org/BzrPlugins08:02
beunoyou can look at one of those for examples08:03
=== mrevell is now known as mrevell-dinner
Jenbeuno: Great. Thank you. Am I right that I whould have to do something like 'bzr checkout sftp://server/tree/branch /webroot/folder' and then 'bzr pull sftp...' when updating?08:05
Lo-lan-doThe URL should be remembered, so just "bzr pull" should work.08:06
beunoJen, if you want to have a svn-like workflow, yes08:06
datoI think it's bzr update for checkouts.08:06
Jenbeuno: oh my bad that's wrong. That will checkout the branch to my computer - I would like it to be checked out to a folder on the central server08:07
Jendato: thanks ;)08:08
james_wjelmer: it needs updating. If you have a need for it then I can move it up the TODO list.08:09
james_wJen: either ssh to the server and checkout, or you can supply sftp://... as the second argument and do it remotely.08:10
beunoJen, you would like to checkout from your PC to a directory on another PC?08:10
james_whowever that will be slow if both ruls are remote. If they are on the same server then doing it after ssh to the server will be a lot faster.08:11
jelmerjames_w: There's some C-based packages I have it would be very useful for08:11
james_wand using bzr+ssh:// will speed it up.08:12
james_wjelmer: you wanted to run autotools correct?08:12
jelmerjames_w: yep08:12
Jenbeuno: no - when I commit I would like 'centralhost' to do a checkout to itself (i.e. move the files to a webscope)08:13
james_wjelmer: on a native package?08:13
jelmerjames_w: nope, in normal mode (with export-upstream)08:14
beunoJen, right, I understand, you can hook it and make it do that, it will take some work to make everything run smoothly (specifying where it should checkout, por example), but it's perfectly doable08:14
james_wjelmer: was your need satisfied by the old branch? I don't even remember if it worked at all for you.08:14
jelmerjames_w: yeah, that worked, though I'd rather just specify the command to be run rather than having to create scripts08:14
=== abadger1991 [n=abadger1@65.78.187.68] has joined #bzr
Jenbeuno: great - thanks for your time08:15
jelmerthe use case for hooks probably differs per person though..08:15
james_wjelmer: in a config file?08:15
jelmerjames_w: yeah08:15
beunoJen, no problem, have fun with that  :D08:15
jelmerjust 'export-upstream-hook = ./autogen.sh' in the same place as where the other bzr-builddeb settings are08:16
james_wjelmer: I'm not sure how easy that would be to authenticate, but it seems like a reasonable request.08:16
jelmerjames_w: where is the authentication stuff for exactly? Don't you have to trust the data in the branch anyway?08:16
=== abadger1991 is now known as abadger1999
james_wI'm not sure how important authentication is as you have to run debian/rules anyway, but I wanted to avoid the surprise of having a hook run and do something nasty.08:17
jelmerah, k08:19
=== keir [n=keir@206-248-159-109.dsl.teksavvy.com] has joined #bzr
keirhi all08:20
jelmer'evening keir08:21
james_was in someone new to the plugin probably wont know about hooks, but may check debian/rules and still be surprised. I realise it's perhaps a little perverse though. I'll re-evaluate when updating the branch.08:21
keircan someone perhaps vote on my patch? http://bundlebuggy.aaronbentley.com/request/%3Cef5675f30709041204j276ce48biaa5095a939bc5749@mail.gmail.com%3E08:21
keirit's already approved by aaron, it'd be nice to get it in for .9208:22
jelmerjames_w: it'd at least be nice if it was disableable08:25
jelmeron a per-user basis08:25
james_wso you enable hooks once and by doing so promise to vet all hooks from then on?08:25
jelmeryeah, something like setting '[builddeb] \ndont-authorize-hooks = True' in ~/.bazaar/bazaar.conf08:27
james_wyeah, that sounds like a good idea to me. Thanks.08:27
jelmerkeir: I'll have a look later this evening if it hasn't been approved by then08:29
keirjelmer: thanks!08:29
=== asabil [n=asabil@ti0035a340-0084.bb.online.no] has joined #bzr
keiris there a 'standard' way to write tests which should work for multiple implementations of the same interface?08:33
keiri'd like to factor tests which work against the GraphIndex layer such that I can use them against my own code08:34
keirthen any implementation-specific tests go elsewhere08:34
=== cpro1 [n=cprov@201-92-25-195.dsl.telesp.net.br] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== LaserJock [n=mantha@ubuntu/member/laserjock] has joined #bzr
james_wkeir: yes there is08:39
LaserJockI've got a merging question08:39
james_wworkingtree_implementations is one set.08:39
LaserJockif I've got two branches that have common parts, can I just merge the common parts08:40
james_wkeir: you want adapt_modules from bzrlib/tests/__init__.py08:41
keirok08:41
=== bac is now known as bac_afk
=== bac_afk is now known as bac
james_wkeir: and bzrlib/tests/workingtree_implementations/__init__.py for an example.08:42
james_wLaserJock: can you be more clear please? They are unrelated branches that have some of the same files?08:45
LaserJockI guess they could be considered unrelated08:45
LaserJockso there's some directories that are common to both (actually several branches)08:46
LaserJockbasically, can I merge just a directory in a branch or do I have to merge the whole branch08:47
NfNitLoopIf they're unrelated branches, you can't use 'bzr merge'.08:50
NfNitLoopyou'll probably just want to use 'patch', then commit.08:50
LaserJockhmm08:50
NfNitLoopif two projects share the same directory, though, it sounds like that directory is a library?09:09
NfNitLoopYou might want to move that library into its own repo.09:09
NfNitLoop(or suggest it to the project maintainer, if that's not you.)09:09
LaserJockwell, it's actually documentation09:09
LaserJockthe Ubuntu Documentation project09:09
LaserJockand I'm trying to figure out how we'd handle common directories09:09
LaserJockright now we have it all in one SVN repo09:09
NfNitLoopWhat format is thet documentation in?  HTML?09:09
LaserJockdocbook09:09
NfNitLoopah.  Not familiar with that one.   Was wondering if you could just link to the relevant parts.09:09
NfNitLoopso you wouldn't have to maintain your own copy.09:09
LaserJockit's all our stuff09:09
LaserJockI'm wondering if we'd have to do a separate branch for the common stuff09:09
LaserJockbut that's not very good because then people have to get 2 branches to get the docs09:09
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== BasicMac [n=BasicOSX@portcullis.real-time.com] has joined #bzr
=== orospakr [n=orospakr@132.213.238.4] has joined #bzr
=== mrevell-dinner is now known as mrevell
keiri just co'd blender trunk, and there's now a blender/ and a lib/ directory. do i need to import those both? or can i just take the blender/ directory?09:34
=== bwinton [n=bwinton@mail.phantomfiber.com] has left #bzr []
=== zeasier [n=zon@router.resiteit.com] has joined #bzr
james_wdato: your hookless-email seems to have died for pkg-bazaar.09:37
james_wkeir: import?09:37
keirjames_w, i'm setting up a parallel svn repo for a branch09:37
james_wyou checked out svn or bzr? and you are setting up an svn repo?09:39
keirsv09:40
keirsvn09:40
keirbzr is impractical for a couple of reasons, namely lack of a really stable windows gui09:40
keir(i don't use windows, but the students i'm working with are)09:40
james_wyou checked out svn and are setting up svn? Is this really a question for #bzr?09:41
keirGAH09:41
fullermdPshaw.  Think of it as an opportunity to enlighten them   ;p09:41
keirwrong window09:41
keirsorry09:41
james_wnp09:41
=== abadger1999 [n=abadger1@65.78.187.68] has joined #bzr
ubotuNew bug: #139456 in bzr "failed to open trace file: [Errno 13]  Permission denied: '/.bzr.log'" [Undecided,New]  https://launchpad.net/bugs/13945609:50
datojames_w: right. it dies on commits without a valid email address. restarted, and noted in the TODO to fix that case.09:52
james_wdato: thanks.09:55
=== zeasier [n=zon@router.resiteit.com] has left #bzr []
james_wI didn't think that ExternalBase tests would give you a branch to work from when you start as a lot run init or similar first, but apparently you get a branch.10:18
=== BasicOSX [n=BasicOSX@gatekeeper.real-time.com] has joined #bzr
jelmerlifeless: ayt?10:18
=== ghigo [n=ghigo@host25-44-dynamic.1-87-r.retail.telecomitalia.it] has joined #bzr
=== BasicOSX is now known as BasicOSM
=== BasicOSM is now known as BasicOSX
=== flint-dude [n=bubba2@cpe-066-056-211-072.ec.res.rr.com] has joined #bzr
lifelessjelmer: jo?10:48
lifelesskeir: you tried bzr tortoise?10:48
keirlifeless, no10:48
keirlifeless, the issue is that i have absolutely no time to debug their problems if it doesn't Just Work Every Time10:49
keiri'm certain tortoise svn is rock solid, so that's what it'll be for now10:49
fullermdMy impression from looking at the tortoise and olive/win32 is that they may work well, if you make it through the install process.10:49
lifelesskeir: I see10:50
lifelessthats fair enough10:50
keirlifeless, in addition i don't have time to mess with tracbzr. so svn it is10:50
keirthe students are not of the 'i'll try to use it because it's oss despite some problems' types (at least as far as i can tell)10:51
jelmerlifeless: I'm hitting an assertion in Repository.add_inventory() in the packs branch10:51
keiri feel killer trac integration is important. i know launchpad should eventually be good enough, but many projects want to self-host10:51
jelmerlifeless: self.is_in_write_group()10:51
jelmerremoving it doesn't seem to cause trouble10:52
lifelesskeir: yah, I know some folk using tracbzr10:53
lifelesskeir: tim hutch, abentley IIRC10:53
lifelessjelmer: whats the call stack when you hit that assertion? You *really* want to leave it in place and not trigger it.10:54
keirlifeless, cool, glad to see it's usable. until it's in upstream trac though, it's harder to justify.10:54
jelmertim never did any tracbzr work afaik10:54
keiranyway: mkdir bzrlib/trac/index_implementations?10:55
lifelessjelmer: I didn't claim he was an author :)10:55
jelmerlifeless: doh, I should read better10:55
lifelesskeir: well, we're using moin;10:55
lifelessjelmer: tim is a trac corish dude though10:55
keirlifeless, i'm going to separate out the tests for graphindex such that we can try different ones10:55
asabilkeir: I am using bzr at work10:56
jelmerwe use trac-bzr for bitlbee - http://bugs.bitlbee.org/bitlbee/10:56
asabilkeir: I am a linux devel, but most people in my team are windows developers10:56
keirlifeless, moin is nice, but trac's integration is amazing. in particular, the timeline is *so* useful10:56
asabilkeir: maybe you wanna try QBzr for windows10:56
jelmerlifeless: it was triggered from bzr-svn, let me see if I can find the backtrace...10:56
lifelessjelmer: then its a bug in bzr-svn for 0.90 and up; I'll help you debug it10:56
keiractually the thing i miss most from trac to launchpad is the timeline and wiki, in that order.10:58
keirthe current launchpad timeline is at the appropriate granularity for typical users, but is not as useful for devs10:58
jelmerlifeless: I'm calling Repository.add_revision()10:58
jelmerbut I don't use write groups at all myself10:59
lifelessjelmer: then thats the bug11:00
lifelessjelmer: you are an implementor of fetch basically, so you need to manage the write group yourself11:01
jelmerlifeless: ok, I guess that makes sense11:01
jelmerthough I've never had to do so before11:01
lifelessits an API change, in NEWS11:02
lifelesslocking is about mutual exclusion11:02
lifelesswrite groups are about transactions11:02
lifelessyou want to minimise the number of transactions you do, but you could do one per rev if you want11:03
lifelesseach transaction generates one pack and matching indices11:03
jelmerahh11:03
lifelessat the end of each transaction autopack is run which will combine packs as needed to prevent linear growth11:03
jelmerand no data gets written before the write group is committed?11:04
jelmeror, at least, not necessarily?11:04
lifelesswith packs data is written to .bzr/repository/upload/lock-token.tmp11:04
lifelessat commit time the pack is finished, indexed, and then its all renamed into place and finall the pack name is added to pack-names11:05
lifelessabentley: are you around ?11:05
jelmerok, so I would want to create a new commit group every X revisions11:05
lifelessjelmer: if you expect people to abort things and want to be resumable yes11:06
jelmerso that hitting Ctrl+C halfway through fetching a 20k revision branch won't lose all data11:06
jelmerlifeless: cool, thanks11:06
keirso the XXXX_implementations/ directory actually holds blackbox tests (aka tests that only use the interface?)11:10
=== arjenAU [n=arjen@ppp215-29.static.internode.on.net] has joined #bzr
keiri'd probably have named them workingtree_blackbox/11:14
keiri expected the opposite (that ..._implementations/ would contain tests for specific implementations)11:14
=== marianom [n=marianom@ubuntu/member/marianom] has left #bzr []
jelmerlifeless: InventoryDirectory.snapshot() is no longer available - is that intentional?11:22
lifelessjelmer: yes11:24
lifelesskeir: we may rename them to per_workingtree or something11:25
lifelesskeir: but yes, the *_implementation directories yes that 'each implementation meets the interface'11:25
jelmerlifeless: it's not in NEWS11:25
lifelessjelmer: its not in bzr.dev either11:25
lifelessjelmer: look at repository.py's CommitBuilder11:26
jelmerlifeless: may not be used, but it is still available11:26
lifelessjelmer: snapshot ?11:26
jelmeryes, http://bazaar-vcs.org/bzr/bzr.dev/ still has InventoryDirectory.snapshot() in bzrlib/inventory.py11:27
lifelessjelmer: 'the patch to remove snapshot is not merged to bzr.dev'11:27
lifelessmy clarity was absent11:27
jelmerahh11:27
jelmershould I be complaining about API breakage in packs that's not in NEWS at this point?11:28
jelmeror wait until later?11:28
lifelessyou're welcome to complain11:29
lifelesscomplaints with patches are better11:29
jelmerI feared that would be your reply..11:30
lifeless:)11:30
lifelessso snapshot is part of my commit refactoring branch11:30
lifelessI'm moving responsibility for storing entries to the CommitBuilder11:30
lifelessso it can vary between repository more cleanly11:30
=== marianom [n=marianom@ubuntu/member/marianom] has joined #bzr
jelmerso the idea is to have fetchers use CommitBuilder as well?11:31
jelmers/so//11:32
lifelesswell11:32
lifelessconverters do you mean ?11:32
jelmeryeah, the generic fetchers11:32
lifelessit would be nice if we *had* generic fetchers11:32
lifelessright now the most generic is still very versioned file centric11:32
=== hads [n=hads@reef80.anchor.net.au] has left #bzr []
keirpdb is so slooooooow. is there a way to say 'don't load pdb, unless an exception is thrown'?11:33
keirfor the selftests?11:33
lifelessbut yes, using CommitBuilder is the right thing to do if all you have is a tree shape and need to store a representation of that from first principles11:34
lifelesshowever, doing targeted converters is the way to better performance11:34
lifelesskeir: hmm, are you running under pdb ?11:34
jelmerlifeless: I may be interested in writing a generic fetcher if I want to try out packs + bzr-svn11:34
jelmersince bzr-svn's fetcher is very VersionedFile-centric atm11:35
lifelessjelmer: your current knit converter should work (unless you were using inventory.snapshot)11:35
jelmerI /am/ using Inventory.snapshot :-)11:35
lifelessheh11:36
lifelessok, well I'm trying to land this change in 0.9211:36
keirlifeless, pdb ./bzr selftest ...; however, it's useless because the testing framework is catching the exception11:36
lifelessI'm also overhauling commit builder for more strict separation between repository and tree11:36
lifelesskeir: eek.11:36
lifelesswe should enable the debug option11:36
lifelesswhich unittest has but we don't present. anyway -11:37
lifelessI do import pdb;pdb.set_trace() in the test that fails11:37
lifelessthen ./bzr selftest failingtestname11:37
keirlifeless, but it only fails in one specific case11:37
keirlifeless, sorry, that wasn't clear11:38
lifelesskeir: so only run that test :)11:38
keiryeah, ok11:38
keirsorry. set_trace() launches a debugger where you put the set_trace()11:39
keiri don't want that11:39
lifelessbecause ... ?11:39
keiri want a debugger exactly where the exception is thrown, which is way down past a bunch of iterations of the search11:39
lifelessok11:40
lifelesssometimes its whack11:40
lifelessbut you can do11:40
lifelesstry:11:40
lifeless    thing11:40
lifelessexcept:11:40
keiraah right11:40
lifeless    pdb.pm()11:40
keirnasty11:40
lifelessnot really nasty, its what BZR_PDB=1 does for non-test-suite code11:41
keiri see11:41
lifelessbut pscyo IIRC really breaks it11:44
=== fog [n=fog@debian/developer/fog] has joined #bzr
ubotuNew bug: #139478 in bzr "bzr: ERROR: bzrlib.errors.UnlockableTransport" [Undecided,New]  https://launchpad.net/bugs/13947811:50
=== cpro1 is now known as cprov-afk
james_whmm, it's odd that came from an update isn't it?12:01

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