[00:58] <Noldorin_> lifeless: hello?
[06:37] <Adys> bzr: ERROR: Unable to connect to target of bound branch BzrBranch6('sftp://sigrie/~/projects/sigrie/') => file:///home/sigrie/projects/sigrie/: Not a branch: "/home/sigrie/projects/sigrie/".
[06:37] <Adys> /home/sigrie/projects/sigrie: Tree is up to date at revision 766.
[06:37] <Adys> Any idea what's wrong? I moved that folder recently
[09:02] <bsdemon> Hi, is there any tutorial on bzrlib?
[09:02] <bsdemon> I want to build simple wiki app on top of bzr repository
[09:13] <jml> bsdemon, no tutorial, per se.
[09:13] <jml> bsdemon, it's probably best to learn by browsing the code at bzrlib/builtins.py
[09:13] <bsdemon> jml, ok, thanks
[09:14] <bsdemon> I just want to manipulate bzr branch like adding, commiting, viewing diffs
[09:14] <bsdemon> but api seems to be complex
[09:15] <jml> bsdemon, it's actually pretty good, as big apis go
[09:15] <bsdemon> are there facades, that simplifies apis?
[09:16] <bsdemon> I said complex, not bad :)
[09:16] <jml> bsdemon, I guess I should have said "its complexity matches the problem domain, for the most part"
[09:16] <jml> bsdemon, ummm, not really.
[09:16] <jml> bsdemon, I mean, apart from the command line :)
[09:17] <bsdemon> :) ok, will tru to dive in sourcecode
[09:30] <bsdemon> Can I create in memory branch from another branch?
[09:41] <lifeless> yes, if you branch onto a MemoryTransport
[09:41] <lifeless> however, thats probably not what you want to do
[09:41] <lifeless> I think you want to make a new commit ?
[09:43] <bsdemon> yes
[09:44] <lifeless> the core api here is Branch.get_commit_builder
[09:44] <lifeless> if you wish to operate totally from memory, you will want to look at MemoryTree
[09:44] <bsdemon> thanks
[09:45] <lifeless> if you want to operate from disk (and I advise that, as most page hits will beon the current content)
[09:45] <lifeless> then you should look at WorkingTree
[09:45] <lifeless> specifically: tree = bzrlib.workingtree.WorkingTree.open('path')
[09:45] <lifeless> tree.commit('new commit')
[09:45] <lifeless> you may wish to use both of these, MemoryTree for edits, WorkingTree for serving page loads.
[09:45] <lifeless> I dunno :)
[09:47] <bsdemon> thanks, that is all i was thinking about
[09:47] <bsdemon> i want to implement some comet-powered interface for wiki edits like ethrepad does
[14:04] <Adys> http://pastebin.com/d3a63720a
[14:04] <Adys> Was this ever fixed? I'm running 1.13 and cant upgrade on that server
[14:04] <Adys> its something to do with symlinks i think
[15:38] <vila> Adys: yes it has been fixed in later versions
[15:39] <vila> Adys: It's not related to symlinks as far as I recalled, but I'm surprised it was in a released version, what os are you using ? What does 'bzr version' says ?
[15:39] <Adys> gentoo
[15:39] <Adys> 1.13
[15:40] <Adys> 1.13.2 sorry
[15:40] <vila> hmm, someone said gentoo already ships 2.0rc1 :-/
[15:40] <Adys> O_o
[15:40] <Adys> ill ask my sysadmin again, a week ago that was still the latest version
[15:41] <vila> I'm not a gentoo expert but isn't there overlays that can provide more recent versions ?
[15:41] <Adys> possibly
[15:41] <Adys> thanks
[15:42] <vila> Adys: what does 'bzr info' says in that branch >
[15:42] <vila> Adys: what does 'bzr info' says in that branch ?
[15:42] <Adys> I fixed the branch
[15:42] <Adys> recreated it
[15:42] <vila> o_O
[15:42] <Adys> deleted it, pushed again remotely
[15:42] <Adys> new bzr init*
[15:42] <Adys> Standalone tree (format: pack-0.92)
[15:43] <vila> ha, I think you had a checkout before and a branch now, the bug was with checkouts as I recall
[15:43] <Adys> That's quite possible, yeah
[15:44] <vila> so worked around the bug, but you should be ok now
[15:44] <Adys> Yep
[15:44] <Adys> Im getting bzr upgraded to 1.18 right now anyway
[15:44] <vila> good
[15:45] <vila> err, but how do you do that ?
[15:45] <vila> you just said you couldn't upgrade no ?
[15:45] <Adys> no idea I'm not the one in charge :)
[15:45] <Adys> Well a week ago i couldnt
[15:45] <Adys> gonna see if I can update anything now
[16:39] <ramvi_> I get bzr: ERROR: Not a branch: /home/ramviroot/source/wubi/lp:wubi/ when trying to do bzr branch lp:wubi
[16:40] <ramvi_> I'm on a debian machine
[16:41] <ramvi_> what do I do?
[16:43] <LarstiQ> ramvi_: ensure you have the launchpad plugin
[16:43] <ramvi_> LarstiQ I don't know how to get it in debian etch. In ubuntu it's installed automatically
[16:43] <LarstiQ> ramvi_: which is included in the bzr release, so either you ran with --no-plugins or someone removed it
[16:43] <ramvi_> right.. I didn't run with no-plugins
[16:44] <LarstiQ> ramvi_: what does `bzr plugins` say?
[16:44] <ramvi_> azaar (bzr) 0.11.0
[16:44] <LarstiQ> that is a very ancient bzr
[16:44] <ramvi_> It's the one on my servers repos
[16:44] <ramvi_>  /usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad
[16:44] <LarstiQ> ramvi_: I don't know if there are backports for etch
[16:44] <LarstiQ> ramvi_: you do know etch is old-stable?
[16:45] <ramvi_> yeah, no - I don't know a lot about debian
[16:45] <ramvi_> it says I have the launchpad plugin
[16:45] <LarstiQ> ramvi_: the current stable Debian release is lenny, etch is no longer supported by Debian (but you could see if backports.org is of any help)
[16:46] <LarstiQ> ramvi_: ok, any info in ~/.bzr.log then?
[16:47] <ramvi_> I think the plugin failes
[16:47] <ramvi_> Traceback (most recent call last):
[16:47] <ramvi_>   File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 611, in run_bzr_catch_errors
[16:48] <LarstiQ> ramvi_: could you use a pastebin to show the entire traceback?
[16:49] <ramvi_> LarstiQ: http://pastebin.com/d1af972b2
[16:51] <LarstiQ> ramvi_: hmm. I can only interpret that as the launchpad plugin no supporting lp: in 0.11 yet
[16:51] <LarstiQ> ramvi_: you really should try getting a newer bzr
[16:53] <ramvi_> LarstiQ: Done. it's working
[16:53] <ramvi_> Thanks for your time LarstiQ
[17:21] <Lo-lan-do> LarstiQ: Etch *is* supported by Debian.
[17:22] <Lo-lan-do> At least until 2010-02-14 or Squeeze releases, whichever comes first.
[17:23] <LarstiQ> Lo-lan-do: ah hm, maybe I let my own need-to-upgrade-old-etch server bleed into that too much :)
[18:10] <Noldorin> hello
[18:10] <Noldorin> could someone please point me to the download for the smart server?
[18:12] <Noldorin> can't seem to fgind it anywhere
[18:12] <SamB> Noldorin: it's actually included in bzr, afaik
[18:12] <SamB> check the manual
[18:12] <vila> Noldorin: it's part of bzr itself, nothing more to download
[18:12] <SamB> ... and the easiest way to use it is probably via SSH
[18:12] <Noldorin> i had it on my server at one point, but managed to delete it :P
[18:13] <Noldorin> i see
[18:13] <Noldorin> SamB: can't seem to find the bzr_smart_server file though
[18:13] <SamB> Noldorin: file?
[18:14] <Noldorin> bzr_smart_server.py
[18:14] <Noldorin> i mean
[18:14] <SamB> why would there be a file called that?
[18:14] <Noldorin> not sure, but that's what i had on my server before
[18:14] <Noldorin> it's where the URL rewriting module redirects /.bzr/smart to
[18:14] <Noldorin> the CGI gateway i believe
[18:15] <Noldorin> vila: any ideas?
[18:16] <vila> the name doesn't ring any bell, I suspect you created it locally...
[18:16] <SamB> the manual mentions "bzr-smart.fcgi"
[18:16] <Noldorin> problem was, a friend set this up for me, and i wasn't sure precisely what he did
[18:16] <Noldorin> right
[18:17] <Noldorin> well my server doesn't have fcgi, only cg
[18:17] <Noldorin> cgi*
[18:20] <SamB> Noldorin: what server is that?
[18:21] <SamB> anyway ... http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#serving-bazaar-with-fastcgi somehow seems the relevant piece of documentation even if you *aren't* using fastcgi?
[18:21] <Noldorin> it's a shared server provided by storminternet
[18:21] <SamB> hmm, oh, wait
[18:21] <Noldorin> cheers. i'll take a look
[18:21] <SamB> http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#running-a-smart-server is probably better ;-)
[18:21] <Noldorin> it's windows/iis6 btw
[18:21] <Noldorin> right
[18:21] <Noldorin> i saw that already
[18:22] <Noldorin> doesn't seem to instruct how to set it up
[18:23] <SamB> hmm.
[18:23] <Noldorin> SamB: the file contains a class named WSGIServer, in case that helps
[18:24] <SamB> http://bazaar-vcs.org/ServerGuide/IIS maybe ?
[18:28] <Noldorin> SamB: that would *seem* to be what i want/..
[18:28] <Noldorin> though it doesn't mention a .py file
[18:29] <Noldorin> i'll take a look later. got to be off now
[18:29] <Noldorin> thanks :)
[18:29] <Noldorin> bye
[19:08] <jelmer> SamB: you can import a subtree with svn-import, just specify the subtree's URL
[19:14] <SamB> jelmer: actually, I just wanted to import *to* a subtree of a shared bzr repository...
[19:15] <jelmer> SamB: that would only work for by-reference nested trees
[19:15] <jelmer> SamB: and those don't work yet..
[19:29] <SamB> jelmer: I'm not talking about nesting of working trees or anything
[19:29] <SamB> just importing the branches into a subdirectory of the shared repository ...
[19:29] <SamB> ... so I can keep them straight from non-svn-imported branches
[20:18] <lifeless> moin moin
[20:35] <lifeless> jelmer: hi
[21:10] <lifeless> jelmer: /win 55
[21:51] <lifeless> WTB a reviewer
[22:24] <mwhudson> lifeless: good luck with that at this time of day, i guess
[22:25] <lifeless> mwhudson: oh look, a python coder.
[22:26] <lifeless> mwhudson: https://code.edge.launchpad.net/~lifeless/bzr/bug-423818/+merge/11279
[22:26] <lifeless> mwhudson: its a) small b) small and c) small
[22:28]  * mwhudson waits for */5
[22:44] <lifeless> mwhudson: it has diff now
[22:45] <mwhudson> lifeless: but now i'm on the phone i'm afraid
[22:45] <lifeless> meh, its just your boss
[22:45] <lifeless> :)
[22:53] <lifeless> mwhudson: so if you can have a look when your call ends, that would be great
[22:54] <mwhudson> ok
[22:54] <wgrant> mwhudson: Ah, the BMP diff generator is only */5? That explains a bit.
[23:29] <Necoro> hey - I'm currently trying the "bzr switch" approach, i.e. having one central reposority and a lightweight checkout where one can switch between the branches
[23:29] <Necoro> but one thing is missing: listing which branches exist in the repository ...
[23:29] <Necoro> has anyone an idea how to achieve this?
[23:46] <lifeless> bzr branches ..
[23:47] <Necoro> ".." won't work ;) (different locations)
[23:48] <lifeless> well, $path :P
[23:48] <Necoro> but probably (as long as I only have one project using the shared repo), an alias could do it
[23:48] <lifeless> mwhudson: I have my repo at ..
[23:48] <lifeless> with the working tree under it
[23:48] <lifeless> mwhudson: typo
[23:48] <Necoro> (hmm - and bzr branches takes quite some time :| ... well better than nothing)
[23:49] <lifeless> Necoro: do the repo branches have trees? or is it on the network ?
[23:49] <Necoro> lifeless: currently they have trees
[23:49] <lifeless> that will make branches slower
[23:49] <Necoro> ah ok
[23:49] <lifeless> it has to read all the directories
[23:53] <poolie> hello all
[23:53] <lifeless> poolie: hi
[23:54] <lifeless> https://code.edge.launchpad.net/~lifeless/bzr/bug-423818/+merge/11279
[23:54] <lifeless> ^- I can haz review please poolie
[23:55] <Necoro> btw: is there a difference (in functionality) between bzr-pipelines and bzr-looms -- or is the former one just a re-implementation of the latter?
[23:55] <lifeless> spiv: https://code.edge.launchpad.net/~spiv/bzr/insert-stream-check-chk-root - you need to update the branch on lp I think
[23:56] <lifeless> Necoro: looms can version the precise state of the set of branches
[23:56] <poolie> hi lifeless
[23:56] <lifeless> Necoro: pipelines cannot
[23:56] <lifeless> Necoro: not everyone needs that feature; looms are somewhat less polished I think. I wish I had a week to clean up looms.
[23:56] <lifeless> afk for a little