##// END OF EJS Templates
repo classes: remove unused dev() method
Matt Mackall -
r6312:08800489 default
parent child Browse files
Show More
@@ -221,9 +221,6 b' class bundlerepository(localrepo.localre'
221 221 def url(self):
222 222 return self._url
223 223
224 def dev(self):
225 return -1
226
227 224 def file(self, f):
228 225 if not self.bundlefilespos:
229 226 self.bundlefile.seek(self.filestart)
@@ -450,9 +450,6 b' class localrepository(repo.repository):'
450 450 pass
451 451 raise repo.RepoError(_("unknown revision '%s'") % key)
452 452
453 def dev(self):
454 return os.lstat(self.path).st_dev
455
456 453 def local(self):
457 454 return True
458 455
@@ -8,11 +8,7 b''
8 8 import repo
9 9
10 10 class remoterepository(repo.repository):
11 def dev(self):
12 return -1
13
14 def local(self):
15 return False
11 pass
16 12
17 13 class remotelock(object):
18 14 def __init__(self, repo):
@@ -40,4 +40,3 b' class repository(object):'
40 40
41 41 def cancopy(self):
42 42 return self.local()
43
@@ -74,9 +74,6 b' class statichttprepository(localrepo.loc'
74 74 def url(self):
75 75 return 'static-' + self._url
76 76
77 def dev(self):
78 return -1
79
80 77 def local(self):
81 78 return False
82 79
General Comments 0
You need to be logged in to leave comments. Login now