Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/remotefilelog/remotefilectx.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
0cfaf2138853 | 7590710157fb | Pierre-Yves David | Nov 9 2019, 7:23 AM |
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 |