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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -