changeset 2598 | b898afee9d0d |
parent 2584 | 1f4703115e28 |
child 2624 | 46e52bbb9b1a |
--- a/mercurial/ui.py Tue Jul 11 16:18:53 2006 -0700 +++ b/mercurial/ui.py Wed Jul 12 08:57:18 2006 +0200 @@ -217,6 +217,12 @@ path = self.config("paths", default) return path or loc + def setconfig_remoteopts(self, **opts): + if opts.get('ssh'): + self.setconfig("ui", "ssh", opts['ssh']) + if opts.get('remotecmd'): + self.setconfig("ui", "remotecmd", opts['remotecmd']) + def write(self, *args): if self.header: if self.header != self.prev_header: