[Reviewers] Stupid phabricator alias hacks
Ryan McElroy
rm at fb.com
Thu Nov 9 19:26:40 UTC 2017
I have similar things (but my phabricator extension is turned on in that repoâs hgrc, so I donât need to pass âconfig)
alias.pa=!$HG phabread $1 | $HG import --obsolete -
alias.pq=phabupdate --accept -m "queued"
Probably I should change that $1 to â$@â â seems like a good improvement.
Cheers,
~Ryan
From: Reviewers <reviewers-bounces at mercurial-scm.org> on behalf of Augie Fackler <raf at durin42.com>
Date: Wednesday, October 25, 2017 at 8:00 PM
To: reviewers <reviewers at mercurial-scm.org>
Subject: [Reviewers] Stupid phabricator alias hacks
I've got a couple of aliases that make our contrib/phabricator.py more useful:
[alias]
phabapply = !$HG --config extensions.phabricator=contrib/phabricator.py phabread "$@" | hg import --obsolete -
phabland = !$HG phabapply "$@" && $HG --config extensions.phabricator=contrib/phabricator.py phabupdate --accept "$@"
You need to have the right [phabricator] config set up, but once you've got that it's pretty easy to start queueing things and marking them as accepted on phabricator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/reviewers/attachments/20171109/69d6649f/attachment.html>
More information about the Reviewers
mailing list