Last active
August 29, 2015 14:18
-
-
Save elifarley/4fc46c55f2e1c847d5a1 to your computer and use it in GitHub Desktop.
Some useful aliases for Mercurial DVCS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save this file as %USERPROFILE%\mercurial.ini or ~/.hgrc | |
[alias] | |
nudge = push --rev . | |
clean = clean --abort-on-err | |
cleana = clean --all | |
qic = !%HG% qimport -r .:: && %HG% qpop -a $@ | |
qfa = !%HG% qpush -a $@ && %HG% qfinish -a | |
metaimport = !%HG% export $@ | %HG% import --user "%HGUSER%" --bypass - | |
metaimportnc = !%HG% export $@ | %HG% import --user "%HGUSER%" --no-commit --similarity 50 - | |
upc = !%HG% cleana && %HG% up -C -r . $@ | |
upcr = !%HG% cleana && %HG% up -C $@ | |
ul = !%HG% --config ui.merge=internal:local up $@ | |
uo = !%HG% --config ui.merge=internal:other up $@ | |
ml = merge --tool internal:local | |
mo = merge --tool internal:other | |
mi = !%HG% metaimport $@ | |
minc = !%HG% metaimportnc $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment