puppetlabs/puppetlabs-vcsrepo — pull request #121 by fkrull (2014-02-14 22:16:04+00:00)
Title: Only add ssh options to commands that actually talk to the network.

At least in Mercurial 2.8.2, --ssh seems to be a command-specific parameter in contrast to a global one. As a result, local commands error when seeing a --ssh parameter. This change passes --ssh only for commands that actually talk to the network ('incoming', 'pull' and 'clone' here).