[PATCH] zsh completion: catch up with Mercurial 2.3

Brendan Cully brendan at kublai.com
Mon Jul 16 18:32:29 CDT 2012


On 2012-07-15 1:30 PM, Matt Mackall wrote:
> On Sun, 2012-07-15 at 12:55 +0400, Nikolaj Sjujskij wrote:
>> # HG changeset patch
>> # User Nikolaj Sjujskij <sterkrig at myopera.com>
>> # Date 1342342218 -14400
>> # Node ID f28df36ee7debac14cd9af32929ed793e66deabb
>> # Parent  3ac9592b7ab432e1470ec97d19c9b7c58c3fda86
>> zsh completion: catch up with Mercurial 2.3
> To quote ContributingChanges:
>
> * patch does just one thing (if you need a bullet list, split your
> patch)
>
> And boy does this ever have a bullet list.
>
> http://mercurial.selenic.com/wiki/OneChangePerPatch

I am not Matt, but I would probably split them up something like this:

New commands:
  * add `forget`, `recover`, `rollback`, `root`, `tags`, `verify` commands;
  * add qclone command;

New extensions:
  * extensions: convert, fetch, graphlog, purge, record;

New options:
  * --subrepos/-S for all supporting commands;
  * bookmarks and branches opts for push/pull/incoming/outgoing;
  * log opts for incoming/outgoing;
  * backout: add --tool;
  * bisect: add --extend;
  * bookmarks: add --inactive;
  * branches: add --closed;
  * bundle: add --rev, --all, --branch;
  * cat: add --decode;
  * clone: add --updaterev, --branch, --pull and use common-with-qclone opts;
  * commit: add --close-branch;
  * diff: add --change, --reverse, --stat, --text, --unified;
  * export: add --rev;
  * grep: add --date;
  * heads: add --topo, --closed;
  * help: add --extension, --command, --keywords
  * identify: add --bookmark and remote_opts;
  * import: add --no-commit, --exact, --import-branch, --date, --user,
    --similarity and commit options;
  * log: add --user, --date, --stat, --git;
  * manifest: add --rev;
  * push: add --new-branch;
  * resolve: add --all, --no-status, --tool and pattern options;
  * revert: add --date;
  * serve: add --prefix, --web-conf, --pid-file, --cmdserver, --certificate;
  * status: add --change;
  * tag: add --force, --edit, --remove;
  * tip: add --git;
  * update: add --check, --date;
    * qapplied/qunapplied: add --last/--first;
    * qdiff: add all diff options;
    * qfold: add --force, --no-backup;
    * qgoto: add --keep-changes;
    * qimport: add --git, --push;
    * qnew: add user- and date-related options;
    * qpop/qpush: add --keep-changes and --no-backup, drop --name;
    * qpush: drop deprecated --merge;
    * strip: add --rev, --keep, --bookmark, update descriptions, drop --backup.

refactoring:
  * define separate vars for "ignore whitespaces", "common clone/qclone",
    "date and user, current or not", log option sets, --tool and --git

behavior change 1:
  * require argument for several options of rebase, graft and merge;

behavior change 2:
  * help: complete additional help topics also, not commands only;

And thanks a lot for doing this!



More information about the Mercurial-devel mailing list