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): |
General Comments 0
You need to be logged in to leave comments.
Login now