Copying vs of cloning?

Jens Alfke jens at mooseyard.com
Wed Oct 3 12:09:21 CDT 2007


On 3 Oct '07, at 9:59 AM, Matthieu Moy wrote:

> push, probably not. Local clone, yes it would (it just hardlinks by
> default).

True, but hard-linking isn't a backup :) and cloning isn't  
incremental. If using Hg for backups, you should use 'hg push' to a  
repository in a secure location. In that case, if your source repo  
gets corrupted that badly, the push will fail so the damage won't  
propagate to the backup, which is a definite benefit over a regular  
backup system!

--Jens


More information about the Mercurial mailing list