[PATCH 2 of 2] hgcommand.vim: remove deprecated -b option from hg parents

Christian Ebert blacktrash at gmx.net
Wed Oct 25 14:01:47 CDT 2006


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1161802860 -7200
# Node ID e5b9793f6b346624a24e2f1cc5a9c1ee5c43600f
# Parent  339a5ac10240266a906fe240551bdf18ade8aa7b
hgcommand.vim: remove deprecated -b option from hg parents.

diff -r 339a5ac10240 -r e5b9793f6b34 contrib/vim/hgcommand.vim
--- a/contrib/vim/hgcommand.vim	Wed Oct 25 20:59:50 2006 +0200
+++ b/contrib/vim/hgcommand.vim	Wed Oct 25 21:01:00 2006 +0200
@@ -372,7 +372,7 @@ function! s:HGGetStatusVars(revisionVar,
       let revision="ADDED"
     else
       " The file is tracked, we can try to get is revision number
-      let hgCommand = <SID>HGGetOption("HGCommandHGExec", "hg") . " parents -b  "
+      let hgCommand = <SID>HGGetOption("HGCommandHGExec", "hg") . " parents "
       let statustext=system(hgCommand)
       if(v:shell_error)
           return ""


More information about the Mercurial-devel mailing list