##// END OF EJS Templates
cleanupnodes: trust caller when "moves" is not None...
Martin von Zweigbergk -
r40890:b7823bd5 default
parent child Browse files
Show More
@@ -901,11 +901,12 b' def cleanupnodes(repo, replacements, ope'
901 901 repls[key] = value
902 902 replacements = repls
903 903
904 # Unfiltered repo is needed since nodes in replacements might be hidden.
905 unfi = repo.unfiltered()
906
904 907 # Calculate bookmark movements
905 908 if moves is None:
906 909 moves = {}
907 # Unfiltered repo is needed since nodes in replacements might be hidden.
908 unfi = repo.unfiltered()
909 910 for oldnodes, newnodes in replacements.items():
910 911 for oldnode in oldnodes:
911 912 if oldnode in moves:
General Comments 0
You need to be logged in to leave comments. Login now