[11:26] <einalex> hi again! I have trouble using WorkingTree.move() to move a file to the root directory (of the branch)
[11:27] <einalex> I get a BzrMoveFailedError telling me that the directory is not versioned...which is clearly nonsense
[11:29] <einalex> what parameter am I suppsoed to use for to_dir to get it to work? (".", "/", "/path/to/bzr/repo/" all did not work)
[12:00] <einalex> worked with "" ...
[16:31] <mortrca> fullermd: ping?
[16:32] <fullermd> Hmm?  (not really here right now)
[16:33] <mortrca> I'm still trying to figure out the "bzr: ERROR: Server sent an unexpected error: ('error', 'JailBreak', "An attempt to access a url outside the server jail was made: 'file:///var/www/site/'.")" issue that I mentioned ~19 hours ago
[16:33] <mortrca> To which you responded that "the env that hooks run in not allowing access to arbitrary places in the FS"
[16:34] <fullermd> Yes, that's deep in innards/API space, where I don't play.  Hooks run in a jail that limits what they can do/where they can go in the filesystem; 's the limit of my knowledge.
[16:36] <mortrca> According to the docs "Mirroring currently only works on local paths or URLs that imply ssh access to the remote machine (sftp://, bzr+ssh:// or svn+ssh://)."
[16:36] <mortrca> Which says to me that this should be working
[16:36] <mortrca> Do you have any suggestions for me? Another place/person that I should ask?
[16:37] <fullermd> I don't, no.  On the high end, I've never looked at the plugin you're using, and on the low end, I don't know much of anything below the CLI.
[16:38] <fullermd> jam or lifeless would know more, but I don't know when they're around to chat.
[16:38] <mortrca> Alright, thanks.
[16:38] <fullermd> Maybe vila too (though he's not even pseudo-online right now)
[16:39] <mortrca> alright, I'll try again a little later.
[16:56] <LarstiQ> mortrca: do you have a bzr branch at /var/www/site?
[16:57] <LarstiQ> and/or repository
[16:57] <LarstiQ> mortrca: because that looks like a containing-bzrdir search that doesn't find what it is looking for under /var/www/site
[16:59] <jam> mortrca: please feel free to send an email to the mailing list with a bit more context. I'm not quite sure how things are trying to access the branches, or what triggers are happening on their behalf.
[16:59] <jam> Is it via ssh, via http, via etc.
[16:59] <jam> And how is the service configured.
[17:34] <mortrca> LarstiQ: Yes, I do have a branch there.
[17:40] <LarstiQ> mortrca: and its repository?
[17:40] <LarstiQ> mortrca: `bzr info` will have the info
[17:41] <mortrca> Standalone tree (format: 2a)
[17:41] <mortrca> Location:
[17:41] <mortrca>   branch root: .
[17:41] <mortrca> Related branches:
[17:41] <mortrca>   parent branch: <path>
[17:42] <mortrca> Is that what you were looking for?
[17:43] <LarstiQ> mortrca: yeah, that proves my theory wrong :)
[17:43] <mortrca> okay
[17:44] <mortrca> I guess I'm headed to the mailing list.
[17:44]  * LarstiQ nods
[17:44]  * LarstiQ can't think of what else it could be atm
[17:45]  * lifeless is around
[17:47] <LarstiQ> lifeless: hi!
[17:50] <lifeless> LarstiQ: hi!
[17:51] <LarstiQ> lifeless: belated congratulations on your new job
[17:51] <lifeless> LarstiQ: thanks :)
[17:59] <dobey> is there some special thing i'm perhaps forgetting to do, to make bzrlib.branch.Branch.open('lp:foo') work properly? just doing that gives me an 'UnsupportedProtocol' error: 'Unsupported protocol for url "lp:foo"'
[18:01] <LarstiQ> dobey: bzrlib.plugin.load_plugins()?
[18:02] <LarstiQ> dobey: the lp: directory service is implemented by the launchpad plugin
[18:02]  * LarstiQ is guessing it isn't loaded
[18:16] <dobey> thanks LarstiQ
[18:17] <dobey> what's the simplest way to create a copy of a branch on lp? from lp:~foo/bar/baz to lp:~foo/bar/baz-2-0 for example
[18:17] <dobey> old_branch.create_checkout(new_url) gives me an UpgradeRequired for the nwe branch, which is odd since it just created it and it is 2a
[18:19] <LarstiQ> dobey: the target is on lp also?
[18:23] <dobey> LarstiQ: yes
[18:23] <dobey> and launchpad API has no copy operation on its branch objects
[18:25] <dobey> i want to take a trunk branch for one project, and create a stable series and accompanying branch for it; with the new branch being unstacked.
[18:26] <LarstiQ> dobey: hmm
[18:27] <LarstiQ> dobey: .create_clone_on_transport?
[18:28] <dobey> i'm looking at that now, but what is "to_transport" exactly? i suspect passing in a url will just give me an error
[18:30] <LarstiQ> dobey: bzrlib.transport.get_transport_from_url(url) should help I think
[18:32] <dobey> get_transport_from_url is giving me the UnsupportedProtocol error; and just passing in the url to create_clone_on_transport gives me an UpgradeError after it created an empty branch on lp :-/
[18:32] <dobey> anyway, i need to run for a few. so bbiab
[19:17] <dobey> sorry, back now
[19:28] <dobey> this is just not working at all :(
[19:52] <jelmer> dobey: hi
[19:52] <jelmer> dobey: what is the URL you are passing to get_transport_from_url exactly ?
[19:53] <dobey> UnsupportedProtocol: Unsupported protocol for url "lp:~ubuntuone-control-tower/dirspec/stable-4-2"
[19:53] <dobey> and yes, i am calling load_plugins(), and bzrlib is happy to open the branch for lp:dirspec
[19:56] <fullermd> I'm not sure directory services reach down that far.  g_t_f_u probably only takes a URL.
[20:24] <jelmer> dobey: you have to resolve directory services first
[20:25] <jelmer> dobey: that will translate lp:foo -> bzr+ssh://bazaar.launchpad.net/~owner/foo/trunk
[20:25] <dobey> jelmer: how to do that?
[20:25] <jelmer> dobey:
[20:26] <jelmer> from bzrlib.directory_service import directories
[20:26] <jelmer> new_location = directories.dereference(old_location)
[21:27] <dobey> thanks jelmer. got something mostly working how i want now. :)
[21:28] <jelmer> dobey: cool