Mercurial > hg-stable
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 Sat Mar 15 15:23:20 2008 -0400 +++ b/mercurial/bundlerepo.py Thu Mar 20 11:12:35 2008 -0500 @@ -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 Sat Mar 15 15:23:20 2008 -0400 +++ b/mercurial/localrepo.py Thu Mar 20 11:12:35 2008 -0500 @@ -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 Sat Mar 15 15:23:20 2008 -0400 +++ b/mercurial/remoterepo.py Thu Mar 20 11:12:35 2008 -0500 @@ -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):