clone vs copy

Matt Mackall mpm at selenic.com
Fri Jan 6 21:55:40 UTC 2012


On Fri, 2012-01-06 at 20:38 +0100, Pierre Imbaud wrote:
> beginner with mercurial, I have a very simple problem:
> I develop on my laptop, and use remote machines to run the test.
> How can I tell, weeks later, wether the copy I find on the remote 
> machine has been cloned, or just plain copied? I suspect I did copy 
> (thru rsync), Id love to be able to confirm.

All of Mercurial's magic is stored in plain old files in .hg/; if you
copy those files, you've cloned the repo.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list