Whats the Mercurial hg clone syntax to clone a repository to a folder on a local file system
29,785
hg help
is your friend. hg help clone
yields:
hg clone [OPTION]... SOURCE [DEST]
So, for this case it should be something like:
hg clone C:\MyProject "G:\Version Control\MyProject"
![Simon Lomax](https://i.stack.imgur.com/NcXWH.jpg?s=256&g=1)
Author by
Simon Lomax
Updated on July 08, 2020Comments
-
Simon Lomax almost 4 years
Whats the Mercurial hg clone syntax to clone a repository to a folder on a local file system. Say I have a repository in
C:\MyProject\
and I want to create a clone inG:\Version Control\MyProject\
- what would the command line be?Thanks
-
Simon Lomax almost 14 yearsThanks, That worked. I didn't read the hg help carefully enough.
-
Arun over 3 yearsSuppose user want to clone to a different system in the same network , then what will be the command ?