=== jamesh_ is now known as jamesh | ||
=== mmrazik is now known as mmrazik|lunch | ||
=== mmrazik|lunch is now known as mmrazik | ||
=== mmrazik is now known as mmrazik|afk | ||
=== hachre1 is now known as hachre | ||
=== mmrazik|afk is now known as mmrazik | ||
=== wedgwood_away is now known as wedgwood | ||
=== mmrazik is now known as mmrazik|afk | ||
=== mmrazik|afk is now known as mmrazik | ||
=== mmrazik is now known as mmrazik|afk | ||
=== mmrazik|afk is now known as mmrazik | ||
quicksilver | vila: after using DVC for about 7 years I just noticed there are commands to add and rename files :) | 16:45 |
---|---|---|
vila | quicksilver: :-) | 16:46 |
fullermd | Sure, it's Meta-Alt-Super-Quizjax-Dolphin Theta. | 16:46 |
vila | quicksilver: wait, rename ? | 16:46 |
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:47 |
quicksilver | well maybe :) | 16:48 |
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:49 |
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:50 |
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:51 |
quicksilver | this is always the best channel to discover emacs tricks. | 16:52 |
quicksilver | I'd tell you about C-u M-| perltidy, but you're python-using heathens. | 16:53 |
=== deryck is now known as deryck[afk] | ||
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:06 |
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:07 |
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:09 |
jelmer | ElMonkey: underscores are fine | 18:30 |
jelmer | ElMonkey: it's just that bzr-git's canonical name is 'git' | 18:30 |
=== deryck[afk] is now known as deryck | ||
felipec | man, Repository::find_branches() is *exteremly* slow on the emacs repo | 20:45 |
jelmer | felipec: you really don't want to use find_branches() | 20:59 |
felipec | jelmer: so what do I use to find all the branches? | 21:00 |
jelmer | felipec: it basically does a "find . | grep \.bzr" | 21:00 |
felipec | jelmer: even that shouldn't be this slow | 21:02 |
jelmer | felipec: is this on a local repository? | 21:02 |
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:03 |
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:04 |
jelmer | felipec: it checks files as well, and browses recursively - into directories for which a .bzr subdirectory exists too | 21:05 |
felipec | a deficiency in bazaar design then | 21:06 |
jelmer | felipec: it's a differnet way of thinking about it | 21:08 |
jelmer | felipec: generally people work with remote branches | 21:08 |
jelmer | felipec: not repositories - repositories are merely a container for revisions, not for branches | 21:09 |
jelmer | I would argue that Repository is an inappropriate location for find_branches() | 21:10 |
felipec | geez, find_bzrdirs is extremely inefficient | 21:29 |
lifeless | I was sure there was a bug about remote finding being slow | 21:50 |
felipec | this is my version of find_bzrdir | 21:54 |
felipec | http://pastie.org/7711627 | 21:54 |
felipec | takes 0.99s on emacs repo, while bzr's is 154s | 21:55 |
felipec | what is the best way to check if a controldir is a branch, or a repository? | 21:57 |
=== wedgwood is now known as wedgwood_away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!