changeset 45137:3ad0855cc602

phabupdate: allow revisions to be marked "closed" (Yes, the transaction name and final state in the comment here do differ.) Differential Revision: https://phab.mercurial-scm.org/D8753
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 15 Jul 2020 14:06:12 -0400
parents 1ff5070c0ab4
children 2010f3143062
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:03:55 2020 -0400
+++ b/hgext/phabricator.py	Wed Jul 15 14:06:12 2020 -0400
@@ -2165,6 +2165,7 @@
         (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'close', False, _(b'close revisions')),
         (b'', b'plan-changes', False, _(b'plan changes for revisions')),
         (b'm', b'comment', b'', _(b'comment on the last revision')),
     ],
@@ -2181,6 +2182,7 @@
     transactions = [
         b'abandon',
         b'accept',
+        b'close',
         b'plan-changes',
         b'reclaim',
         b'reject',