branching via hard links
Jan Hudec
bulb at ucw.cz
Mon May 15 16:28:50 BST 2006
On Mon, May 15, 2006 at 09:08:56 -0400, Aaron Bentley wrote:
> Ramon Diaz-Uriarte wrote:
> > Thanks for the answer. However, if I understood correctly, that is
> > only when we do not use the "trees" option. But I often want the trees
> > option when I clone local repos (I want to edit in those branches),
> > and I think the gain then goes down. (I actually just tested on a
> > couple of local repos).
>
> Well, there are two things you can hard-link; the .bzr dir, and the
> working tree. Hard-linking the working tree can be pretty dangerous, so
> it's not our default behaviour. But hard-linking the working trees is
> the only way you'd get more efficient storage than a repository with
> - --trees.
Bzr itself will break links in working tree correctly, since it uses
atomic rename to place. Most editors either use atomic rename in place
as well, or can be set to do so. So it would be nice to allow
hardlinking working trees when branching (not by default and it's
certainly not a critical feature).
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060515/242847f1/attachment.pgp
More information about the bazaar
mailing list