Wednesday, September 14, 2011

Add remote in mercurial

I need in some point to be able to add remote in hg

To do that go to the root of mercurial open .hg/hgrc and add these entries:

[paths]
default = ssh://hg@bitbucket.org/ilab/resource_mapper

remote1 = ssh://hg@bitbucket.org/ilab/resource_mapper_1


remote2 = ssh://hg@bitbucket.org/ilab/resource_mapper_2




The "default" is the  remote address that will be used when none is specified.

No comments:

Post a Comment