zsh_completion: handle --rev as well as -r for diff and revert
ClosedPublic

Authored by av6 on Aug 31 2018, 1:42 AM.

Details

Summary

Completion for hg diff and revert should suggest all files in context of a
non-current revision. The script used to look only for -r foo, and now it
also understands --rev foo.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
av6 created this revision.Aug 31 2018, 1:42 AM
spectral accepted this revision.Aug 31 2018, 6:37 PM
pulkit accepted this revision.Sep 1 2018, 4:45 PM
This revision was automatically updated to reflect the committed changes.