--- a/contrib/vim/hgcommand.vim
+++ b/contrib/vim/hgcommand.vim
@@ -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 ""
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -519,6 +519,7 @@ typeset -A _hg_cmd_globals
_hg_qguards() {
typeset -a guards
local guard
+ compset -P "+|-"
_hg_cmd qselect -s | while read guard
do
guards+=(${guard#(+|-)})