##// END OF EJS Templates
win32text: drop the `changing_parents` context in revert upgrade...
marmoute -
r50908:05a2f65c default
parent child Browse files
Show More
@@ -216,7 +216,6 def reposetup(ui, repo):
216 def wrap_revert(orig, repo, ctx, names, uipathfn, actions, *args, **kwargs):
216 def wrap_revert(orig, repo, ctx, names, uipathfn, actions, *args, **kwargs):
217 # reset dirstate cache for file we touch
217 # reset dirstate cache for file we touch
218 ds = repo.dirstate
218 ds = repo.dirstate
219 with ds.changing_parents(repo):
220 for filename in actions[b'revert'][0]:
219 for filename in actions[b'revert'][0]:
221 entry = ds.get_entry(filename)
220 entry = ds.get_entry(filename)
222 if entry is not None:
221 if entry is not None:
General Comments 0
You need to be logged in to leave comments. Login now