/srv/irclogs.ubuntu.com/2008/05/16/#bzr.txt

jmlhey guys.00:01
* beuno waves at jml 00:02
jmlI'm just catching up on some older email and came across Soren's post to the ml about bug 22734000:02
ubottuLaunchpad bug 227340 in bzr "Simple way to prepare patches for submission" [Undecided,New] https://launchpad.net/bugs/22734000:02
james_whi jml00:02
james_wjml: you got my email ok? (I'm not after a response to it, I just want to check you got it)00:03
jmljames_w: yes I did, thanks for sending it.00:03
james_wno problem, thanks for reading it00:04
* james_w hopes he at least got that far :-)00:04
jmlyeah I did.00:06
jmlI'm a little behind in email, I've been buried hip deep in a thorny branch and have only just surfaced.00:07
jml(yay metaphor mixing!)00:07
=== kiko is now known as kiko-afk
=== mw__ is now known as mw
fbondOkay, I was here earlier about this:00:25
fbondbzr: ERROR: Must end write group before releasing write lock on KnitPackRepository('file:///home/forest/.bzr/repository/')00:25
fbondI have a log file, anyone care to look at it?00:25
fbondI use this branch many times a day, and never had this issue before.00:25
fbondThis error was encountered while pulling over bzr+ssh00:25
james_wfbond: if you stick the log up then I can take a look.00:43
fbondhttp://pastebin.ubuntu.com/12337/00:52
fbondjames_w: thanks00:53
james_wfbond: ah, it's autopacking when it errors it seems, that would explain why it is happening on this pull in particular.00:56
james_wI'm not sure how to get more information at this point though.00:57
fbondjames_w: If I manually pack, perhaps that will help?00:58
fbondjames_w: I already tried reconcile.00:58
james_wfbond: yes, I think that will help, but it would only be temporary, and it would hide the problems.00:58
james_wcan you save the branch (cp -a, not branch), then pack and try again?00:59
james_wit will allow you to work, but we can look deeper in to it when we have a better chance of getting the needed information.00:59
fbondjames_w: Should I just cp -a the .bzr dir?00:59
fbondjames_w: And what ought I do with the branch so that it can be looked at?01:00
james_wthat should be enough01:00
james_ware you willing to just keep it around for a few days and then ping me? It's not a good week for me to debug it.01:01
fbondjames_w: Okay, `bzr pack' fixed things WRT pull.01:01
james_wis it a public project?01:01
fbondjames_w: No, it's actually my home directory :)01:01
fbondGoing all the way back to November of 2006.01:01
james_wsure, if you're willing to keep it around then we can work out how to get the information we want.01:01
fbondjames_w: Okay, perhaps a bug would be a good idea.01:02
james_wyeah, I think so, we can always close it :-)01:02
james_wit will probably break later, but "bzr pack" will save you most times.01:02
fbondjames_w: So this is an error in the repository data?01:03
james_wI expect it's a logic problem in the code with exceptions or something01:04
fbondhttps://bugs.launchpad.net/bzr/+bug/23090201:04
ubottuLaunchpad bug 230902 in bzr "BzrError: Must end write group before releasing write lock on KnitPackRepository" [Undecided,New]01:04
james_wthough the data could cause the exception and this is just masking it.01:04
fbondjames_w: I push/pull this branch all over the place, and haven't seen this issue with any of the other branches out there.01:05
fbondjames_w: Anyway, thanks for the help.  Feel free to ping me for more info.01:06
james_wno problem, as I said it's not a good week, if I've not got back to you for a while please kick me.01:07
james_wthough the bug will help with that.01:07
fbondThat's what I figured.01:07
Verterokmoin01:47
beunois LP painfully slow for bzr or is it just me?02:15
mwhudsonit shouldn't be particularly slow02:16
mwhudson(the machine seems quiet right now)02:17
beunohrm, I can't do anything with bzr+ssh, but I'm able to branch/checkout with http02:17
spivbeuno: strange02:18
spivbeuno: which branch?02:18
beunospiv, any branch02:18
beunoI've tried with lp:bzrtools and lp:bzr-xmloutput02:19
beunothey stall for ages downloading small amounts of bytes02:19
beunoeverything else here works fone02:19
beuno*fine02:19
mwhudsonbeuno: getting new branches?02:19
beunohttp is fast02:19
beunomwhudson, seems like anything with ssh02:19
mwhudsonyou can always try bzr -Dhttps lp://02:19
mwhudsonsee if it really is the server taking a long time to respond02:20
spivI just grabbed lp:tribunal with no trouble.02:20
beunomwhudson, branching through http works fine02:21
beunobzr co http://bazaar.launchpad.net/%7Eabentley/bzrtools/bzrtools.dev/02:21
beunocompleted in a minute or so02:21
mwhudsonbeuno: yes, so the problem is why is ssh different?02:21
spivAnd I just branched bzrtools over bzr+ssh in 42s02:21
mwhudsonand it's interesting to know whether it's the smart server being dumb, the server being slow to respond02:22
mwhudsonor something else entirely02:22
spivbeuno: could you try with -Dhpss, and paste bin the relevant .bzr.log please02:22
beunospiv, sure, on it02:22
spivBecause it's certainly working just fine from here.02:22
beunospiv, http://paste.ubuntu.com/12352/02:24
spivbeuno: and it doesn't stall completely?  The chunks still come through, just very slowly?02:25
beunospiv, chunks, slowly02:25
spiv19.111                1113 byte chunk read02:26
spiv37.564                33346 byte chunk read02:26
spivThat snippet is weird.02:26
spivIt took less than a second for the corresponding transfer for me.02:27
spivYou're getting less than 2k per second.02:28
beunospiv, it goes on: http://paste.ubuntu.com/12353/02:28
beunohttp is perfectly fine02:28
spivWhat SSH client is it using?02:29
spiv(there should be a line like 2.456  ssh implementation is OpenSSH02:29
spiv)02:29
spivCould you try comparing with sftp://... rather than bzr+ssh://...?02:29
beunospiv, yeap, OpenSSH, it's Ubuntu Hardy standard install02:29
spivThat's very odd.02:30
spivLiterally all that's happening in the server at that point is just writes bytes down the wire, as fast as it can.02:30
spivI'm using OpenSSH and Ubuntu Hardy too.02:31
spivSo at this point I start to suspect weird voodoo like MTU strangeness.02:31
beunospiv, branching with sftp now...02:34
beunospiv, it's stuck at: http://paste.ubuntu.com/12356/02:36
spivRight, it's taking significantly longer than HTTP?02:37
spivOk, there's something funny going on with SSH connections for you.02:37
beunospiv, yeap02:37
beunossh: connect to host code.launchpad.net port 22: Connection timed out02:37
spivOh, oops.02:37
spiv*bazaar*.launchpad.net02:37
spivNot code.launchpad.net02:37
beunoright, bazaar.lp gave my a branch not found02:38
spivOh, right, dang.02:38
spivsftp only gives you access to your own branches :(02:38
beunolet me do it with one of mine then02:38
beunohm, it worked fairly well with sftp02:41
beunolet me try that smae branch with bzr+ssh02:41
beunospiv, sftp is fine, bzr+ssh is painfully slow02:42
spivbeuno: that is bizarre.02:42
spivDo you have access to bzr+ssh servers anywhere else?02:42
beunospiv, this is the full log: http://paste.ubuntu.com/12357/02:43
beunospiv, yeah, I'll try it on a different server02:43
spivbeuno: thanks02:43
spivbeuno: I'd be mildly interested in a tcpdump of a bzr+ssh session too.02:45
spivbeuno: although I don't really expect it to help much.02:45
beunodamn ssh keys, I have to re-enable access to everywhere  :(02:45
beunospiv, other ssh work fine02:48
spivbeuno: wow02:49
beunohmmm02:49
beunothe log output is similar though02:49
beuno29.547                1107 byte chunk read02:50
beuno37.620                41644 byte chunk read02:50
beuno37.624                923 byte chunk read02:50
beuno37.625                903 byte chunk read02:50
beunoit's not a massive improvement over LP02:50
beunospiv, I'll try and gather more information, but it might my ISPs fault02:51
beuno(it's odd that http works fine though)02:51
spivIt is odd.02:51
beunowell, I'll wait around and see if anyone complains02:52
spivIt really shouldn't take 8s to send 40k though, unless you're on dial-up :)02:52
beunoright, and that's to a different server02:52
spivRight.02:52
beunowould be wierd that my ISP is playing around with SSH port...02:53
beunomeh, anyway, it must be something on my side02:53
beunothanks spiv  :)02:53
spivIt's possible that the way SSH packaging the transfer is bumping into TCP MTU settings or something that HTTP doesn't, just by luck.02:54
spivI used to have an ADSL connection where a bad MTU setting or something would cause large rsyncs to fail, but everything always seemed fine.02:54
spivIt was a real pain in the neck to figure out :)02:55
beunoI hope it's a temporary thing, because it may be months to switch ISP02:55
spivWell, in the end it was a misconfiguration on my end.02:55
spiv(My MTU setting or whatever it was didn't match what the ISP said to use)02:55
beunoah, well, there really isn't anything to configure, it's a standard linksys router with dhcp, from a cablemodem02:56
spivAh, ok.02:56
spivI'd try looking at tcpdumps (on both ends), maybe something will become obvious.02:57
beunospiv, will do, thanks again02:57
spivIf you do figure out, let me know.  I'm very curious! :)02:57
beunospiv, hehe, absolutely02:57
libwilliamI am looking through the API's and am not seeing a way of checking to see if a directory is a valid branch. Is there anything like this?03:00
spivlibwilliam: there is03:01
libwilliamcheck runs consistency checks, but not seeing where it shows how to interpret the error03:01
spivWell, "check" is more in depth than just "is this a valid branch".03:01
Odd_Blokelibwilliam: Yes, you try Branch.open(<URL>) and if it raises a particular exception, <URL> isn't a branch.03:02
spivDepending on what you mean by "valid", I guess.03:02
beunolibwilliam, http://bazaar-vcs.org/Integrating_with_Bazaar might be worth taking a look at03:02
Odd_Bloke"NotBranchError", I think.03:03
libwilliamby valid I mean being able to open a WorkingTree out of it.03:04
libwilliamI'll try the open method and check for an exception, sorry to keep bugging, thanks again03:04
spivA WorkingTree is a separate concept to a Branch.03:04
spivYou want WorkingTree.open, I thin.03:04
Odd_BlokeIf you want a WorkingTree, you'll... yeah.03:05
Odd_BlokeI thin so too.03:05
spivOdd_Bloke: :)03:05
libwilliamok, i already have that part in so that shouldn't be so bad.03:06
rockstarAlright, interesting problem:  Developer branches a bzr repo, deletes the .bzr folder, and does bzr init again.  When I go to merge back into target repo, it complains that they have no common ancestor (obviously).  Is there a way to merge them manually?03:38
rockstarThe target for the merge is identical to what the user branched two weeks ago.03:39
rockstarBut he's got ~35 versions in his broken repo.03:39
beunorockstar, I know that is some kind of magic using bzr merge -1..03:39
beunoto merge unrelated branches03:40
beunobut I'm not 100% sure how it works03:40
rockstarYea, looking through that now.03:40
jmlwant to rename threads :(03:41
rockstarWell, I guess I could have him re-branch and then make patches from the old repo and put them in the proper branch.03:43
mwhudsonrockstar: i think all the fileids will be different, which will make like painful03:44
* AfC speculates that this might be a legitimate cause for using `rebase`03:44
mwhudsons/like/life/03:44
Odd_Blokemwhudson: If he made actual patches, rather than bundles, it'd be fine.03:44
rockstarmwhudson, I suspected as much.03:44
AfCThough I too thought that there was a way (magic or otherwise) to treat the empty branch as a common revision.03:44
mwhudsonyes, so patches are probably the way to go03:44
rockstarBut to do that for 35 revs would be rough.03:44
mwhudson...so long as there aren't any renames or kind changes...03:45
mwhudsonrockstar: sounds like a job for a shell script to me!03:45
rockstarWell, it's not my problem...  It's someone else's...03:46
AfCHm. Yeah, revno 003:48
AfCWell, `bzr merge -r 0..-1 $other` will pull it in. You'll have a right lovely mess trying to resolve the conflicts, though. That probably is no better than making patches.03:49
rockstarAfC, tried that, looks like the original repository is old.03:51
rockstarbzr: ERROR: Repository KnitPackRepository('file:///home/rockstar/Projects/entertainer/backend-refactoring/.bzr/repository/') is not compatible with repository KnitRepository('file:///home/rockstar/Projects/entertainer/entertainer/.bzr/repository/')03:51
beunorockstar, it might be the other way around  -1..003:52
rockstarAnd apparently, bzr upgrade doesn't work on the older repo...  *sigh*03:54
Odd_Blokerockstar: What message do you get?03:54
rockstarOn the upgrade?03:54
Odd_BlokeYeah.03:54
rockstarbzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack1>.  Does not support rich root data.03:54
mwhudsonupgrade --rich-root-pack then03:57
rockstarYea, I was thinking I would try that.03:58
mwhudsonthese two errors are actually reporting the same problem03:58
mwhudson(badly)03:58
rockstar:)03:58
rockstarbzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack4>.  Does not support nested trees03:59
mwhudsonoh03:59
mwhudsonis there pack-with-subree?04:00
mwhudson+t04:00
rockstar--development-subtree04:01
rockstarHoly hell that worked04:01
=== jamesh__ is now known as jamesh
jameshrockstar: in the short term, you probably want to avoid subtree format if possible04:06
rockstarjamesh, well, ideally, I'd like all of these branches to be in the same format.04:07
jameshif you aren't using subtree features (e.g. if it is just an old bzr-svn import), you might be able to pull the branch into a rich-root-pack repo04:07
rockstarjamesh, that's exactly how this branch was created.  With bzr-svn.  Version is now unknown (that system was wiped and re-installed with a new OS)04:07
jameshrockstar: right.  While you can't "bzr upgrade" from subtree to non-subtree, you can branch from one format to the other04:08
jameshprovided no subtree features were used04:08
jamesh(which is probably the case if it is a bzr-svn branch)04:08
rockstarI created a new folder, bzr init, and then a pull from another branch.  No go.04:08
jameshrockstar: try "bzr init --rich-root-pack"04:09
rockstarjamesh, looks like that's working.04:09
jameshwhile you can sometimes pull from subtree formats to rich-root, you can't pull to the default format04:09
jameshand rich-root is closer to the main supported formats04:10
rockstarYea, I've been trying to get into bzr development so I can start understanding all these terms.  :)04:10
jameshas I understand it, the differences are something like this:04:12
Odd_Blokeabentley is working on the One Format, to in the darkness bind them, I believe.04:12
jameshin the default format, the file ID for the root directory of all branches is the special value "TREE_ROOT"04:12
jameshfor rich-root, it gets a pseudo-random file ID like all other directories04:12
rockstarOdd_Bloke, yea, we talked about that in Dunedin last week04:13
jameshfor subtree formats, directories in the branch can be references to other branches04:13
jameshso provided there are no subtree references, you can go subtree -> rich-root04:13
jameshbut you can't go rich-root -> default without losing information04:14
* igc lunch04:14
AfCOdd_Bloke: that was hilarious04:38
rockstarCome to think of it, Dunedin is in the same country as Mordor04:41
mwhudsondifferent island though04:45
rockstarYea, don't you live down the street from the eye?04:50
Odd_BlokeCanonical's London offices are _near_ the London Eye...04:51
mwhudsonit's a pretty long street04:51
mwhudsoni guess about 2.5 hours drive04:52
=== mario_ is now known as pygi
gourpygi: morning06:18
=== thekorn_ is now known as thekorn
pooliespiv: how did you go with protocol 3 landings?08:13
spivpoolie: Running the final-final local test run now before I fire off to PQM.08:15
poolieyay!08:15
spivThe last change was updating the protocol version marker to say "bzr 1.6" :)08:15
pooliepossibly we should have some kind of NEXT_RELEASE marker that's updated during the release08:16
poolieor immediately before merging08:16
spivI haven't found it to be a significant burden for my work.08:16
pooliewell, clearly you can just do it now, but i mean a convention08:16
pooliesuppose it is no worse to just take a guess at it08:16
spiv(Not arguing against, just saying it wouldn't make a big difference to me)08:17
spivpoolie: actually, one last thing before I fire it off: the NEWS entry.08:21
spivpoolie: here's a first stab: http://rafb.net/p/1U7kMG26.html08:22
spivpoolie: Any suggestions for improving that?08:22
spivHmm, I guess there's a bug number somewhere I can include too.08:22
poolieprobably08:22
poolieprobably there is a bug08:22
pooliethat looks good; the last sentence could be less passive though08:23
pooliehow about this (if it is correct):08:23
spivIt addresses parts of https://bugs.edge.launchpad.net/bzr/+bug/8393508:24
ubottuLaunchpad bug 83935 in bzr "improvements to bzr protocol" [High,Confirmed]08:24
poolieBazaar 1.6 will interoperate with 0.9 and later versions, but servers should be upgraded when possible.08:24
poolieyou should get extra points for closing a 5-digit bug number :)08:24
pooliespiv, i think you should close that with this landing08:25
spivWell, point 4 in that bug (authentication) is still open.08:25
spivBut really that ought to be its own bug08:25
pooliei think 3 and 4 should become separate wishlist bugs08:25
awilkinscan you split bugs?08:25
spiv(maybe there already is one?)08:25
poolieawilkins: only by hand08:25
awilkinsYick08:25
pooliebut there's a bug requesting that! :)08:25
awilkinsYou'd think with all the slitting and joining of branches you could do the same with bugs08:25
awilkins :-)08:25
spivpoolie: Actually, it will only interoperate with 0.16 and up; the autodetection doesn't try to detect v1 servers.08:26
poolieok08:26
pooliei wasn't sure of the number08:26
spivIt's possible to reinstate that, but it's hard to do it 100% robustly.08:26
pooliei think it's reasonable08:26
spivPhew :)08:26
pooliebut news should say what it is08:26
spivTrue.08:26
pooliecan you work out a good phrasing to explain the impact of old servers?08:26
spiv"Bazaar 1.6 no longer interoperates with 0.15 and early via these protocols.  Use alternatives like SFTP or upgrade those servers." ?08:28
spivs/early/earlier/08:28
poolieyeah08:28
spivOk.08:28
pooliesounds good08:28
pooliebut isn't there an impact with 1.5 and earlier too? it needs to reconnect?08:28
pooliebtw can i check you give a message in that case?08:28
spivYeah, it will reconnect, and it does give a warning about that now.08:29
pooliegreat08:29
spivOh, I see the reply I sent to your review was still sitting in my editor, oops.08:29
fullermdI don't think it has a prayer of interoperating with 0.9 smart servers   :p08:29
* spiv sends it08:29
spivfullermd: yeah, I think 0.11 had the first hpss08:30
fullermd's the number I recall, yah.08:30
spiv"Server does not understand Bazaar network protocol %d, reconnecting.  (Upgrade the server to avoid this.)08:31
spiv"08:31
* spiv fixes the %d.08:31
spiv(Hooray for dogfooding.)08:31
gourdo you recommend DVC for emacs+bzr combo?08:33
poolieyes08:33
pooliei think that's the best option08:34
pooliei don't use emacs often though08:34
gourthanks08:34
vilayes08:35
vila i think that's the best option08:35
pooliehello vila!08:35
Odd_Blokevila: o/08:35
vilaI use emacs often08:35
vila:)08:35
vilapoolie, Odd_Bloke: hi !08:35
awilkinsLast time I used emacs was MicroEmacs on the Amiga about 15-20 years ago08:35
vilafirst time I used emacs was epsilon circa 88 :-)08:35
vilaunder DOS wayyyy before windows08:36
awilkinsHeh, I think this was around the time of "GEM"08:36
vilaGEM ! Yeah, we code a prolog interpreter under GEM in 87 ! :-)08:37
Odd_BlokeI've never used emacs.08:37
Odd_BlokeI like my pinky finger too much. :p08:37
pooliei might leave early today i think :)08:37
pooliespiv, can we have a quick call?08:37
awilkinsI keep wondering if I should try it, being a slightly sim-ish person at the moment08:37
vilapoolie: Did you have a look at wireshark traces ?08:37
awilkinss/sim-ish/vim-ish08:38
vilaawilkins: use whatever fits your needs08:38
poolievila, no, will look now08:38
vilapoolie: thanks a lot08:38
poolie!!08:39
spivpoolie: sure.08:40
uniscriptwhen merge has a conflict, 4 files are generated. Is there any way to make all 4 files contain the non-conflicting changes that have been merged?08:42
uniscriptcurrently they are just copies of their corresponding originals plus one to show all the conflicts08:42
Odd_Blokeuniscript: Is this before or after you've resolved the conflicts?08:44
uniscriptbefore08:44
vilathe one showing the conflicts includes the non-conflicting changes08:45
uniscriptright, so I'll have to parse that to generate the 3 files with non-conflicting changes.08:46
uniscriptIs the clash marker consistent across all merge methods?08:46
poolievila, replied08:46
pooliei replied*08:46
Odd_Blokeuniscript: Why do you want the 3 files with non-conflicting changes?08:47
uniscriptbecause I want to track the conflicts and just the conflicts08:47
uniscriptit's part of a sync operation I'm writing08:47
uniscriptthat allows conflict resolution to be delayed08:47
vilapoolie: great, having the server logs will help alot (mneptok can provide that ?).08:48
vilasending the other headers is not an option though :) The connection get closed as soon as the GET is sent.08:49
poolieshould do08:49
poolievila, see my latest post08:49
pooliespiv, will call08:49
spivpoolie: ok08:49
vilapoolie: hmmm, yeah, I could try that, thanks for the hint08:50
gouri installed DVC and it loads, but, based on manual, emacs complains that C-x T is undefined09:00
* awilkins tries the Emacs tutor09:06
gourawilkins: welcome ;)09:07
awilkinsI hate it already I'm afraid09:07
awilkinsM-v to move back a screen? This places ones fingers in an unnatural contortion.09:08
awilkinsAnd I have double-jointed fingers09:09
AfCOh goodie! An editor flamewar in a version control channel!09:10
fullermdY'know who else used emacs?!  THE NAZIS!09:11
awilkins"I hate it" isn't flaming09:11
awilkins"It's a pile of crap" would be flaming09:11
* awilkins has unwittingly started a meta-flamewar09:11
spivAfC: all that's missing a GPL vs. BSD licence fight.09:11
fullermdI thought those were on indefinite hiatus until the GPLv2 vs. GPLv3 flamewars settled out.09:12
AfCCats lovers vs Dog lovers, man09:12
gourawilkins: you're free to rebind everything to whatever you like ;)09:12
* awilkins rebinds page up and down to page up and down09:12
poolienight!09:13
AfCawilkins: whoa, that's innovative.09:13
gour:-)09:13
gourpoolie: night...here is 10am, we're not going to sleep (yet)09:13
fullermdI tried to remap Page Up to "power down system", but I think Apple would sue me for patent infringement...09:13
gour:-D09:13
awilkinsI think I'd enjoy learning Lisp though (if it wasn't for the syntax :-)  )09:14
bob2try dylan09:14
AfCGod I wish Bazaar actually gave useful feedback when pulling a large project. Sitting on "Copying invenory texts 2/5" for the last 9 minutes is thunderingly uninspiring.09:15
awilkinsI open a file browser and watch the pack files gurgle around09:15
fullermdI comfort myself by saying "If I used git, it would be done by now, and I could spend the time bzr is copying trying to figure out what command to run next"09:17
gourlol09:17
AfCHm. `baobab` as Bazaar progress user interface.09:18
awilkinsI don't think git can speed up a slow network connection though09:18
awilkinsAlthough sometimes I do find myself thinking "Hmm, git would do this better" when refactoring chunks of code out into separate files.09:19
awilkinsBUt that's based on zero real-world experience of git09:20
awilkinsI seem to have absorbed the fact that it versions chunks of code and not files09:20
igcnight all09:27
gourheh, 1.5 tomorrow, 1.6 in few weeks :-D09:34
gourit looks i'm catching the bzr train in right moment09:37
KinnisonMy only issue with bzr's speed is that I have yet to see it fill my link when pulling/branching09:39
awilkinsHow fast is your link?09:39
Kinnison10Mbps09:39
awilkinsNot filling 10Mbps is unlikely to be bzrs fault (unless you can verify that you can get a full 10Mbps to the target repo).09:40
AfCKinnison: yeah, I have the same complaint09:42
AfCKinnison: (where target has ~100x what I have)09:43
Kinnisonmmm, the vast majority of large projects I talk to are launchpad so it could be them09:43
* Kinnison ponders branching to his colo server and trying from there since I know I get the full 1.1MB/s (10Mbps) to that one09:44
awilkinsI remember thinking that using a diff algorithm that focussed less on space and more on speed might improve matters, having watched it peg the CPU.09:44
awilkinsBut without profiling of course, that is mere speculation09:45
=== weigon__ is now known as weigon
Kinnison:-)09:45
awilkins'twas my major nitpick of SVK ; mirroring a remote repo should be I/O bound, not CPU bound, especially in SVK where the source and target use the same repo format.09:47
jameshKinnison: lucky for you, bazaar.launchpad.net is in the same country09:55
Kinnisonjamesh: It ought to be bandwidth rather than latency bound with TCP and packs though, surely?09:56
jameshKinnison: there are probably still a number of round trips to be killed off09:57
jameshKinnison: how much they affect things probably depends both on your latency and how much data you're transferring09:57
spivDefinitely there are plenty of round trips to kill off, still.09:57
Kinnisonnod.09:58
spivKilling some of them is my goal next week :)09:58
* Kinnison is lucky for his ping-time to LP09:58
Kinnisonca. 15ms09:58
jameshmaybe we should move bazaar.launchpad.net down to australia09:58
jameshthat'd improve performance09:58
spivOr rather, faster pushing in general is.  In additional to unnecessary round trips, there's also just plain old unnecessary work.09:58
lifelessKinnison: raw pack pulls should saturate your link10:00
Kinnisonlifeless: upsettingly they don't tend to10:00
Kinnisonlifeless: although I cannot work out why, since I'm not CPU bound or anything10:00
lifelessKinnison: are you using sftp or bzr+ssh ?10:00
Kinnisonlifeless: http10:00
lifelessKinnison: try sftp10:00
Kinnisonfor pulling?10:01
Kinnisonreally?10:01
lifelesssure10:01
Kinnisonokay, what's the sftp url for bzr itself?10:01
spivI don't think there is one.  There is a bzr+ssh URL.10:01
lifelesssftp://bazaar.launchpad.net/~bzr/bzr/bzr.dev I think; but you currently have to be in ~bzr to read that10:01
Kinnisonaah10:02
Kinnison:-(10:02
spiv(Unless you are in the 'bzr' team, as lifeless says)10:02
jameshlifeless: I don't think branches you don't own are available via sftp10:02
* Kinnison tries a 5.8MB fetch from his own server10:02
Kinnisonit's managing ca. 14kB/s over sftp10:03
Kinnisonneither end is heavily CPU bound10:03
gourwill 1.6 change its default format?10:04
Kinnisonhmm, http sucks too, I wonder if this is old enough to be pre-pack10:04
Kinnisonurgh it is, no wonder it sucked10:05
Kinnisonsorry, I need to sort a remote pack repo first10:05
AfCspiv: I assume you have enough repos to test from, but I now have a few projects that are rather large and for whom both I/O and CPU seem underwhelmed. Given the audience is a sceptical one, it might be worth tackling them...10:07
spivAfC: I'm seeing plenty of room for improvement just with bzr.dev, but I'd be happy to have some other real-world datasets to play with.10:11
AfCspiv: someone took my GTK ball and has run with it; he's done most of svn.gnome.org now.10:11
spiv(And also with the Launchpad codebase, which is pretty big and has a large history.)10:11
AfCs/someone/Jc2k/10:12
spivI'm particularly interesting projects that have a very branch-heavy history (like bzr and launchpad), because that's where some of the problems are.10:12
jameshgiven that svn.gnome.org is in the Canonical data centre, it'd probably make sense to do a migration there10:13
spivi.e. traversing complicated graphs, rather than mostly linear ones.  Although obviously they need to work well too...10:13
gourspiv: have you tried to play with ghc?10:13
spivgour: no; is it in bzr?10:14
AfCwhatever, it's done now.10:14
gourspiv: no, it was in CVS, now is in darcs, but there are problems10:15
spivgour: ah, ok.10:15
gourspiv: someone was doing darcs --> git and it was sloooow10:15
jameshAfC: I'm not saying what you did was unimportant.  Just that maintaining mirrors from there would probably be more efficient10:16
AfCHe's in the UK10:16
jameshand in general, pulling the converted bzr branch is faster than pulling with bzr-svn10:16
spivInteresting.  I don't know what the state of darcs -> bzr is like at the moment.  Probably just tailor?10:16
AfCand I'm bitching about the performance of pulling the converted bzr branch10:16
jameshAfC: I'm talking about machines that are in the same room10:16
AfCjamesh: he was given rsync access to the entire repo, so is doing svn+file://.10:17
gourspiv: see http://nominolo.blogspot.com/2008/05/thing-that-should-not-be-or-how-to.html10:17
jameshAfC: ah.10:17
gouryes, probably tailor...i'm interested for it as well10:17
gourin any case, i think ghc is nice for bzr testing10:17
gour18500 patches, 12yrs history10:18
jameshgour: it sounds like a good example of a long linear history10:19
jameshgour: spiv is talking about also testing on branches where sizeof(ancestry)/sizeof(linear history) > 110:20
jameshthat is, where there is a more complex graph10:21
fullermdConsidering the effects emacs shows on sizeof(linear history)...10:21
gouri see10:22
gourdarcs is not so big but had two branches for a long time: main + unstable which are merged recently10:22
* spiv -> dinner10:24
* Kinnison cheers as bzr gets 1.2MB/s over sftp from his colo box10:25
* Kinnison bounces lifeless10:25
Kinnisonmmm interesting. http took marginally less cpu, but twice as long wallclock10:34
Kinnisonsftp for the win, thanks lifeless10:34
* Kinnison manages to get bzr-svn to break10:48
* Kinnison tries to see if we do anonymous access to this svn repo so I can report the issue10:48
lifelessvila: ^ I think its http buffering11:27
vilalifeless: sounds plausible enough, I wonder why we never encounter it before, but some bugs just love to stay dormant like that, I'll have a look asap11:28
* vila gotta run now11:29
lifelessvila: we encounter it always I think11:33
lifelessvila: bye11:33
vilalifeless: sry, I'm in a hurry, but I'd be very interested in discussing it a couple of minutes with you, cu later11:37
* Odd_Bloke impotently shakes his fist at the mutable-commit-messages ML discussion.11:40
jelmerhi Odd_Bloke11:41
Odd_Blokejelmer: o/11:41
jelmerOdd_Bloke: any news on file-type-specific merges ? :-)11:41
Odd_Blokejelmer: Yeah, I'm starting on it after exams. :p11:42
jelmerah, ok11:42
pygimorning gour11:59
gourpygi: it's noon (by Son) already ;)12:06
denndaDoesn't bzr allow to bzr push sftp://... to another port than 22?12:10
james_wdennda: I would have thought that it does, how are you specifying the port?12:11
denndajames_w: tried adding -p $port and -P $port12:11
denndadoes accept neither of those12:11
james_wah, no, it won't12:11
james_wtry sftp://server:port/path/12:11
denndagreat, thanks. I was almost working around that with .ssh/config :)12:13
denndauff, takes ages to push 2,9 MB12:16
gourto import darcs repos, tailor is the only solution?12:18
denndahu... it says it created a new branch remotely but all it did was creating a .bzr directory. the actual branch doesn't contain anything else12:18
luksdennda: .bzr is the actual branch12:18
gourdennda: you mean no working tree?12:18
denndaluks: yes, I know. but the location to where I pushed is empty except the .bzr folder12:19
denndagour: yes12:19
luksdennda: yes, that's correct12:19
luksbzr push will never create or update remote working tree12:19
luksonly the branch12:19
denndaso I need to branch that again?12:19
lukswhy?12:20
denndaI need a working tree remotely12:20
james_wdennda: ssh in and run "bzr checkout ." in the directory12:20
lukshttp://bazaar-vcs.org/FAQ#head-942dfcf9fc6787bb81dd6c1ffe0c32b16c71d49612:20
denndajames_w: done that, worked. although I used branch instead of checkout12:20
Peng...You branched a branch to the same directory?12:20
james_wwhen you push again "bzr update" will update the working tree, to automate this you may want to look at the "push-and-update" plugin.12:20
denndaand branched to another directory12:21
danielsthis might strike you guys as a stupid question, but how do i actually check out a tag?12:24
danielsbzr tags shows me the tag i want, with its revision number, but neither bzr checkout nor bzr branch seem to do what i want (make my working copy be that tag)12:25
luksbzr checkout -r tag:foo ?12:25
james_wif you just want your tree to be that tag for a minute to look at it then use "revert"12:25
james_wif you want a separate branch at that tag then use "branch -r tag:foo branch new-branch"12:26
james_wI'm not sure if checkout does it, I know pull will, but bear in mind that that will make your current branch tip12:26
james_whard to get at12:26
* gour is looking for some advice to import darcs repos12:27
danielsokay, so what i probably want is: bzr branch -r tag:the-tag-name directory-the-repo-is-in directory-to-check-that-tag-out-into12:27
TFKylenot sure if there's anything better, but tried tailor already gour?12:27
james_wdaniels: yup, that's what I'd suggest. Though by "directory-the-repo-is-in" do you mean "the directory of the branch"?12:28
james_wyou point it to a branch, not to a shared repository (init-repo) if you are using them.12:28
danielsjames_w: yeah, that's done what i want, brilliant -- ta12:28
gourTFKyle: i did in the past, but not with bzr12:28
daniels(and yeah, i mean directory of the branch.  my terminology is heavily git influenced, and i'm only using bzr because one particular project does.)12:28
james_wdaniels: ah yeah, I know this is a pain when changing between the two.12:29
danielsjames_w, luks: cheers for the help12:32
CroXWhat bugtracker system do you people use when working with Bazaar? I had wanted something that integrates with the VCS.12:36
james_wthere is a trac-bzr plugin12:37
james_wlaunchpad has some integration12:38
james_wthere is bugs-everywhere if you want to get really integrated.12:38
CroXKnow anything about Mantis' possibilities?12:38
CroXNever heard of that one. I'll need to check it out.12:38
james_wI haven't heard of any integration with mantis12:39
igcgour: can you try fastimport for getting from darc to bzr? You'll need http://repo.or.cz/w/darcs2git.git as the front-end12:44
gourigc: do you think it's better than tailor?13:07
igcgour: well I wrote bzr-fastimport so I hope so :-)13:07
gourigc: ohh, let me try it then ;)13:08
igcseriously, ...13:08
igcit will convert a repo, not just a branch13:08
igcassuming the exporter does the right thing13:08
gourso, i need to install plugin 1st13:08
igcyes. See http://bazaar-vcs.org/BzrFastImport13:09
igcand that links to http://bazaar-vcs.org/BzrFastImport/FrontEnds where ...13:09
igcI'd love to move Darcs "up the page" if that makes sense13:09
gourok, plugin is installed and listed in bzr...what's next13:10
gourigc: how do i get darcs2git?13:13
igcgour: git clone http://repo.or.cz/w/darcs2git.git13:14
spivvila: thanks for finding the dupe of that smart server auth bug, I looked but couldn't find it.13:14
igcgour: I'd like to bundle this if it works and licensing permits13:14
igcthat's why someone testing it is good :-)13:15
gourigc: some problems http://rafb.net/p/f7pChO29.html13:15
gouri'm totally ignorant of git - another reason to move to bzr13:16
igcgour: ah - I got that link from http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#head-0c139c28cd0c9c34c6e08375ef10ad5ed581027113:17
igcgour: try git clone http://repo.or.cz/r/darcs2git.git13:19
igcnote the 'r' instead of the 'w'13:19
igcsorry for the wrong url13:19
gourwill it work with http://git.sanityinc.com/?p=darcs-to-git.git ?13:20
gourthat one was ok13:20
igcgour: don't know - probably not13:21
gourok, let me try yours13:21
igcthe key thing is generating the 'fastimport' stream - not getting it into git13:21
gourdone.13:22
=== jamesh_ is now known as jamesh
gourigc: i invoked  python ~/repos/git/darcs2git/darcs2git.py | bzr fast-import -13:25
igcgour: cool13:25
gourbut got: bzr: ERROR: line 1: Invalid command 'Usage: darcs2git [OPTIONS] DARCS-REPO'13:25
igcgour: ok, so get the export part working first13:26
gouryou mean without piping?13:26
igci.e. just do ... python dards2git.py WHATEVER > myrepo.fi13:26
igcyou can then inspect that file to confirm things look ok13:27
igcif so, then do ...13:27
igcbzr fastimport myrepo.fi13:27
igcgour: how's your python coding skills?13:27
igcyou might want to manually inspect darcs2git.py before running it13:28
gourigc: none13:28
gourit does something..13:28
igcin particular, you don't want it implicity piping the 'output' to git-fast-import13:29
igcbecause we want to consume the output instead13:29
gourhmm13:30
gourmaybe i should try with some smaller repo13:30
gourigc: does darcs2git works with darcs-2 format repos?13:36
igcgour: I have no idea sorry13:38
igcgour: if darcs-to-git works, then you can always use it and then use git-fast-export13:39
igcgour: that may be easiest in the short term13:39
gourigc: it works with older format. i changed it create darcs-2. let's see13:40
gourwhen i s/darcs init/darcs init --darcs-2, it crashes13:48
TFKylejam: hmm, I could be blind, but I don't see the bzr-merged plugin anywhere13:52
TFKyle(well, on the plugins page, and bzr ls lp:bzr-merged == no such project13:53
lifelessjam: yo14:00
pickscrapeAny idea when bzrtools 1.5 is going to hit the bzr PPA?14:04
jelmerpickscrape, poolie should be able to tell you14:04
pickscrapeOne of my worries about rolling bzr to my team is that the packages in the PPA rarely seems to be consistent with each other.14:05
pickscrapeAt least they haven't in the time I've been using it.14:06
lifelesspickscrape: thisi s a liimtation with ppa's, we're looking at ways to address this including a more stable ppa for users14:16
pickscrapeWould "more stable" mean missing on on monthly releases, or just more consistent and excluding things like RCs?14:18
pickscrapes/on on /out on/14:20
=== mw is now known as mw|errands
lifelessnore consistent and not having rc's14:22
pickscrapeThat sounds perfect. :)14:23
madduckbzr: ERROR: pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')14:25
madduckhow can i work around that? bzr *should* really be giving me a choice here, no?14:25
lifelessits comeing up from curl14:25
madduckbut shouldn't bzr catch it and handle it appropriately?14:26
lifelessapparently its not that easy14:26
madduckso i can't clone this repo...?14:26
madduckhttps://penta.debconf.org/~joerg/bzr/debconf8 ftw14:27
lifelesstry14:27
lifelesshttps+urllib:/...14:28
madduckthat works14:31
james_whi madduck14:40
madduckhi!14:41
jammorning lifeless14:42
jamTFKyle: I believe 'merged' is a plugin that statik uses, I'm not sure where he got it14:42
jamI believe he said it was public, and he was asking the author if they would mind hosting on LP14:42
madduckthanks, lifeless !14:44
lifelessjam: :pserver: support for cvsps would be nice14:55
bachi jam -- i was trying to update a very old version of a rocketfuel trunk (on a laptop i haven't used in a while) and i got  raise AssertionError('%d != %d' % (len(history), revno))15:03
bacAssertionError: 25 != 629915:03
bacjam: it's probably easier for me to start from scratch, unless this represents a bzr bug you'd like to investigate15:06
james_wbac: hi, that's a bug that has been filed I think.15:08
bacjames_w: ok, thanks.  is there a work-around?15:08
james_wI'm looking for the bug now, I don't remember the details.15:09
bacjames_w: thanks.  as i said it isn't imperative that this repo be repaired.15:10
james_whttps://bugs.edge.launchpad.net/bzr/+bug/177855 looks like it15:10
ubottuLaunchpad bug 177855 in bzr "assertionerror trips on pull --overwrite in dirstate branch with non-canonical history" [High,Fix released]15:10
james_wwhat version of bzr are you running?15:11
bac1.5rc115:12
james_whmm, I guess it's a different bug then.15:13
james_ware you doing a "pull" or an "update"?15:13
bacjames_w: i was attempting a pull15:14
james_wI'm not sure how to debug that, sorry.15:14
bacjames_w: ok.  not a problem.15:16
gourtailor rocks in comparison with darc2-git15:24
ricardokirknerhi. what authentication scheme is mostly used in order to share a common branch for a project, using bzr? on the other hand, what guarantees that the user committing a change is actually the person that is authenticated? (for example, I can authenticate using user1 but in my bazaar config I specify myself as user2; in that way I 'could' blame user2 for introducing mistakes, or something like that)15:43
james_wI don't think there is any protection against that.15:44
=== kiko-afk is now known as kiko
=== thekorn_ is now known as thekorn
jambac, james_w: The "fix" is that you have to run "bzr reconcile" on the branch16:32
jamricardokirkner: the fix is to gpg sign your commits16:32
bacjam: thanks16:32
ricardokirknerjam, thanks for the idea, though in our case that might be a little bit overkill. but don't mind, my previous question was more out of curiosity than of need16:33
jamricardokirkner: we trust the user, partially because you may be "pushing" code from someone else16:33
jamAnd that *should* be valid16:33
igcnight all - have a good weekend16:47
gourigc: night16:47
igchope the release good well jam16:47
beunojam, if you need any help with the packaging today, let me know17:25
* beuno ducks17:25
jamigc: good night17:46
jambeuno: I might, how did you do the earlier ones?17:49
jam(we'll be marking these as 1.5.0, just to get the ordering correct)17:50
beunojam, I basically followed the docs17:50
jambeuno: ok, I was just wondering if you used builddeb or something like that17:50
beunoand, for the first one, I built it in a pbuilder enviroment17:50
jampbuilder?17:50
beunoto make sure it was clean17:50
beunojam, it's a clean chroot-like enviroment, which doesn't save changes done to it17:51
beunodo you can build anything you want, and will always reset to a clean system17:51
beunobut just following the docs wirks fine17:51
beunos/wirks/works17:52
beunoanyway, I'll be happy to help out17:52
jambeuno: we'll see how things go here, I have to wait for PQM to merge everything anyway17:59
beunojam, good luck with that  :)18:00
jambeuno: well, the submissions are in the queue18:14
beunojam, but they only get in if they pass all tests, right?18:17
awilkinsI love it when you hammer the keyboard for three hours straight and at the end of it have to patch less than 30 lines of code to fix the bugs :-)18:37
pickscrapeFrom time to time you write code that really does work first time. Those moments are special :)18:41
awilkinsThe best bit it is that it's some really nasty/elegant (depending on your tastes) Java code thats very heavy with generics18:42
awilkinsOk, I was only refactoring it....18:42
lifelessawilkins: depends how long those lines are :)19:04
=== mw|errands is now known as mw
nv1Thinking of using bzr for project revision control at my company.  I understand tha Bazaar is GPL, so what are rules of using bzrlib from proprietary Python code? Should subprocess only be used?19:13
awilkinsDoes that particular restriction apply to scripting code? My understanding was that it applies when you link.... but IANAL19:15
nv1that is what I am wondering19:15
lifelessnv1: hi19:17
lifelessthere may be a delay; evolution is saturating my homelink19:17
lifelessnv1: as long as you don't distribute your code you can do anything - the GPL licence applies to *distribution* not use.19:18
nv1I am thinking they are both (bzrlib and proprietary code) running in the same process... but no traditional C-style linking goes on19:18
TFKyleI think it depends on who you ask, GNU seem to say that even importing shouldn't be allowed, but I disagree sort of19:18
nv1we sell our product and it gets installed on customer's systems19:18
awilkinsThat's rather broader than "at my company"19:19
nv1yes19:19
vilaThen you distribute it and are bound by the GPL19:19
TFKylevila: are you bound by the GPL just for the bzr code or any code that imports bzr though?19:19
nv1If we import bzrlib, but if we call it via subprocess then I understand that it is not19:19
TFKyles/bzr/bzrlib/19:19
vilaIANAL, but AIUI, playing tricks with the GPL is quite risky19:20
luksTFKyle: any code that links to (imports) GPL-licensed code19:20
lifelesswhoa no19:20
awilkinsRelease it GPL and charge for support, not the actual program ?19:20
lifelessslow down folk19:21
lifelesslinking invokes the gpl because the output copies data from the input19:21
TFKyleluks: is importing really linking though? and what't the "level" of linkage?19:21
luksTFKyle: well, that's always questionable. but there are companies that run busineses based on that, so I guess they checked with enough lawyers19:22
TFKyles/what't/what's/, I can't type properly these days19:22
lifelesshttp://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL19:22
nv1I don't want to take advantage and skirt the law on GPL, if it is a gray area I'd rather play it safe19:22
lifelessthis mentions the FSF stance, which we share19:23
lifelesswhich is that a GPL'd module in an interpreted language requires that users of it also be GPL19:23
awilkinsYeah, but it's not just the interpreter being GPL ; the code running in the interpreter is GPL too19:23
lukslifeless: using a GPL interpretter and importing GPLed code are different things19:23
lifelessluks: I know that; please a) read what I said, and b) read the thing I linked to19:23
awilkinsThe bottom two paragraphs of that section are relevant19:24
lifelessnv1: we would expect that a proprietary piece of code could only use bzr if it was not being distributed19:24
TFKylelifeless: another random question, can you get around that by not requiring the module exist but working with it if it does? (remember reading something about that somewhere else in the FAQ, wrt. dynamic linking)19:24
lifelessnv1: which is to say that you should use bzr via a subprocess19:24
lifelessnv1: you will likely find the 'ide integration' work being done of great interest, because it is aimed at providing a low level machine readable interface to bzr19:25
nv1lifeless: makes sense too me19:25
nv1I suspected that19:25
lifelessnv1: suitable for use by IDE's (including visual studio etc)19:25
TFKyle(well, by that I mean continuing to work without having to import the module)19:25
lifelessTFKyle: the usual example for that is a BSD readline and a GPL readline19:25
nv1bzr is used as a backend for our project models (written in an s-expression format)19:25
lifelessnv1: cool19:26
awilkinsHaving some reasonable success here using bzr over a socket in Eclipse.19:26
nv1s/used/hoping to use19:26
awilkinsThat's not linking19:26
pickscrapeI had an idea last night that could be pretty cool (if it's not been done already).19:26
nv1awilkins: that means to get status we'd have to either 'import bzrlib; bzrlib.get_status...' OR call via subprocess "bzr status" and parse the output19:27
pickscrapeWould I be right in thinking that a bundle which represents a number of commits includes the commit log for each of those commits?19:27
lifelessTFKyle: I'm not really that interested in looking at 'ways around' the GPL :). Bzr is free software, folk that build on bzr to make bigger things which are not free software can't really expect to be working with the same interface as free software does19:27
awilkinsnv1: There is expressly an XML output plugin for such a thing. Grab the bzr-eclipse source for examples if you are a Java type of person.19:27
lifelessawilkins: we're folding that into the core FWIW19:28
lifelesspickscrape: it does, yes.19:28
pickscrapeThen how difficult would it be for bzr visualize to be able to load up a bundle, appending it to what it's currently displaying?19:28
awilkinspickscrape: I think a bundle is to all intents and purposes the only stable implementation of a shallow branch :-)19:29
nv1lifeless: No problem with that ,we use python, linux plenty of other free software here, but we don't want to take advantage and skirt the law19:29
pickscrapeThat would allow a review of the bundle on a change by change basis to supplement the whole diff.19:29
nv1awilkins: thanks, that would be helpful to use19:29
lifelessnv1: I appreciate that :). And I'm glad that you want to use bzr19:29
lifelesspickscrape: it would be nice; bundles are essentially a static partial-branch anyway19:29
pickscrapeThen I thought that Bundle Buggy could potentially do the same thing too.19:30
vilapickscrape: you can pull or merge a bundle and then you have a real branch to work with19:30
nv1all: thanks for help and for your time!19:30
lifelessvila: its not as convenient though :)19:31
cr3I'm trying to branch a project and I get: bzr: ERROR: Revision {email-200804...} not present in "revisions.kndx"19:32
pickscrapeMy idea is just for review purposes. Basically looking at each diff can sometimes give a better understanding than the whole lumped patch19:32
pickscrapeIs it worth a wishlist bug for bzr+gtk do you think?19:32
lifelesspickscrape: definitely19:32
pickscrapeok19:32
jambeuno: well, a lot of the changes are doc only, but it turns out I accidently submitted them to bzr.dev instead of bzr-1.5. So they ended up failing right away with NEWS conflicts, which is good for me :)19:33
jambeuno: So I have 1 more to go, so maybe in 1-2hrs...19:33
beunojam, I'll be around for at least 6 more  :)19:34
Lo-lan-doG'day all19:34
Lo-lan-doI seem to have a problem with bzr and bzr-svn in sid19:34
Lo-lan-do$ bzr checkout http://svn.gnome.org/svn/f-spot/trunk19:35
Lo-lan-dobzr: ERROR: Transport error: Server refuses to fullfil the request19:35
Lo-lan-doI guess I need to poke jelmer, unless someone already knows about it :-)19:35
jamLo-lan-do: this sounds like a recurring problem we have been seeing with the gnome.org servers19:37
jamlet me look up the bug19:37
jamLo-lan-do: possibly bug #22907619:37
ubottuLaunchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/22907619:37
cr3the problem doesn't occur if I use sftp rather than bzr+ssh19:38
awilkinsLo-lan-do: try19:38
awilkinsbzr checkout svn+http://svn.gnome.org/svn/f-spot/trunk19:38
Lo-lan-doawilkins: Seems to work better indeed.  Thanks!19:39
jamstatik: ping19:40
statikjam: hi there19:43
jamstatik: where is the 'merged' plugin19:43
abentleyIs anyone here from fluendo?19:43
jamI've gotten several requests for it, probably by the same person19:43
statikjam: bazaar.launchpad.net/~jml/bzr-removable/trunk19:44
jamstatik: that is "merged" with a name like "removable" ?19:45
statikjam: we'll have to beat up jml and teach him how to name plugins19:45
jamstatik: so should it be locally called "removable"?19:45
statiki guess if a branch is merged that makes it removable19:45
asabilabentley: you will catch more fluendo people is you ask in #gstreamer :p19:45
jamI'm guessing he started it thinking XX and ended up writing YY19:46
statikjam: I think with this plugin you have to add a symlink in your plugin dir, because of how the tree is laid out19:46
abentleyasabil: Yes, but someone from fluendo is trying to use bundle buggy, and has misconfigured it to spam me.19:46
asabillol, I see :)19:46
lifelessabentley: I humbly suggest different default config values :)19:48
abentleyWell, I take your point, but there are no defaults, only examples.19:49
abentleyI like to use examples that I know work.19:49
lifelessroot@localhost then?19:49
jamstatik: looking at the log, the last entry is:19:49
jam Add a command to show reasons why a branch cannot be removed.19:49
jam This branch adds 'unremovable' and renames the existing command19:49
jam 'merged-branches' to 'removable'. Both commands have the same structure and19:49
jam use similar code.19:49
lifelessanyhow, I would personally use @example.com19:49
jamstatik: so it seems like the plugin name has officially changed, along with the command19:50
statikjam: that makes more sense.19:50
statiki've renamed it locally now19:50
jamstatik: I updated the blog post as well19:57
statikexcellen19:57
statikt19:57
lifelessabentley: jam: we don't seem to use @property much - is there a reason (other than propertes being a rate thing to use)20:01
lifelesss/rate/rare/20:01
jamlifeless: because pretending a method is an attribute is something we try to avoid20:01
jamI believe20:01
jamfrom what I remember, we only really use it for things which used to be attributes20:02
jambut we wanted to make readonly20:02
jamlike WT.branch20:02
lifelesswell, we tend to use20:02
lifelessdef _foo20:02
lifelessfoo = property(_foo_20:02
lifelessthere20:02
jamlifeless: I think also because for "@property" you can't do read + write portions20:03
jamso if you want an attribute that can be set under certain conditions20:03
lifelessthats more likely; anyhow, I have a attribute I want to add for these stores20:03
jamyou have to do "foo = property(reader, writer, doc)"20:03
lifelessand RemoteRepository needs to forward in the interim20:03
jamlifeless: I don't have any problem with @property, but do you need to forward "setters" as well?20:06
asabiljam: there are various recipes to have RW properties20:07
lifelessno20:07
lifelesssomeone setting this attribute gets to keep all the pieces20:07
lifelessgnight20:22
pickscrapeDoes there exist a plugin to diff openoffice documents?20:41
demodpickscrape: i doubt it unless you are using some xml format (.fodt) or use the diff tools plugin to call something external21:15
beunovila, ping21:29
fbondlifeless: ought I be able to merge between threads in a loom?21:44
fbondi.e. what if I want to move changes down the loom to a lower thread.  My first instinct was: `bzr switch {thread below where I want the changes}; bzr create-thread foo; bzr merge -r thread:bar..thread:baz'21:45
fbondBut that gets me a traceback :)21:46
fbondWhich is obviously a bug, one way or another.  I'm wondering if my expectation for it to do the right thing is reasonable?21:46
krowHi!21:48
krowIs there a simple "how to host my code with bzr with https"21:48
krow?21:48
beunovila, unping, email  :)21:53
beunokrow, are you having problems using https?21:53
krowbeuno: I want to find a hgweb like CGI for bzr. Looking through the manual it implies that this is not an option.21:55
krowbeuno: So I am wondering if it exists outside of the manual.21:55
beunokrow, well, have you seen loggerhead?21:56
krowbeuno: I've seen it mentioned, but the link I found to it was dead.21:57
krowbeuno: I am assuming someone must have done this/wanted it :)21:57
beunokrow, https://launchpad.net/loggerhead/21:57
beunokrow, working demo: http://bazaar.launchpad.net/~mwhudson/loggerhead/better-navigation/files21:58
krowbeuno: Can you push to it via https but allow others to browse via http? It works under apache?21:59
beunokrow, no and no  :)22:00
krowbeuno: Know of anything that does?22:00
beunokrow, not with bzr, no22:01
krowbeuno: Gotcha...22:05
pickscrapedemod: amazing what you learn. I wasn't aware of .fodt files: this has actually pointed me at something else I'd been looking for for a while. :)22:05
beunokrow, their will be something eventually, so keep your eye out for it  :)22:06
demodpickscrape: ,)22:07
pickscrapeShame it's stuffed everything into three lines though...22:07
pickscrapeIs there a decent demonstration of loggerhead anywhere on the net?22:07
beunopickscrape, on launchpad  :)22:08
beuno(code browse *is* loggerhead)22:08
pickscrapeeeeeenteresting....22:10
beunoisn't it?22:12
pickscrapeI'm now thinking about using the trac bzr plugin just to track 'mainline' changes and using loggerhead for all other branches etc.22:14
pickscrapeLoadsa options...22:15
ricardokirknerhi, I was trying out the sftp (and bzr+ssh) transports. I tried (but was unable to achieve it successfully) to connect using a user that could be authenticated by ssh, but who was not allowed a shell on that machine (which are my requirements). Is this possible in some way? I want to use authentication to check out and commit branches, but I dont want to give those users shell access to my host22:18
pickscrapegit provides a 'restricted shell' for this purpose. I wonder how hard it would be to do the same for bzr?22:19
ricardokirknerI am not asking for this to be part of bzr (because I know this has been discussed several times), but merely if anyone has had any experience with this kind of scenarios22:22
fullermdAny of the random "restricted shells" out there should work; you just list bzr as an allowed command.22:23
ricardokirknerso, what I need (on the server side) is to be able to execute the bzr client, even if I have the bzr smart server running?22:24
ricardokirknerfullermd, just to clarify, I am calling the bzr client from a remote machine, not trying to invoke it in the machine I dont have shell access to (but which has the bzr smart server running)22:28
jambeuno: 1.5-final has been officially finished at http://bazaar-vcs.org/bzr/bzr.1.5, I'll try to put together the tarball and the debs, but I might end up asking for help22:39
beunojam, congrats  :)22:40
beunoand, sure, I'll be here22:40
=== beuno changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | bzr-1.5 is out! | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/

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