[16:45] <quicksilver> vila: after using DVC for about 7 years I just noticed there are commands to add and rename files :)
[16:46] <vila> quicksilver: :-)
[16:46] <fullermd> Sure, it's Meta-Alt-Super-Quizjax-Dolphin Theta.
[16:46] <vila> quicksilver: wait, rename ?
[16:47] <quicksilver> vila: C-x V f M
[16:47] <quicksilver> M for move I suppose
[16:47] <vila> quicksilver: wow, dvc-rename, so M for renaMe ;-D
[16:48] <quicksilver> well maybe :)
[16:49] <vila> quicksilver: I alternate between using 'bzr add' most of the times and adding from the dvc-status buffer when... I don't know, moon phase probably
[16:49] <vila> fullermd: I don't have a Quizjax key...
[16:50] <vila> how does it look like ?
[16:50] <fullermd> It's the pedal second from the left.
[16:50] <fullermd> I've found it's easiest if you use your tail to actuate it.
[16:50] <quicksilver> vila: I had been using M-! bzr add
[16:51] <quicksilver> but the command has the advantage of defaulting to the current file
[16:51] <quicksilver> or the current entry in a dired window
[16:51] <vila> quicksilver: doh, I so forget about M-! ...
[16:52] <quicksilver> this is always the best channel to discover emacs tricks.
[16:53] <quicksilver> I'd tell you about C-u M-| perltidy, but you're python-using heathens.
[18:06] <ElMonkey> hi there, i'm trying to use bzr-git
[18:06] <ElMonkey> bzr plugins says "bzr_git (failed to load)"
[18:06] <ElMonkey> i can't find any docs on how to troubleshoot this
[18:06] <ElMonkey> are there any requirements i need?
[18:07] <ElMonkey> i just branched lp:bzr-git into the plugins folder
[18:07] <fullermd> Are you calling the plugin dir 'bzr_git'?  You probably want just 'git'...
[18:07] <ElMonkey> fullermd, ok, i'll try that
[18:07] <ElMonkey> fullermd, thanks, that did it!
[18:07] <ElMonkey> wth is up with that?
[18:09] <fullermd> Has to do with the way python imports them and naming conventions.
[18:09] <ElMonkey> then http://wiki.bazaar.canonical.com/BzrPlugins probably shouldnt recommend using underscores :/
[18:30] <jelmer> ElMonkey: underscores are fine
[18:30] <jelmer> ElMonkey: it's just that bzr-git's canonical name is 'git'
[20:45] <felipec> man, Repository::find_branches() is *exteremly* slow on the emacs repo
[20:59] <jelmer> felipec: you really don't want to use find_branches()
[21:00] <felipec> jelmer: so what do I use to find all the branches?
[21:00] <jelmer> felipec: it basically does a "find . | grep \.bzr"
[21:02] <felipec> jelmer: even that shouldn't be this slow
[21:02] <jelmer> felipec: is this on a local repository?
[21:03] <felipec> jelmer: no
[21:03] <felipec> emacs's repository
[21:03] <felipec> ControlDir.list_branches() throws nothing
[21:03] <jelmer> felipec: right, so you're basically recursively browsing the entire remote repository and grepping for .bzr
[21:04] <jelmer> felipec: right, .list_branches() lists colocated branches
[21:04] <felipec> jelmer: even 'find -name .bzr type d' should be fast
[21:04] <felipec> but either way, there's no other option
[21:05] <jelmer> felipec: it checks files as well, and browses recursively - into directories for which a .bzr subdirectory exists too
[21:06] <felipec> a deficiency in bazaar design then
[21:08] <jelmer> felipec: it's a differnet way of thinking about it
[21:08] <jelmer> felipec: generally people work with remote branches
[21:09] <jelmer> felipec: not repositories - repositories are merely a container for revisions, not for branches
[21:10] <jelmer> I would argue that Repository is an inappropriate location for find_branches()
[21:29] <felipec> geez, find_bzrdirs is extremely inefficient
[21:50] <lifeless> I was sure there was a bug about remote finding being slow
[21:54] <felipec> this is my version of find_bzrdir
[21:54] <felipec> http://pastie.org/7711627
[21:55] <felipec> takes 0.99s on emacs repo, while bzr's is 154s
[21:57] <felipec> what is the best way to check if a controldir is a branch, or a repository?