changeset 45138:2010f3143062

phabupdate: allow revisions to be reopened Differential Revision: https://phab.mercurial-scm.org/D8754
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 15 Jul 2020 14:13:16 -0400
parents 3ad0855cc602
children 383b8c77096d
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: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'_'))]