##// END OF EJS Templates
copies: remove dependency on scmutil by directly using match.exact()...
Martin von Zweigbergk -
r42102:a7916234 default
parent child Browse files
Show More
@@ -17,7 +17,6 b' from . import ('
17 17 match as matchmod,
18 18 node,
19 19 pathutil,
20 scmutil,
21 20 util,
22 21 )
23 22 from .utils import (
@@ -193,7 +192,7 b' def _committedforwardcopies(a, b, match)'
193 192 # this comparison.
194 193 forwardmissingmatch = match
195 194 if b.p1() == a and b.p2().node() == node.nullid:
196 filesmatcher = scmutil.matchfiles(a._repo, b.files())
195 filesmatcher = matchmod.exact(b.files())
197 196 forwardmissingmatch = matchmod.intersectmatchers(match, filesmatcher)
198 197 missing = _computeforwardmissing(a, b, match=forwardmissingmatch)
199 198
General Comments 0
You need to be logged in to leave comments. Login now