# HG changeset patch # User Matt Harbison # Date 2020-07-15 18:06:12 # Node ID 3ad0855cc602057498604e7658d97233f7bc7342 # Parent 1ff5070c0ab481250fdebc104ef3073a8cee7978 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 diff --git a/hgext/phabricator.py b/hgext/phabricator.py --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -2165,6 +2165,7 @@ def phabimport(ui, repo, *specs, **opts) (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 @@ def phabupdate(ui, repo, *specs, **opts) transactions = [ b'abandon', b'accept', + b'close', b'plan-changes', b'reclaim', b'reject',