Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
( )
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | hgext/remotefilelog/remotefilectx.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute |
@propertycache | @propertycache | ||||
def _linkrev(self): | def _linkrev(self): | ||||
if self._filenode == nullid: | if self._filenode == nullid: | ||||
return nullrev | return nullrev | ||||
ancestormap = self.ancestormap() | ancestormap = self.ancestormap() | ||||
p1, p2, linknode, copyfrom = ancestormap[self._filenode] | 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: | if rev is not None: | ||||
return rev | return rev | ||||
# Search all commits for the appropriate linkrev (slow, but uncommon) | # Search all commits for the appropriate linkrev (slow, but uncommon) | ||||
path = self._path | path = self._path | ||||
fileid = self._filenode | fileid = self._filenode | ||||
cl = self._repo.unfiltered().changelog | cl = self._repo.unfiltered().changelog | ||||
mfl = self._repo.manifestlog | mfl = self._repo.manifestlog |