Commit 294a1f35 authored by Michal Čihař's avatar Michal Čihař

Configure SSH wrapper for Mercurial

Issue #597
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b85440c5
......@@ -636,6 +636,13 @@ class HgRepository(Repository):
'''
self._popen(['init', self.path])
def check_config(self):
"""
Checks VCS configuration.
"""
# We directly set config as it takes same time as reading it
self.set_config('ui.ssh', ssh_file(SSH_WRAPPER))
@classmethod
def clone(cls, source, target, bare=False):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment