/srv/irclogs.ubuntu.com/2008/04/12/#bzr.txt

=== mw is now known as mw|out
awmcclainWhat's the environment variable that controls which editor bzr uses to write a commit message?03:07
bob2EDITOR03:11
jdobrienlooks like BZR_EDITOR03:19
lifelessboth03:28
lifelessBZR_EDITOR will override EDITOR03:28
abadger1999Is there some way to mark a branch as dead with bzr?06:06
abadger1999I know I can rm -rf the branch but not everyone has access to the server so I was wondering if there's a way to do that from within bzr.06:07
ubotuNew bug: #216157 in bzr "push to empty repository causes error" [Undecided,New] https://launchpad.net/bugs/21615707:35
lifelessabentley: any idea about this:08:39
lifeless  File "./start-bundlebuggy", line 26, in <module>08:39
lifeless    from bundlebuggy.controllers import Root08:39
lifeless  File "/home/robertc/bundlebuggy/bundlebuggy/controllers.py", line 41, in <module>08:39
lifeless  File "/home/robertc/bundlebuggy/bundlebuggy/model.py", line 163, in <module>08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/entity.py", line 651, in __init__08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/statements.py", line 48, in process_mutators08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/statements.py", line 35, in process08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/relationships.py", line 916, in handler08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/relationships.py", line 366, in attach08:39
lifeless  File "/usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/properties.py", line 119, in attach08:39
lifelessAttributeError: merge08:39
lifelessit seems to be this:08:46
lifelesshttp://elixir.ematia.de/trac/browser/elixir/trunk/elixir/properties.py08:46
lifelessline 119 does delattr08:47
lifeless-> rel.attach(entity, name)08:47
lifeless  /usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/relationships.py(366)attach()08:47
lifeless-> super(Relationship, self).attach(entity, name)08:47
lifeless> /usr/local/lib/python2.5/site-packages/Elixir-0.5.1-py2.5.egg/elixir/properties.py(119)attach()08:47
lifeless-> delattr(entity, name)08:47
lifeless(Pdb) entity08:47
lifeless<class 'bundlebuggy.model.MergeRequest'>08:47
lifeless(Pdb) entity.merge08:47
lifeless<unbound method MergeRequest.merge>08:47
lifeless(Pdb) delattr(entity, 'merge')08:47
lifeless*** AttributeError: merge08:47
lifelessbut entity here is a class not an instance08:47
bialixhi, anybody for core guys around? when bzr.dev will start 1.5 development?09:58
datobialix: should be started already as far as I know: it always starts after the rc1 release...10:05
bialixdato: I can't find dedicated branch for 1.4 that's why I'm asking. Probably poolie did not finish or publish it yet\10:06
datopossibly10:06
bialixI don't wanna start 1.5 myself because I have not enough information10:09
bialixerr, I hope nobody kill me for my bad english10:11
pygihey folks!11:10
bob2howdy11:17
Bambi_BOFHhi all. a question about the announce list. the domain i view my options on (and i access the list via) is lists.ubuntu.com, but my subscription is for lists.canonical.com. its also seems to be on a different mailman server then the ubuntu lists. is this intentional?13:23
datoBambi_BOFH: afaik lists.ubuntu.com and lists.canonical.com are the same server13:25
Bambi_BOFHdato: that explains a bit i guess.13:28
Bambi_BOFHinterestingly, bzr is listed in https://lists.ubuntu.com/mailman/admin , which i woudl have thought only had one mailmans instance listed13:37
scodeIf I want to maintain a continuous mirror of an upstream CVS repository of non-trivial size/complexity (pkgsrc, freebsd, that kinda stuff), would anyone say there is a suitable software for doing this in a reliable manner at this time? The purpose is to keep a mirror that is branchable in a distributed fashion.14:52
scodecvs2svn/cvs2git + fastimport seems to be recommended, but it seems mostly for one-time conversions.14:53
scodeI know about tailor but have had bad luck with it generally. is there a rock-solid solution that people are using?14:53
james_wthe one used by launchpad isn't *rock* solid, but they use it to do incremental imports of some pretty large stuff.14:57
james_wI can't remember the name though unfortunately, #launchpad might be able to help14:58
scodeThanks!14:59
ubotuNew bug: #216330 in bzr "Bzr crashes when executing log command over smart server protocol" [Undecided,New] https://launchpad.net/bugs/21633015:06
[1]ianHi all.  I am using Bazaar 1.3 for windows and got the error message bzr: ERROR: Generic path error: 'd62egvgtpqqy0o38y0r4.fetch': Failure: unable to15:20
[1]ian rename to '../packs/7f3c802bce73af94369ea3e20c4755dd.pack')15:20
[1]ianwhen I tried to push to a server.  Does anyone know what may have caused this?15:20
jelmerwhat protocol are you using to push?15:21
[1]ianssh, in the form of sftp15:21
jelmerodd - it's trying to do a simple file rename on the remote server but failing15:25
jelmerwhat os is the remote server and what ssh server are you running?15:25
[1]ianserver is running redhat linux with openssh and my client laptop is running parmiko ssh to get authication.conf to work15:33
hersonhow i can send package of slackware for download in bazaar website?15:40
hersoni build the package for slackware15:40
Pengwnwhere do i find the code for serve ?15:43
Pengwnit's not anywhere in ~/lib/python/bzrlib/15:43
datoPengwn: start by cmd_serve() in builtins.py15:44
hersonsomeone?15:44
hersonsomeone here is administrator of bazaar?15:45
Pengwndata thanks.15:46
Pengwnsorry data=dato15:46
datohappens all the time ;)15:47
jelmerherson: Just link it from the download page on the bazaar-vcs.org homepage15:47
jelmerherson: it's a wiki15:47
hersonjelmer: i can put in there?15:48
jelmerherson: yep15:48
hersonjelmer: tanks15:48
Pengwnwow I need to learn python sytax :-)15:51
Pengwnwhat's a def run .15:51
Pengwnis that part of class cmd_serve ?15:52
PengwnI don't think ctags support python ?15:54
datoit does15:55
Pengwnoh ok.15:56
Pengwnhow to a go to a defn is it not [ in vim16:09
Pengwnor is ctags -R not enought to recg python?16:09
datoPengwn: try ctrl-516:11
Pengwnhey when did this feature out :-)16:11
Pengwnor is it only for python?16:12
datono, it's just vim16:13
Pengwnok actually ctrl-] also working .16:13
Pengwnthanks Dato. will remember that.:)16:13
Pengwnwow damn limited support for python. ok think will have to do it the hard way or will try eclipse .16:15
hersonjelmer: i can put my packagens in bazaar launchpad?16:17
jelmerherson: I think so16:18
hersonjelmer: how? you know?16:19
jelmerIf you're a member of the bzr team you should be able to upload16:19
jelmerif you're not yet a member, probably best to email Martin about it16:19
hersonjelmer: but,  Which team works to keep a package of a system?16:26
jelmerherson: how do you mean?16:27
hersonjelmer: I have to create a new slackware team for developers to send and maintain the packages?16:29
hersonpoolie: hey mean, you be here?16:30
matidHello there!18:21
matidJust a quick question - does bzr support nested repos? I'd like to create a 'projects repository with separate repos within it. Is it going to work reasonably?18:22
* beuno points matid at LarstiQ 18:23
matidI'm trying to achieve something like creating an svn repository with svn:externals pointing to other repos.18:23
matidLarstiQ: Hello, are you there?18:28
LarstiQmatid: yes18:34
LarstiQah18:35
* LarstiQ promptly hides again18:35
dato*g*18:35
matid:D18:35
LarstiQmatid: give me a couple of minutes to eat a bit and such18:35
matidLarstiQ: Sure, no problem.18:35
ubotuNew bug: #216424 in bzr "bzr-svn crashes with conflict error" [Undecided,New] https://launchpad.net/bugs/21642418:45
LarstiQmatid: so, nested trees are not done, but what is available is at https://code.launchpad.net/~larstiq/bzr/nested-trees18:55
matidLarstiQ: Cool, thanks.18:57
matidLarstiQ: Do you possibly have any experience working with bzr-svn?18:57
LarstiQmatid: yes, I do.18:59
matidLarstiQ: Which version of bzr-svn would you recommend? I got 0.4.9 working with bzr 1.3.1 but it failed to push changes back via svn+ssh18:59
matidNow I'm trying to do the same with trunk version of bzr-svn and bzr 1.4rc1 but it gives me segmentation faults on push.19:00
LarstiQmatid: Personally I'm now using 0.4.9 with 1.3 and 1.4rc119:01
LarstiQmatid: but the method of access is http with apache2, not svn+ssh19:01
matidLarstiQ: Will try this way.19:04
LarstiQmatid: are you intending to use bzr-svn with the repository you just mentioned, or are the questions unrelated?19:06
matidLarstiQ: You mean nested repos stuff? No.19:06
matidLarstiQ: Trying to pull the same repository via svn+https gives me bus error.19:07
* LarstiQ blinks19:08
matidLarstiQ: http://pastie.caboo.se/17972619:08
matidLarstiQ: And that's what I got when I tried to push with svn+ssh: http://pastie.caboo.se/17972919:12
mathrickhiya19:12
matidmathrick: Hello19:12
mathrickmatid: :)19:12
mathrickis there a real reason there's a difference between bzr pull and bzr up on a checkout?19:12
mathrickit appears to be rather spurious to me19:13
mathrickie. I'd expect bzr pull without any parameters to perform an update19:13
* fullermd wouldn't...19:20
mathrickfullermd: is there a reasonable scenario where you'd want to perform both a pull and up on a checkout and have them do different things?19:20
fullermdOf course.  A checkout is just a working tree on a branch.  update updates the working tree, pull updates the branch.19:21
jelmermatid: seems like you hit a python-subversion bug19:32
matidjelmer: Argh... I'm trying to get it working since morning.19:33
matidjelmer: What is the recommended set up as of now? I'm running trunk 1.6 subversion with bzr 1.3.1 and 0.4.9 bzr-svn.19:34
matidjelmer: On Mac OS X, fyi,19:34
jelmermatid: I wouldn't recommend 1.6 at the moment but rather 1.519:34
matidjelmer: http://svn.collab.net/repos/svn/branches/1.5.x/ or http://svn.collab.net/repos/svn/tags/1.5.0-beta1/ ?19:36
jelmermatid: The crash over https is definitely a subversion bug. I'll see if I can reproduce it here and fix it.19:36
mathrickhumm, 1.5.x hit a release finally?19:36
mathrickjelmer: I *think* I had the same thing some time ago19:36
mathrickbut I can't remember what the problem was19:37
jelmermathrick: It can't occur with 1.4 since it doesn't even have that function19:37
mathrickah19:37
jelmermatid: the other bug I'm not sure19:37
jelmermatid: Can you run this in a python interpreter:19:37
jelmerimport svn.core; print svn.core.SubversionException(1,"blah").args19:38
matid(1, 'blah')19:38
jelmermatid: thanks19:39
jelmermatid: Can you try pushing over svn+ssh again but set the BZR_PDB=1 environment variable? That should put you into a python debugger19:39
jelmeronce you're in the debugger can you run "print err" and "print err.args" ?19:40
matidjelmer: Sure.19:40
matidhttp://pastie.caboo.se/pastes19:41
matidSh**19:41
matidjelmer: print err.args outputs ()19:41
jelmerand type(err) ?19:42
matid<class 'svn.core.SubversionException'>19:42
jelmererr.file and err.line?19:43
matid'subversion/libsvn_ra_svn/internal_auth.c':11419:44
jelmerand perhaps err.apr_err ?19:45
matid21000719:45
matidjelmer: I can try compiling 1.5.x instead of 1.6 to see if it works.19:47
jelmermatid: Once sec, I've got a patch coming up to deal with this issue for svn+ssh19:49
matidjelmer: Cool.19:50
jelmermatid: http://samba.org/~jelmer/bzr/bzr-svn-svn1.5exceptionargs.diff19:55
matidjelmer: Applied, testing atm.19:58
matidjelmer: http://pastie.caboo.se/pastes20:00
matidjelmer: Seems like there's a similar problem in a different file.20:00
jelmerhmm, looks like I need to patch all places where SubversionException is being caught20:04
jelmerit may be more worthwile to fix this upstream since this is a regression from 1.420:04
matidjelmer: I'll try 1.5 in the meantime, what do you think?20:05
jelmermatid: 1.5 probably has the same issue20:06
jelmerI'm discussing it with the svn folks at the moment20:06
matidjelmer: How about https? Should it work with 1.5 and its bindings?20:07
jelmermatid: I think you'll find the segfault is there as well20:08
matidjelmer: We'll see, I'm going to try it out.20:08
matidjelmer: Yeah, it's the same. push with svn+ssh gives me the same error as in 1.6 and switch to svn+https fails with bus error.20:12
matidjelmer: Any news?20:22
jelmermatid: working on two patches in parallel to fix those issues20:24
matidjelmer: Cool, thanks in advance.20:30
matidjelmer: Are you going to publish a patch or simply add it to trunk of bzr-svn?21:58
matidjelmer: I've got to be going soon, that's why I'm asking,.21:58
jelmermatid: I'm working on getting it fixed in svn22:03
matidjelmer: Ah, right.22:03
jelmermatid: The patch is just a workaround around svn breaking22:03
jelmermatid: one of the other svn devs made a patch that should fix it properly22:04
jelmermatid: see http://paste.lisp.org/display/59044#122:04
SlantHow do I do per-repository post-commit hooks in bzr?22:04
SlantThat is, I don't want my post-commit hook to apply to *all* my repos.22:04
jelmermatid: That patch should fix pushing over svn+ssh for you22:05
matidjelmer: Is it 1.6 only?22:05
jelmermatid: both 1.5 and 1.622:05
matidjelmer: Cool.22:05
jelmerSlant: Usually we add a configuration setting and let the post commit hook look at that22:05
jelmerSlant: this is a python-based hook?22:06
Slantjelmer: I just want to run a shell script after a commit.22:06
matidjelmer: Seems like it really fixed the issue....22:15
matidjelmer: But another one appeared - http://pastie.caboo.se/179770 :)22:16
jelmermatid: can you change that line to (self, message, apr_err) ?22:16
matidjelmer: Sure.22:17
SlantIs there a method in place already for having bzr run a script after a commit?22:18
matidjelmer: That's what I got after fixing that line: http://pastie.caboo.se/17977122:19
matidjelmer: What do you think?22:21
jelmermatid: thanks22:22
* jelmer looks up what 210007 means22:22
jelmerSVN_ERR_RA_SVN_NO_MECHANISMS,22:28
jelmermatid: this is over svn+ssh:// or over svn://22:28
jelmer?22:28
matidsvn+ssh22:29
jelmerhmm, that's kinda strange22:30
jelmerit shouldn't be doing any auth stuff itself if you're tunneling over ssh22:31
matidYeah...22:32
jelmerusing svn 1.5 manually with svn+ssh works ok?22:33
matidjelmer: Oh, right.22:40
matidjelmer: It stopped to work :)22:40
matidsvn: Commit failed (details follow):22:40
matidsvn: Cannot negotiate authentication mechanism22:40
jelmermatid: wow, that's odd - this works fine with svn 1.4 ?22:44
matidjelmer: Yeah, it worked without any problems.22:44
jelmerhttp://www.nabble.com/Crazy-svn%2Bssh-commit-regression-in-trunk-and-1.5-td15349239.html looks relevant22:47
jelmermatid: in other words, configuring with --without-sasl may fix it22:48
matidjelmer: Yeah, I've seen it. I'm in the middle of applying it as we speak.22:48
Prettohi there, i will love if anyone could give me a direction on how to upload project code in lauchpad to use bzr22:50
beunoPretto, is your project already versioned with bzr?22:51
Prettobeuno, no, well i think no22:51
beunoPretto, this might help: https://help.launchpad.net/BzrHowto22:52
Prettobeuno, thank you so much22:52
beunoPretto, your welcome, and feel free to drop by with more questions  :)22:53
Prettobeuno, ok... i think i will have a lot of them22:53
matidjelmer: Cool, works great now.22:56
matidjelmer: I'm looking forward to the svn folks fixing svn+https anyway ;)22:57
matidjelmer: Thanks for your help and see you!22:59
jelmermatid: see r30564 in subversion trunk23:00
Prettobeuno, i did it.. thank you23:23
beunoPretto, congrats! :)23:27
awmcclainWhere's the changelog for 1.4r1? I'm getting a zr: ERROR: Cannot lock LockDir(http://bamboo.fluther.com/repos/pandasite/trunk/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()23:32
awmcclainOr, could that be related to the client being at 1.2?23:32
awmcclainOh, wait, no, in this use can client and server are running 1.4 (since they're on the same machine)23:33
awmcclains/can/case23:33
jelmerawmcclain: I think you get that error if you try to push over http23:36
awmcclainLet me get the commnad that failed it...23:36
awmcclainah23:39
awmcclainok23:39
awmcclainafter i do a lightweight checkout23:39
awmcclainover http23:39
awmcclaini'm doing a bzr mv23:39
awmcclainlocally23:39
awmcclainWhy would a local mv need to lock the remote server?23:41
jelmerawmcclain: And you're committing that move, I assume?23:47
awmcclainNo23:47
awmcclainjelmer: bzr mv /usr/local/src/panda-deploy/releases/20080412223856/panda/* /usr/local/src/panda-deploy/releases/2008041222385623:47
jelmerOh, ok. That's weird then. So the "bzr mv" command is actually the one that raises the error?23:47
awmcclainbzr: ERROR: Cannot lock LockDir(http://bamboo.fluther.com/repos/pandasite/trunk/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()23:47
awmcclainYes23:47
awmcclainCorrect23:47
jelmerhmm, that indeed shouldn't happen23:48
jelmerAny chance you can file a bug about this?23:48
awmcclainFTR this worked in 1.223:48
ubotuNew bug: #216533 in bzr "ERROR: Revision ... not present in ... trying to branch libsndfile repository" [Undecided,New] https://launchpad.net/bugs/21653323:51

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