Patchwork D9526: phab-refresh: allow passing additional argument to the phabsend

login
register
mail settings
Submitter phabricator
Date Dec. 5, 2020, 11:08 p.m.
Message ID <differential-rev-PHID-DREV-f7wgmoybc3ubwbulmfia-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47809/
State Superseded
Headers show

Comments

phabricator - Dec. 5, 2020, 11:08 p.m.
marmoute created this revision.
marmoute added a comment.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.


  initial sent before test run (refresh post test run imminent)

REVISION SUMMARY
  This will be useful to pass a custom message.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  contrib/phab-refresh-stack.sh

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/contrib/phab-refresh-stack.sh b/contrib/phab-refresh-stack.sh
--- a/contrib/phab-refresh-stack.sh
+++ b/contrib/phab-refresh-stack.sh
@@ -30,6 +30,7 @@ 
     exit 2
 fi
 
+
 hg \
 --config extensions.phabricator= \
 --config phabricator.url=https://phab.mercurial-scm.org/ \
@@ -38,3 +39,4 @@ 
 --config auth.phabricator.prefix=phab.mercurial-scm.org \
 --config auth.phabricator.phabtoken=$PHABRICATOR_TOKEN \
 phabsend --rev '.#stack and ::. and topic()' \
+"$@"