phabupdate: allows revisions to be marked "request-review"
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 15 Jul 2020 14:03:55 -0400
changeset 45136 1ff5070c0ab4
parent 45135 225588c4c255
child 45137 3ad0855cc602
phabupdate: allows revisions to be marked "request-review" Differential Revision: https://phab.mercurial-scm.org/D8752
hgext/phabricator.py
--- a/hgext/phabricator.py	Wed Jul 15 13:27:55 2020 -0400
+++ b/hgext/phabricator.py	Wed Jul 15 14:03:55 2020 -0400
@@ -2162,6 +2162,7 @@
     [
         (b'', b'accept', False, _(b'accept revisions')),
         (b'', b'reject', False, _(b'reject revisions')),
+        (b'', b'request-review', False, _(b'request review on revisions')),
         (b'', b'abandon', False, _(b'abandon revisions')),
         (b'', b'reclaim', False, _(b'reclaim revisions')),
         (b'', b'plan-changes', False, _(b'plan changes for revisions')),
@@ -2183,6 +2184,7 @@
         b'plan-changes',
         b'reclaim',
         b'reject',
+        b'request-review',
     ]
     flags = [n for n in transactions if opts.get(n.replace(b'-', b'_'))]
     if len(flags) > 1: