Mercurial > hg > mercurial-crew
changeset 6312:08800489257e
repo classes: remove unused dev() method
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 20 Mar 2008 11:12:35 -0500 |
parents | a079cf630065 |
children | c5580db9c3aa |
files | mercurial/bundlerepo.py mercurial/localrepo.py mercurial/remoterepo.py mercurial/repo.py mercurial/statichttprepo.py |
diffstat | 5 files changed, 1 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -221,9 +221,6 @@ def url(self): return self._url - def dev(self): - return -1 - def file(self, f): if not self.bundlefilespos: self.bundlefile.seek(self.filestart)
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -450,9 +450,6 @@ pass raise repo.RepoError(_("unknown revision '%s'") % key) - def dev(self): - return os.lstat(self.path).st_dev - def local(self): return True
--- 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):