Submitter | phabricator |
---|---|
Date | March 11, 2019, 11:17 p.m. |
Message ID | <38d4c8b4ae9ba1602fd5c15f4ef9c523@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/39225/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -17,7 +17,6 @@ match as matchmod, node, pathutil, - scmutil, util, ) from .utils import ( @@ -193,7 +192,7 @@ # this comparison. forwardmissingmatch = match if b.p1() == a and b.p2().node() == node.nullid: - filesmatcher = scmutil.matchfiles(a._repo, b.files()) + filesmatcher = matchmod.exact(b.files()) forwardmissingmatch = matchmod.intersectmatchers(match, filesmatcher) missing = _computeforwardmissing(a, b, match=forwardmissingmatch)