Remote URL aliases
Rafael Villar Burke
pachi at rvburke.com
Wed Jun 11 11:56:38 CDT 2008
Yannick Gingras wrote:
> Hi,
> is there a way to give a short and easy to type name to a remote URL?
> Instead of doing:
>
> hg incoming ssh://repo-server.example.com/~bob/hg/cool-proj
> hg incoming ssh://perso.example.com/~john/hg/cool-proj
> hg pull ssh://repo-server.example.com/~bob/hg/cool-proj
>
> I'd like to do:
>
> hg incoming bob
> hg incoming john
> hg pull bob
Yes, besides the default path you can define other paths in the [paths]
stanza of the .hg/hgrc file
--
Rafael Villar Burke
More information about the Mercurial
mailing list