[PATCH] Allow ssh.cmd, ssh.opts to be used in [ui]

Brendan Cully brendan at kublai.com
Thu Sep 6 15:05:12 CDT 2007


On Thursday, 06 September 2007 at 15:06, Steve Borho wrote:
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1189108606 18000
> # Node ID f2eca1509bde4a3b1990781c07274ae6de2e3a0b
> # Parent  f8c36b215281a7e8f3aaed632206d3627ee21e6e
> Allow ssh.cmd, ssh.opts to be used in [ui]
> 
> Example .hgrc section:
> 
> [ui]
> ssh.cmd = C:\Program Files\Mercurial\plink.exe
> ssh.opts = -ssh -i \path\to\key

What's this for? Can't we just use shlex and:

ssh = "C:\Program Files\Mercurial\plink.exe" -ssh -i \path\to\key


More information about the Mercurial-devel mailing list