Bazaar repository size benchmarks
Matthieu Moy
Matthieu.Moy at imag.fr
Tue Jun 3 21:38:03 BST 2008
Christophe TROESTLER <Christophe.Troestler+bzr at umh.ac.be> writes:
> On Tue, 03 Jun 2008 11:09:54 -0400, Stefan Monnier wrote:
>>
>> >> You need to be using an editor that breaks hard-links on save to use this
>> >> feature safely. Or a more manual process, of course.
>>
>> > It would be really nice if some tips on how to achieve that were added
>> > to http://bazaar-vcs.org/EmacsTips (if possible, only for files under
>> > bzr so as not to change emacs 22 default behavior).
>>
>> Such things could also be added directly to Emacs's vc-bzr.el (or vc.el
>> if it's not specific to Bzr). Although my opinion is that using
>> hardlinks like that is just a bad idea.
>
> I agree that hard links are a bad idea (high risk) but avoiding the
> replication of an entire working tree to develop a feature (which may
> modify only a few files) is also good to have.
>
> What about the following scheme: have a repository with all your
> branches but --no-trees and have a directory where one does
> --lightweight checkouts? To be convenient one certainly would like a
> --replace (or such) option so that the directory discards the old
> checkout and replaces it with the new one (and choke if there are
> uncommited changes). Or maybe a plugin could support this well?
Isn't your "--replace" what "bzr switch" does?
But indeed, this is the point where the "one directory per branch"
starts being more complex that the "many branch at the same location"
IMHO.
--
Matthieu
More information about the bazaar
mailing list