diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -221,9 +221,6 @@ class bundlerepository(localrepo.localre def url(self): return self._url - def dev(self): - return -1 - def file(self, f): if not self.bundlefilespos: self.bundlefile.seek(self.filestart) diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -450,9 +450,6 @@ class localrepository(repo.repository): pass raise repo.RepoError(_("unknown revision '%s'") % key) - def dev(self): - return os.lstat(self.path).st_dev - def local(self): return True diff --git a/mercurial/remoterepo.py b/mercurial/remoterepo.py --- a/mercurial/remoterepo.py +++ b/mercurial/remoterepo.py @@ -8,11 +8,7 @@ import repo class remoterepository(repo.repository): - def dev(self): - return -1 - - def local(self): - return False + pass class remotelock(object): def __init__(self, repo): diff --git a/mercurial/repo.py b/mercurial/repo.py --- a/mercurial/repo.py +++ b/mercurial/repo.py @@ -40,4 +40,3 @@ class repository(object): def cancopy(self): return self.local() - diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -74,9 +74,6 @@ class statichttprepository(localrepo.loc def url(self): return 'static-' + self._url - def dev(self): - return -1 - def local(self): return False