Show More
@@ -372,7 +372,7 b' function! s:HGGetStatusVars(revisionVar,' | |||||
372 | let revision="ADDED" |
|
372 | let revision="ADDED" | |
373 | else |
|
373 | else | |
374 | " The file is tracked, we can try to get is revision number |
|
374 | " The file is tracked, we can try to get is revision number | |
375 |
let hgCommand = <SID>HGGetOption("HGCommandHGExec", "hg") . " parents |
|
375 | let hgCommand = <SID>HGGetOption("HGCommandHGExec", "hg") . " parents " | |
376 | let statustext=system(hgCommand) |
|
376 | let statustext=system(hgCommand) | |
377 | if(v:shell_error) |
|
377 | if(v:shell_error) | |
378 | return "" |
|
378 | return "" |
@@ -519,6 +519,7 b' typeset -A _hg_cmd_globals' | |||||
519 | _hg_qguards() { |
|
519 | _hg_qguards() { | |
520 | typeset -a guards |
|
520 | typeset -a guards | |
521 | local guard |
|
521 | local guard | |
|
522 | compset -P "+|-" | |||
522 | _hg_cmd qselect -s | while read guard |
|
523 | _hg_cmd qselect -s | while read guard | |
523 | do |
|
524 | do | |
524 | guards+=(${guard#(+|-)}) |
|
525 | guards+=(${guard#(+|-)}) |
General Comments 0
You need to be logged in to leave comments.
Login now