##// END OF EJS Templates
histedit: make cleanupnode more robust...
Pierre-Yves David -
r25906:5d0e1e95 default
parent child Browse files
Show More
@@ -1132,6 +1132,10 b' def cleanupnode(ui, repo, name, nodes):'
1132 lock = None
1132 lock = None
1133 try:
1133 try:
1134 lock = repo.lock()
1134 lock = repo.lock()
1135 # do not let filtering get in the way of the cleanse
1136 # we should probably get ride of obsolescence marker created during the
1137 # histedit, but we currently do not have such information.
1138 repo = repo.unfiltered()
1135 # Find all node that need to be stripped
1139 # Find all node that need to be stripped
1136 # (we hg %lr instead of %ln to silently ignore unknown item
1140 # (we hg %lr instead of %ln to silently ignore unknown item
1137 nm = repo.changelog.nodemap
1141 nm = repo.changelog.nodemap
General Comments 0
You need to be logged in to leave comments. Login now