##// END OF EJS Templates
narrowmerge: iterate over a copy of dict items so we can mutate the dict...
Augie Fackler -
r36183:53fe5a1a default
parent child Browse files
Show More
@@ -28,7 +28,9 b' def setup():'
28 28 nooptypes = set(['k']) # TODO: handle with nonconflicttypes
29 29 nonconflicttypes = set('a am c cm f g r e'.split())
30 30 narrowmatch = repo.narrowmatch()
31 for f, action in actions.items():
31 # We mutate the items in the dict during iteration, so iterate
32 # over a copy.
33 for f, action in list(actions.items()):
32 34 if narrowmatch(f):
33 35 pass
34 36 elif not branchmerge:
General Comments 0
You need to be logged in to leave comments. Login now