phabupdate: allow resigning from revisions
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 15 Jul 2020 14:18:18 -0400
changeset 45140 c59e7bed8924
parent 45139 383b8c77096d
child 45141 9719e118e4af
phabupdate: allow resigning from revisions Differential Revision: https://phab.mercurial-scm.org/D8756
hgext/phabricator.py
--- a/hgext/phabricator.py	Wed Jul 15 14:14:58 2020 -0400
+++ b/hgext/phabricator.py	Wed Jul 15 14:18:18 2020 -0400
@@ -2168,6 +2168,7 @@
         (b'', b'close', False, _(b'close revisions')),
         (b'', b'reopen', False, _(b'reopen revisions')),
         (b'', b'plan-changes', False, _(b'plan changes for revisions')),
+        (b'', b'resign', False, _(b'resign as a reviewer from revisions')),
         (b'', b'commandeer', False, _(b'commandeer revisions')),
         (b'm', b'comment', b'', _(b'comment on the last revision')),
     ],
@@ -2191,6 +2192,7 @@
         b'reject',
         b'reopen',
         b'request-review',
+        b'resign',
     ]
     flags = [n for n in transactions if opts.get(n.replace(b'-', b'_'))]
     if len(flags) > 1: