Mercurial > hg-stable
changeset 43618:bda86cfe6261
index: use `index.get_rev` in `remotefilelog`
Differential Revision: https://phab.mercurial-scm.org/D7357
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:54 +0100 |
parents | 43e722fc2909 |
children | 22cd0064370d |
files | hgext/remotefilelog/remotefilectx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/remotefilectx.py Sat Nov 09 13:23:54 2019 +0100 +++ b/hgext/remotefilelog/remotefilectx.py Sat Nov 09 13:23:54 2019 +0100 @@ -83,7 +83,7 @@ ancestormap = self.ancestormap() p1, p2, linknode, copyfrom = ancestormap[self._filenode] - rev = self._repo.changelog.nodemap.get(linknode) + rev = self._repo.changelog.index.get_rev(linknode) if rev is not None: return rev