Show More
@@ -25,14 +25,14 b' typeset -A _hg_cmd_globals' | |||||
25 | do |
|
25 | do | |
26 | case "$words[$i]" in |
|
26 | case "$words[$i]" in | |
27 | -R|--repository) |
|
27 | -R|--repository) | |
28 | _hg_root="$words[$i+1]" |
|
28 | eval _hg_root="$words[$i+1]" | |
29 | _hg_cmd_globals+=("$words[$i]" "$_hg_root") |
|
29 | _hg_cmd_globals+=("$words[$i]" "$_hg_root") | |
30 | (( i += 2 )) |
|
30 | (( i += 2 )) | |
31 | continue |
|
31 | continue | |
32 | ;; |
|
32 | ;; | |
33 | -R*) |
|
33 | -R*) | |
34 | _hg_cmd_globals+="$words[$i]" |
|
34 | _hg_cmd_globals+="$words[$i]" | |
35 | _hg_root="${words[$i]#-R}" |
|
35 | eval _hg_root="${words[$i]#-R}" | |
36 | (( i++ )) |
|
36 | (( i++ )) | |
37 | continue |
|
37 | continue | |
38 | ;; |
|
38 | ;; |
General Comments 0
You need to be logged in to leave comments.
Login now