# HG changeset patch # User Ludovic Chabant # Date 1398310594 25200 # Node ID 685dfc4b5862fcbfacdad3ab355ad34b07b4fbfb # Parent ac2c226f1bac65636ba0c9703a7b1b395fbb098a Fix `Hgstatus` incorrectly saying nothing has changed. diff -r ac2c226f1bac -r 685dfc4b5862 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Sun Apr 20 20:30:01 2014 -0700 +++ b/plugin/lawrencium.vim Wed Apr 23 20:36:34 2014 -0700 @@ -873,7 +873,7 @@ " Open the Lawrencium buffer in a new split window of the right size. execute "rightbelow split " . l:status_path - if line('$') == 1 + if (line('$') == 1 && getline(1) == '') " Buffer is empty, which means there are not changes... " Quit and display a message. " TODO: figure out why the first `echom` doesn't show when alone.