phabupdate: allow revisions to be reopened
Differential Revision: https://phab.mercurial-scm.org/D8754
--- 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'_'))]