# HG changeset patch # User Ludovic Chabant # Date 1405917586 25200 # Node ID 27d5d85ab91889e045ba4be09e0858371cc69b7e # Parent bc5a8dff3fa0e82aa406a0a5544b4941e825a584 Make sure paths in the commit message are relative to the repo. diff -r bc5a8dff3fa0 -r 27d5d85ab918 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Wed Jul 16 22:08:31 2014 -0700 +++ b/plugin/lawrencium.vim Sun Jul 20 21:39:46 2014 -0700 @@ -1417,6 +1417,7 @@ let l:msg .= "HG: user: " . split(a:repo.RunCommand('showconfig ui.username'), '\n')[0] . "\n" let l:msg .= "HG: branch '" . split(a:repo.RunCommand('branch'), '\n')[0] . "'\n" + execute 'lcd ' . a:repo.root_dir if len(a:filenames) let l:status_lines = split(a:repo.RunCommand('status', a:filenames), "\n") else