Commits

Nikolaj Sjujskij  committed 36ee655

zsh: sort option groups for push/pull

  • Participants
  • Parent commits 2f995db

Comments (0)

Files changed (1)

 # HG changeset patch
-# Parent 38e4b979c3aa640d4035c3bacfa37ceb26a54b7d
+# Parent 1d6fd43f2a63d3e3c9b81c43751df14a84ba67a3
 zsh completion: add new options for existing commands
 
  * backout: add --tool;
    ':revision:_hg_labels'
  }
  
-@@ -750,6 +781,7 @@
-   _arguments -s -w : $_hg_global_opts $_hg_remote_opts $_hg_branch_bmark_opts \
+@@ -739,7 +770,7 @@
+ }
+ 
+ _hg_cmd_pull() {
+-  _arguments -s -w : $_hg_global_opts $_hg_remote_opts $_hg_branch_bmark_opts \
++  _arguments -s -w : $_hg_global_opts $_hg_branch_bmark_opts $_hg_remote_opts \
+   '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \
+   '(--update -u)'{-u,--update}'[update to new tip if changesets were pulled]' \
+   '(--rev -r)'{-r+,--rev}'[a specific revision up to which you would like to pull]:revision:' \
+@@ -747,9 +778,10 @@
+ }
+ 
+ _hg_cmd_push() {
+-  _arguments -s -w : $_hg_global_opts $_hg_remote_opts $_hg_branch_bmark_opts \
++  _arguments -s -w : $_hg_global_opts $_hg_branch_bmark_opts $_hg_remote_opts \
    '(--force -f)'{-f,--force}'[force push]' \
    '(--rev -r)'{-r+,--rev}'[a specific revision you would like to push]:revision:_hg_labels' \
 +  '--new-branch[allow pushing a new branch]' \