Show More
@@ -257,6 +257,7 b' case $service in' | |||
|
257 | 257 | |
|
258 | 258 | (clone) |
|
259 | 259 | if (( CURRENT == 2 )); then |
|
260 | repos=( $(hg paths | sed -e 's/^.*= //') ) | |
|
260 | 261 | _arguments \ |
|
261 | 262 | '(--no-update)-U[do not update the new working directory]' \ |
|
262 | 263 | '(-U)--no-update[do not update the new working directory]' \ |
@@ -265,6 +266,7 b' case $service in' | |||
|
265 | 266 | '--pull[use pull protocol to copy metadata]' \ |
|
266 | 267 | '--remotecmd[specify hg command to run on the remote side]:remote hg:' \ |
|
267 | 268 | '*:local repo:_files -/' |
|
269 | _wanted source expl 'source repository' compadd -a repos | |
|
268 | 270 | elif (( CURRENT == 3 )); then |
|
269 | 271 | _arguments '*:dest repo:_files -/' |
|
270 | 272 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now