mercurial/ui.py
changeset 2738 ad4155e757da
parent 2645 e6a41cbaa260
child 2858 345bac2bc4ec
child 2944 2efa9b8aed30
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -217,12 +217,6 @@ class ui(object):
             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: