Patchwork D8756: phabupdate: allow resigning from revisions

login
register
mail settings
Submitter phabricator
Date July 15, 2020, 6:23 p.m.
Message ID <differential-rev-PHID-DREV-ubsf6omjswqifrcdlzgj-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46757/
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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

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
@@ -2168,6 +2168,7 @@ 
         (b'', b'close', False, _(b'close revisions')),
         (b'', b'reopen', False, _(b'reopen revisions')),
         (b'', b'plan-changes', False, _(b'plan changes for revisions')),
+        (b'', b'resign', False, _(b'resign as a reviewer from revisions')),
         (b'', b'commandeer', False, _(b'commandeer revisions')),
         (b'm', b'comment', b'', _(b'comment on the last revision')),
     ],
@@ -2191,6 +2192,7 @@ 
         b'reject',
         b'reopen',
         b'request-review',
+        b'resign',
     ]
     flags = [n for n in transactions if opts.get(n.replace(b'-', b'_'))]
     if len(flags) > 1: