changeset 45140:c59e7bed8924

phabupdate: allow resigning from revisions Differential Revision: https://phab.mercurial-scm.org/D8756
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 15 Jul 2020 14:18:18 -0400
parents 383b8c77096d
children 9719e118e4af
files hgext/phabricator.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: