/srv/irclogs.ubuntu.com/2008/01/27/#bzr.txt

pygihello01:58
pygitrying to configure bzr smart server01:58
pygiI get this when I try to pull01:58
pygibranch that is01:58
pygibzr: ERROR: Unknown branch format: "error\x01Generic bzr smart protocol error: bad request 'GET /libisofs-ng/.bzr/branch-format HTTP/1.1\\r'"01:58
jelmerpygi: Looks like you are using http to access it??01:59
pygijelmer, yup02:00
pygijelmer, why wouldnt I be able to do that?02:00
jelmerpygi: The smart server talks a custom protocol02:01
jelmeruse the bzr:// branching scheme02:01
pygijelmer, and no way I could make it use http? :P02:01
jelmerpygi: No, you can use any HTTP server if you want http02:03
pygiif I had access, then yes :)02:04
jelmerpygi: ?02:07
pygijelmer, to apache I meant :)02:07
pygidont worry, I can just use bzr :)02:07
pygibzr protocol I meant :p02:08
pygiok, one more question02:09
pygiI run bzr serve on a custom protocol02:09
pygihow do I do branching/etc from that port?02:09
Odd_Blokepygi: 'bzr branch bzr://<host>:<port>/<path, I would expect.02:13
Odd_BlokeI haven't used bzr serve in months though. :p02:13
pygihmmmm, connection refused02:17
pygiI'll have to look into it02:17
pygithanks Odd_Bloke02:17
abentleyspiv: ping04:54
ubotuNew bug: #186285 in bzr "commit fails if the working tree contains an unknown file with undecodable name" [Undecided,New] https://launchpad.net/bugs/18628507:51
lifelesshi08:47
i386lifeless: hi09:03
snodmorning, are there bzr 1.1 packages for ubuntu gutsy available? the repository listed on the site still has 1.011:54
datosnod, try https://launchpad.net/~bzr/+archive/11:54
snodah thanks alot :)11:56
ubotuNew bug: #181773 in bzr-svn "Incorrect revision numbers in bzr:revision-id:v3-trunk1" [Undecided,New] https://launchpad.net/bugs/18177315:35
=== doko_ is now known as doko
jelmerhmm, does bzr have problems with hardlinks?15:53
jelmerwhat sort of problems could a vcs have with hardlinks?15:53
radixjelmer: multiple hardlinks to the same file within one branch?16:14
jelmerradix: Why is that a problem?16:14
radixjelmer: I'm just asking if that's what you're doing.16:15
jelmerI somehow have the feeling I'm missing something obvious :-)16:15
radixIt sounds like it could definitely lead to some weird behavior, but I don't know, it depends what you're expecting.16:15
radixjelmer: "hard links are scary" is the obvious thing :)16:15
jelmer(-:16:15
datojelmer: do you mean hardlinks outside from .bzr only?16:15
datooutside of*16:15
jelmerdato: I'm adding support for bzr to etckeeper16:15
jelmerdato: and it complains for git and hg when it sees hardlinks16:16
jelmerI was wondering if it should do that for bzr as well16:16
radixImagine two files linked to the same resource. Merge from a branch that changes each of them in distinct ways.16:17
radixhard links are generally a bad idea. :-)16:17
snodi just wonder: has anybody tried to use bzr over sshfs?16:19
radixsnod: no, but I wouldn't want to, because sshfs is really unreliable (for me at least)16:20
radixsnod: I assume you're talking about the FUSE-using filesystem16:20
radixI wonder why you'd want to use it instead of just pushing to bzr+ssh URLs16:20
snodi don't want to commit every tiny change16:22
radixtiny change?16:22
radixwhy would you need to do that?16:22
snodas far as i understand a push just pushed commited revisions?16:23
radixyes.16:23
snod*pushes16:23
radix(you can also 'bind', which creates a checkout, which means committed revisions are automatically pushed)16:23
snodso if i edit a file locally and have to try/execute/whatever it on a remote place i would have to do a commit for every change i do in the src file?16:24
radixok, so you want to try/execute/whatever it on a remote place. that wasn't clear.16:24
snod:)16:25
asabilyou will need a bzr update16:25
asabilon the remote side to update the tree16:25
radixasabil: well, he doesn't even want to commit in the first place, so update isn't going to help either :)16:25
snodi just ried bzr on an sshfs-mounted dir16:26
snodgives me an error: bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'abort'16:26
radixsnod: well, like I said, I would avoid using sshfs because I've found it pretty unreliable, even for simple read-only stuff.16:26
snodi will keep that in mind :)16:26
snod(the error occurs on commit, init and add worked)16:27
asabilsnod: why don't you want to commit ?16:32
jelmerwow, that was easy16:32
jelmeretckeeper support for bzr in < 30 minutes16:32
snodasabil: the changes are tiny like forgotten brackets or a misspelled word16:34
asabilsnod: those deserve commits as well16:34
asabilsnod: what you are trying to do will bring troubles upon you16:35
asabiland it is exactly what makes Visual Source Safe so ... Unsafe16:35
=== weigon__ is now known as weigon
ubotuNew bug: #159143 in bzr-svn "Handling of svn:author" [Wishlist,Triaged] https://launchpad.net/bugs/15914317:45
vilaradix: I use bzr over sshfs for months without nay problems (using -o workaround=rename solved the only problem I ever encountered)18:37
=== pbor is now known as pbor|out
jelmerhey vila18:43
jelmervila: do you happen to know how to retrieve a configuration variable for a specific section?18:43
vilajelmer: from memory, it should be possible to query a ConfigObj object for a specific section and get a dict in return19:08
jelmervila: Ah, yep19:17
jelmerJust found it19:17
jelmerhmm, is it possible to change the tree from a pre-commit hook?19:21
jelmercrap, apparentlynot :-(19:22
* jelmer files a bug19:25
ubotuNew bug: #186422 in bzr "Ability to modify the tree from a pre-commit hook" [Undecided,New] https://launchpad.net/bugs/18642219:30
bronsonI have a legacy svn tree...   I'd like to check a bzr project into a branch in that tree.19:38
bronsonIs there a good way of doing this?19:38
bronsonNormally I want to manipulate svn trees in bzr...   This time, though, I want the opposite.19:38
jelmerbronson: I think "bzr svn-push" is what you're looking for19:45
bronsonjelmer: hm, probably.19:46
bronsonI'll have to read up on it.19:46
bronsonjelmer: "bzr: ERROR: These branches have diverged. Use the merge command to reconcile them."19:53
jelmerbronson: You can't push to an existing branch19:53
bronsonBut that doesn't really make sense since this branch has never existed in svn.19:53
bronsonThe branch in svn is empty.19:53
jelmerbronson: Empty is an existing branch19:53
bronsonHm, I'm not understanding...  How am I supposed to set up the svn-push?19:54
jelmerbronson: from inside of the bzr branch, run something like:19:55
jelmerbzr svn-push svn://host/repository-path/branches/mynewbranch19:56
jelmerwhere svn://host/repository-path/branches exists but "newbranch" doesnt yet19:56
bronsonAh.  And then I populate mynewbranch with another bzr branch, then push it all back up to the host repo.19:57
lifelessmoin21:44
brink_Does bzr split work?21:51
jelmerhey lifeless22:13
igcmorning22:41
abentleylifeless: morning22:43
lifelesshey abentley22:44
lifelesspublic holiday here, so I'm not really around :)22:44
abentleyWhen'd you get back?22:44
abentleybrink_: yes22:46
igchi lifeless (who isn't actually around) :-)22:48
igchi abentley22:48
abentleyHi igc22:48
igcabentley: still in Oz?22:49
abentleyNope, got home yesterday.22:49
igccool. Hope you had a good trip22:49
abentleyIt was good, and I'm glad I went.  I'm missing the warm weather.22:50
igc:-)22:50
abentleyWent from a t-shirt to a fleece shirt and down jacket.22:50
brink_abentley:  I can use split to remove a directory, but the directory turns into a totally messed up branch.   I've tried every combination of upgrades from pack-0.92 I could think of.   None of them seem to work.  I'm using 1.1o on OS X.22:55
abentleyIn what way is it messed up?22:55
brink_It's messed up like this: bzr 1.1.0 on python 2.5.1.final.0 (darwin)22:57
brink_arguments: ['/opt/local/bin/bzr', 'commit', '-msplit']22:57
brink_encoding: 'US-ASCII', fsenc: 'utf-8', lang: None22:57
brink_plugins:22:57
brink_  difftools            /Users/joe/.bazaar/plugins/difftools [unknown]22:57
brink_  extmerge             /Users/joe/.bazaar/plugins/extmerge [unknown]22:57
brink_  launchpad            /opt/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]22:57
brink_  lessdiff             /Users/joe/.bazaar/plugins/lessdiff [unknown]22:57
brink_  multiparent          /opt/local/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc [unknown]22:57
brink_*** Bazaar has encountered an internal error.22:58
brink_    Please report a bug at https://bugs.launchpad.net/bzr/+filebug22:58
brink_    including this traceback, and a description of what you22:58
brink_    were doing when the error occurred.22:58
abentleyPlease use a pastebin for that.22:58
brink_Sorry.  What's pastebin?22:58
abentleyubotu: paste22:58
ubotupastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)22:58
brink_Here is the error http://paste.ubuntu-nl.org/53801/23:00
brink_Basically, I did a bzr split <dir>, went into <dir> and did a bzr commit -m"split"23:02
brink_It seems like bazaar decided all the stuff from the root needed to be renamed into the subdirectory.   When I do a commit on it then it chokes.23:03
abentleybrink_: I believe a bug is already registered for that.23:03
abentleyI'm looking it up23:03
brink_Is there a work around?23:04
abentleybug 18521123:04
ubotuLaunchpad bug 185211 in bzr "bzr commit fails on imported branch when renaming a directory with non-ASCII-name" [Critical,Confirmed] https://launchpad.net/bugs/18521123:04
igcbbiab23:05
abentleyI'm not aware of one.23:06
brink_I do not believe that any of my characters are non-ascii.23:06
abentleyThe traceback is the same, isn't it?23:06
brink_That may be, but if so the title of the bug is incorrect.  My characters are all ASCII.23:07
abentleyWell, I would say these look like two symptoms of the same underlying problem.23:10
abentleybrink_: I can't reproduce the bug here, btw.23:22
abentleyNot with split, I mean.23:22
brink_Not sure I can make a smaller example.  I'll give it a try.23:43

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