branching via hard links

Robert Collins robertc at robertcollins.net
Mon May 15 03:52:33 BST 2006


On Sun, 2006-05-14 at 12:28 +0200, Ramon Diaz-Uriarte wrote:
> 
> Just out of curiosity: Would it make sense (at least undir Linux/Unix)
> systems to use, when doing a "bzr branch" some kind of  "cp -r -l"?
> The main advantage is speed (and storage). Sure, there would be a need
> to unlink the modified files, so maybe this is more trouble than is
> worth it. The nice thing about hard links  is that it makes
> branching/cloning a lot more inexpensve. (I think Mercurial uses hard
> links when possible, and this I think accounts in part for the 5x to 

hg's local clone is a simple recursive copy. This is fast, but has the
downside that a corrupt repository is not noticed.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060515/7f07e17a/attachment.pgp 


More information about the bazaar mailing list