Show More
@@ -139,6 +139,12 b' def makenarrowmanifestlog(mfl, repo):' | |||
|
139 | 139 | def makenarrowfilelog(fl, narrowmatch): |
|
140 | 140 | class narrowfilelog(fl.__class__): |
|
141 | 141 | def renamed(self, node): |
|
142 | # Renames that come from outside the narrowspec are | |
|
143 | # problematic at least for git-diffs, because we lack the | |
|
144 | # base text for the rename. This logic was introduced in | |
|
145 | # 3cd72b1 of narrowhg (authored by martinvonz, reviewed by | |
|
146 | # adgar), but that revision doesn't have any additional | |
|
147 | # commentary on what problems we can encounter. | |
|
142 | 148 | m = super(narrowfilelog, self).renamed(node) |
|
143 | 149 | if m and not narrowmatch(m[0]): |
|
144 | 150 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now