about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bzr
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_bzr')
-rw-r--r--Completion/Unix/Command/_bzr41
1 files changed, 23 insertions, 18 deletions
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 9e7e19f15..093adc857 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -87,11 +87,11 @@ case $cmd in
     _bzr_completeParents
     ;;
 
-(rename|mv)
+(rename|move|mv)
     if (( CURRENT == 2 )); then
-	args+=( '*:old name:_bzr_versionedFiles' )
+	args+=( '*:files:_bzr_versionedFiles' )
     else
-	args+=( '*:new name:' )
+	args=( '*:destination dir:_files -/' )
     fi
     ;;
 
@@ -120,7 +120,7 @@ case $cmd in
 	)
     ;;
 
-(resolve)
+(resolve|resolved)
     args+=(
 	'--all[resolve all conflicts in this tree]'
 	'*:file:_bzr_versionedFiles'
@@ -196,10 +196,14 @@ case $cmd in
 	)
     ;;
 
-(conflicts|added|deleted|modified|unknowns|directories|ignored)
+(bind|break-lock|reconcile)
+    _bzr_completeParents
+    ;;
+
+(conflicts|added|deleted|modified|unknowns|directories|ignored|unbind|nick)
     ;;
 
-(revno|init|version)
+(revno|init|init-repo|init-repository|version)
     ;;
 
 (whoami)
@@ -279,18 +283,6 @@ case $cmd in
 	)
     ;;
 
-(move)
-    if (( CURRENT == 2 )); then
-	args+=(
-	   '*:files:_bzr_versionedFiles'
-	   )
-    else
-	args=(
-	    '*:destination dir:_files -/'
-	    )
-    fi
-    ;;
-
 (help)
     args=(
 	'(-l --long)'{--long,-l}'[use long format]'
@@ -331,6 +323,19 @@ case $cmd in
 	)
     ;;
 
+(uncommit)
+    args+=(
+	'--dry-run[do not make any changes]'
+	'--force[say "yes" to all questions]'
+	'(-r --revision)'{--revision,-r}'[the earliest revision to delete]:rev:'
+	'(-v --verbose)'{--verbose,-v}'[display more information]'
+	)
+    ;;
+
+(sign-my-commits)
+    args+=( '--dry-run[do not actually sign anything]' )
+    ;;
+
 (*)
     _message "unknown bzr command completion: $cmd"
     return 1