# HG changeset patch # User Augie Fackler # Date 1518462952 18000 # Node ID 66b4ffe90676ee280e1f812dbab0552114d9d7f1 # Parent 48b592d986e7eb169fe59e5c99661e8a257ba0d7 narrowrevlog: add a TODO around remotefilelog moving to core We should clean this up considerably when remotefilelog lands, which we expect to try and accomplish in the near-ish future. Differential Revision: https://phab.mercurial-scm.org/D2189 diff -r 48b592d986e7 -r 66b4ffe90676 hgext/narrow/narrowrevlog.py --- a/hgext/narrow/narrowrevlog.py Mon Feb 12 14:12:28 2018 -0500 +++ b/hgext/narrow/narrowrevlog.py Mon Feb 12 14:15:52 2018 -0500 @@ -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