Commits

Nikolaj Sjujskij  committed 7d1e610

zsh: drop redundant command definitions

  • Participants
  • Parent commits 36ee655

Comments (0)

Files changed (1)

File zsh_add_cmds

 # HG changeset patch
-# Parent a90fcf3d060dab14b48ffd56673fae6b862e8056
-zsh completion: add `forget`, `recover`, `rollback`, `root`, `tags`, `verify`
+# Parent bf3eee57c8556800ec9bf4cf44c4138314a568a1
+zsh completion: add `forget` and `rollback` commands
 
 diff --git a/contrib/zsh_completion b/contrib/zsh_completion
 --- a/contrib/zsh_completion
  _hg_cmd_graft() {
    _arguments -s -w : $_hg_global_opts \
    '(--continue -c)'{-c,--continue}'[resume interrupted graft]' \
-@@ -723,6 +728,10 @@
-   ':destination:_hg_remote'
- }
- 
-+_hg_cmd_recover() {
-+  _arguments -s -w : $_hg_global_opts
-+}
-+
- _hg_cmd_remove() {
-   _arguments -s -w : $_hg_global_opts $_hg_pat_opts \
-   '(--after -A)'{-A,--after}'[record remove that has already occurred]' \
-@@ -777,6 +786,15 @@
+@@ -777,6 +782,11 @@
    fi
  }
  
 +  '(--force -f)'{-f,--force}'[ignore safety measures]' \
 +}
 +
-+_hg_cmd_root() {
-+  _arguments -s -w : $_hg_global_opts \
-+}
-+
  _hg_cmd_serve() {
    _arguments -s -w : $_hg_global_opts \
    '(--accesslog -A)'{-A+,--accesslog}'[name of access log file]:log file:_files' \
-@@ -829,6 +847,10 @@
-   ':tag name:'
- }
- 
-+_hg_cmd_tags() {
-+  _arguments -s -w : $_hg_global_opts
-+}
-+
- _hg_cmd_tip() {
-   _arguments -s -w : $_hg_global_opts $_hg_style_opts \
-   '(--patch -p)'{-p,--patch}'[show patch]'
-@@ -847,6 +869,10 @@
-   ':revision:_hg_labels'
- }
- 
-+_hg_cmd_verify() {
-+  _arguments -s -w : $_hg_global_opts
-+}
-+
- ## extensions ##
- 
- # HGK