Specifying the remote 'hg' path

Mike Wilson mikewilsonuk at googlemail.com
Sat Dec 20 15:29:52 UTC 2008


In answer to my own question, there are two ways:

use "--remotecmd /path/to/hg" on the command line

or, edit .hg/hgrc and add:

[ui]
remotecmd = /path/to/hg

The second option doesn't work with clone, but it's fine with push/pull/in.

-- 
Mike Wilson, Wrexham, North Wales, UK
www.whisperingwind.co.uk



More information about the Mercurial mailing list