mercurial - How (is it possible) to create an hg command alias that runs multiple commands? -
i define mercurial command alias in hgrc file invokes multiple commands. example following:
[alias] giveup = revert --all --no-backup; purge syncprod = fetch production; push production
this allow me call hg syncprod
, have invoke fetch , push. haven't been able determine if capability exists. (i'm guessing means no.)
use shell alias style this:
giveup = !$hg revert --all --no-backup ; $hg purge
though, i'd create bash alias skip hg
part altogether.
Comments
Post a Comment