durin42 updated this revision to Diff 5518.
CHANGES SINCE LAST UPDATE
diff --git a/hgext/narrow/narrowrevlog.py b/hgext/narrow/narrowrevlog.py
@@ -139,6 +139,12 @@
def makenarrowfilelog(fl, narrowmatch):
def renamed(self, node):
+ # Renames that come from outside the narrowspec are
+ # problematic at least for git-diffs, because we lack the
+ # base text for the rename. This logic was introduced in
+ # 3cd72b1 of narrowhg (authored by martinvonz, reviewed by
+ # adgar), but that revision doesn't have any additional
+ # commentary on what problems we can encounter.
m = super(narrowfilelog, self).renamed(node)
if m and not narrowmatch(m):
To: durin42, #hg-reviewers
Mercurial-devel mailing list