##// END OF EJS Templates
merge: use manifestdict.walk() instead of manifestdict.matches()...
Augie Fackler -
r44769:e76d9854 default
parent child Browse files
Show More
@@ -997,11 +997,10 b' def _checkcollision(repo, wmf, actions):'
997 """
997 """
998 Check for case-folding collisions.
998 Check for case-folding collisions.
999 """
999 """
1000
1001 # If the repo is narrowed, filter out files outside the narrowspec.
1000 # If the repo is narrowed, filter out files outside the narrowspec.
1002 narrowmatch = repo.narrowmatch()
1001 narrowmatch = repo.narrowmatch()
1003 if not narrowmatch.always():
1002 if not narrowmatch.always():
1004 wmf = wmf.matches(narrowmatch)
1003 pmmf = set(wmf.walk(narrowmatch))
1005 if actions:
1004 if actions:
1006 narrowactions = {}
1005 narrowactions = {}
1007 for m, actionsfortype in pycompat.iteritems(actions):
1006 for m, actionsfortype in pycompat.iteritems(actions):
@@ -1010,7 +1009,7 b' def _checkcollision(repo, wmf, actions):'
1010 if narrowmatch(f):
1009 if narrowmatch(f):
1011 narrowactions[m].append((f, args, msg))
1010 narrowactions[m].append((f, args, msg))
1012 actions = narrowactions
1011 actions = narrowactions
1013
1012 else:
1014 # build provisional merged manifest up
1013 # build provisional merged manifest up
1015 pmmf = set(wmf)
1014 pmmf = set(wmf)
1016
1015
General Comments 0
You need to be logged in to leave comments. Login now