Quick question - can I copy a repository?
Matt Mackall
mpm at selenic.com
Tue Jun 20 17:01:59 UTC 2006
On Tue, Jun 20, 2006 at 05:56:42PM +0100, Paul Moore wrote:
> Is it OK to simply copy a repository (for backup purposes, etc) or
> must I use hg clone? I ask because I want to back my repository up to
> a FTP site that doesn't allow me to run hg serve.
It's safe to copy a repository that's not in the middle of a write
operation.
If you do such a copy, the result will be completely functional but
verify may complain. Simply doing a clone --pull will get you a clean
copy.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list