Skip to content

Add remote in mercurial

September 15, 2011

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.

Advertisements

From → hg-Mercurial

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: