# HG changeset patch # User Ludovic Chabant # Date 1394181095 28800 # Node ID 31801dcca77d9789235c79f4a084c5e5d97c6edd # Parent a42b0e63a8eaa4774f89854681650f9095d89fb7 Re-edit a reverted file to see the change. diff -r a42b0e63a8ea -r 31801dcca77d plugin/lawrencium.vim --- a/plugin/lawrencium.vim Fri Mar 07 00:26:59 2014 -0800 +++ b/plugin/lawrencium.vim Fri Mar 07 00:31:35 2014 -0800 @@ -1411,6 +1411,9 @@ " Get the repo and run the command. let l:repo = s:hg_repo() call l:repo.RunCommand('revert', l:filenames) + + " Re-edit the file to see the change. + edit endfunction call s:AddMainCommand("-bang -nargs=* -complete=customlist,s:ListRepoFiles Hgrevert :call s:HgRevert(0, )")