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

login
register
mail settings
Submitter phabricator
Date July 15, 2020, 6:23 p.m.
Message ID <differential-rev-PHID-DREV-op7bth6ttxhpct7rbxx2-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46754/
State Superseded
Headers show

Comments

phabricator - July 15, 2020, 6:23 p.m.
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




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

Patch

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',