changeset 2812 | 3aeab7bb5adc |
parent 2808 | 30f59f4a327e |
child 2836 | e78cad1f6b1f |
child 2847 | 2ff57e3113a4 |
--- a/mercurial/commands.py Tue Aug 08 09:11:16 2006 -0500 +++ b/mercurial/commands.py Tue Aug 08 09:19:20 2006 -0500 @@ -2606,7 +2606,7 @@ if not opts.get('dry_run'): repo.dirstate.forget(forget[0]) - r = hg.revert(repo, node, update.has_key) + r = hg.revert(repo, node, update.has_key, wlock) repo.dirstate.update(add[0], 'a') repo.dirstate.update(undelete[0], 'n') repo.dirstate.update(remove[0], 'r')