Storing a remote path by name in Hg

Posted by Erik Vold on Stack Overflow See other posts from Stack Overflow or by Erik Vold
Published on 2010-04-27T01:19:47Z Indexed on 2010/04/27 1:23 UTC
Read the original article Hit count: 405

Filed under:
|

In git I can git remote add x http://... then git pull x how can I do this in hg?

I was told to add the following to .hgrc:

[paths]
x = http://...

so I added the above to /path/to/repo/.hgrc then tried hg pull x and got the following error:

abort: repository x not found!

where x was mozilla and http:// was http://hg.mozilla.org/labs/jetpack-sdk/

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about hg