Monday, 1 December 2014

Mercurial Repository Direction

I'm in the NewRepo directory in the local repository on my local machine and want to clone this to a remote repo. I had forgotten that the command order dictates the direction of the clone ie from my local to remote repo or remote to local repo
local -> remote
hg clone . ssh://user@usersURL.org/hg/myrepos/NewRepo
 remote -> local
 hg clone ssh://user@usersURL.org/hg/myrepos/NewRepo .