D8753: phabupdate: allow revisions to be marked "closed"

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Wed Jul 15 18:23:28 UTC 2020


mharbison72 created this revision.
Herald added subscribers: mercurial-patches, Kwan.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  (Yes, the transaction name and final state in the comment here do differ.)

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8753

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS

diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -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',



To: mharbison72, #hg-reviewers
Cc: Kwan, mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list