phabupdate: allow revisions to be marked "closed"
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 15 Jul 2020 14:06:12 -0400
changeset 45137 3ad0855cc602
parent 45136 1ff5070c0ab4
child 45138 2010f3143062
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
hgext/phabricator.py
--- 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',