From patchwork Sat Dec 5 23:08:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D9526: phab-refresh: allow passing additional argument to the phabsend From: phabricator X-Patchwork-Id: 47809 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Sat, 5 Dec 2020 23:08:17 +0000 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 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()' \ +"$@"