Submitter | phabricator |
---|---|
Date | Feb. 12, 2018, 8:03 p.m. |
Message ID | <differential-rev-PHID-DREV-ki5b4dpgir54caekhond-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/27682/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/narrow/narrowrevlog.py b/hgext/narrow/narrowrevlog.py --- a/hgext/narrow/narrowrevlog.py +++ b/hgext/narrow/narrowrevlog.py @@ -156,6 +156,10 @@ # rename-checking logic when on remotefilelog. This # might be incorrect on other non-revlog-based storage # engines, but for now this seems to be fine. + # + # TODO: when remotefilelog is in core, improve this to + # explicitly look for remotefilelog instead of cheating + # with a hasattr check. if util.safehasattr(self, 'node'): node = self.node(rev) # Because renamed() is overridden above to