If I have a rather large Mercurial project locally, and wish to experiment, can I safely just make a local copy of everything and work there?
For instance, let's say I do this:
Will this be safe? Or is there some unique ID's being generated when I clone?
One project is rather large, and the server has a rather slow connection, or so it seems, so it takes ages to do a full clone from the central server.
Yup, that's perfectly safe.
The only differences I can think of between cloning a repository locally, hg clone a/ b/
, and copying the repository, cp -r a/ b/
, are:
a/.hg/hgrc
) will not be coppied by hg clone
b/
will be set to a/
So, yea — no problem with simply copying the repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With