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 |
|
|
219 | for filename in actions[b'revert'][0]: | |
221 |
|
|
220 | entry = ds.get_entry(filename) | |
222 |
|
|
221 | if entry is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now