From 2d3868153c5677bc466c20423c4a00415f089693 Mon Sep 17 00:00:00 2001 From: Ian Liu Rodrigues Date: Fri, 15 Apr 2011 01:50:08 -0300 Subject: [PATCH] fix HG :VCSAnnotate in VCSAnnotate buffer --- plugin/vcshg.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/vcshg.vim b/plugin/vcshg.vim index e9e894a..3d01a13 100644 --- a/plugin/vcshg.vim +++ b/plugin/vcshg.vim @@ -112,8 +112,8 @@ function! s:hgFunctions.Annotate(argList) if len(a:argList) == 0 if &filetype == 'HGannotate' " Perform annotation of the version indicated by the current line. - let caption = matchstr(getline('.'),'\v^\s+\zs\d+') - let options = ' -r' . caption + let caption = matchstr(getline('.'),'\v^\s*\w+\s+\zs\d+') + let options = ' -un -r' . caption else let caption = '' let options = ' -un' -- 2.11.4.GIT