phabupdate: allow revisions to be reopened
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 15 Jul 2020 14:13:16 -0400
changeset 45138 2010f3143062
parent 45137 3ad0855cc602
child 45139 383b8c77096d
phabupdate: allow revisions to be reopened Differential Revision: https://phab.mercurial-scm.org/D8754
hgext/phabricator.py
--- a/hgext/phabricator.py	Wed Jul 15 14:06:12 2020 -0400
+++ b/hgext/phabricator.py	Wed Jul 15 14:13:16 2020 -0400
@@ -2166,6 +2166,7 @@
         (b'', b'abandon', False, _(b'abandon revisions')),
         (b'', b'reclaim', False, _(b'reclaim revisions')),
         (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'm', b'comment', b'', _(b'comment on the last revision')),
     ],
@@ -2186,6 +2187,7 @@
         b'plan-changes',
         b'reclaim',
         b'reject',
+        b'reopen',
         b'request-review',
     ]
     flags = [n for n in transactions if opts.get(n.replace(b'-', b'_'))]