summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-05-06 04:45:19 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-05-06 04:45:19 +0000
commit6707e361d640a50c1d814466de983787ea760888 (patch)
treeb106cc6c0e6df9bd8d0c0d0ca061444ab533ae13
parent2f7c6880afb5a9312541d6252e181cf5e9cec81d (diff)
downloadzsh-6707e361d640a50c1d814466de983787ea760888.tar.gz
zsh-6707e361d640a50c1d814466de983787ea760888.tar.xz
zsh-6707e361d640a50c1d814466de983787ea760888.zip
Added missing checkout and update sub-commands.
-rw-r--r--Completion/Unix/Command/_bzr12
1 files changed, 10 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 0c4c1b5fb..9e7e19f15 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -69,7 +69,7 @@ case $cmd in
 
 (clone|branch|get)
     args+=(
-	'(-r --revision)'{--revision,-r}'[revision]:rev:'
+	'(-r --revision)'{--revision,-r}'[the revision to get]:rev:'
 	'--basis[specify basis branch]:basis:'
 	)
     if (( CURRENT == 2 )); then
@@ -79,6 +79,14 @@ case $cmd in
     fi
     ;;
 
+(checkout)
+    args+=(
+	'--lightweight[perform a lightweight checkout]'
+	'(-r --revision)'{--revision,-r}'[the revision to get]:rev:'
+	)
+    _bzr_completeParents
+    ;;
+
 (rename|mv)
     if (( CURRENT == 2 )); then
 	args+=( '*:old name:_bzr_versionedFiles' )
@@ -134,7 +142,7 @@ case $cmd in
 	)
     ;;
 
-(mkdir|renames)
+(mkdir|renames|update)
     args+=( '*:DIR:_files -/' )
     ;;