Mercurial > hg-stable
changeset 24003:b95a5bb58653
filelog: remove unused _file method
author | Mike Edgar <adgar@google.com> |
---|---|
date | Thu, 22 Jan 2015 11:09:34 -0500 |
parents | 96d130697f07 |
children | 8a5267cd5286 |
files | mercurial/bundlerepo.py mercurial/filelog.py mercurial/unionrepo.py |
diffstat | 3 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Mon Jan 26 15:18:07 2015 -0800 +++ b/mercurial/bundlerepo.py Thu Jan 22 11:09:34 2015 -0500 @@ -177,9 +177,6 @@ def baserevision(self, nodeorrev): return filelog.filelog.revision(self, nodeorrev) - def _file(self, f): - self._repo.file(f) - class bundlepeer(localrepo.localpeer): def canpush(self): return False
--- a/mercurial/filelog.py Mon Jan 26 15:18:07 2015 -0800 +++ b/mercurial/filelog.py Thu Jan 22 11:09:34 2015 -0500 @@ -104,9 +104,6 @@ raise error.CensoredNodeError(self.indexfile, node) raise - def _file(self, f): - return filelog(self.opener, f) - def _iscensored(self, rev): """Check if a file revision is censored.""" return self.flags(rev) & revlog.REVIDX_ISCENSORED
--- a/mercurial/unionrepo.py Mon Jan 26 15:18:07 2015 -0800 +++ b/mercurial/unionrepo.py Thu Jan 22 11:09:34 2015 -0500 @@ -160,9 +160,6 @@ def baserevdiff(self, rev1, rev2): return filelog.filelog.revdiff(self, rev1, rev2) - def _file(self, f): - self._repo.file(f) - class unionpeer(localrepo.localpeer): def canpush(self): return False