branching via hard links

Jan Hudec bulb at ucw.cz
Sun May 14 15:31:26 BST 2006


On Sun, May 14, 2006 at 12:28:28 +0200, Ramon Diaz-Uriarte wrote:
> Dear All,
> 
> 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
> 8x faster "cloning" compared to bazaar).

Now there are repositories, branching inside repository is even faster, since
it copies just a few bytes.

-- 
						 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/20060514/ea180fc5/attachment.pgp 


More information about the bazaar mailing list