[PATCH] hgcommand.vim: refer Vim7 users to vcscommand plugin
Christian Ebert
blacktrash at gmx.net
Thu Mar 13 10:39:40 CDT 2008
Hi Vladimir,
* Vladimir Marek on Thursday, March 13, 2008 at 13:29:19 +0100
>> As it works with CVS, it seems to be a problem with Vladimir
>> Marek's vcshg.vim. I'll try to contact him.
>
> I'm listening ;) The world is small.
VCSCommandDoCommand has an extra mandatory "options" argument as
of beta21. The following seems to work for me. Not much tested
though, whether we actually need to allow non-zero exits.
--- vcshg.vim.orig 2008-03-13 16:33:19.000000000 +0100
+++ vcshg.vim 2008-03-13 16:31:18.000000000 +0100
@@ -102,7 +102,7 @@
try
if VCSCommandGetVCSType(expand('%')) == 'Mercurial'
let fullCmd = VCSCommandGetOption('VCSCommandHGExec', 'hg') . ' ' . a:cmd
- return VCSCommandDoCommand(fullCmd, a:cmdName, a:statusText)
+ return VCSCommandDoCommand(fullCmd, a:cmdName, a:statusText, {'allowNonZeroExit': 0})
else
throw 'No suitable plugin'
endif
> Feel free to contact me privately if you think it's offtopic in this
> list.
Perhaps my mails haven't reached you. The world might be not that
small after or -- or too small for that matter.
> I still hope that one day vcscommand will include my hg support ...
Right on.
c
--
I felt like an amputated leg.
--Raymond Chandler
More information about the Mercurial-devel
mailing list