##// END OF EJS Templates
remove duplicate code.
Vadim Gelfer -
r2484:eabcda3e default
parent child Browse files
Show More
@@ -176,9 +176,6 b' class httprepository(remoterepository):'
176 176
177 177 capabilities = property(get_caps)
178 178
179 def dev(self):
180 return -1
181
182 179 def lock(self):
183 180 raise util.Abort(_('operation not supported over http'))
184 181
@@ -6,6 +6,9 b''
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 8 class remoterepository(object):
9 def dev(self):
10 return -1
11
9 12 def local(self):
10 13 return False
11 14
@@ -79,9 +79,6 b' class sshrepository(remoterepository):'
79 79 except:
80 80 pass
81 81
82 def dev(self):
83 return -1
84
85 82 def do_cmd(self, cmd, **args):
86 83 self.ui.debug(_("sending %s command\n") % cmd)
87 84 self.pipeo.write("%s\n" % cmd)
General Comments 0
You need to be logged in to leave comments. Login now