Remote URL aliases

Yannick Gingras ygingras at ygingras.net
Wed Jun 11 11:34:55 CDT 2008


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, I was spoiled by Git's remote branches tracking.

-- 
Yannick Gingras


More information about the Mercurial mailing list