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