Mercurial > hg
view tests/test-rebase-issue-noparam-single-rev.out @ 11524:24965bb270b7
dispatch: add shell aliases
This patch adds git-style "shell aliases" to Mercurial.
Any alias with a definition beginning with a '!' will be treated as a shell
alias. For example:
[alias]
echo = !echo
qempty = !hg qrefresh -X "`hg root`" ; echo Emptied patch "`hg qtop`"
$ hg echo foo
foo
$ hg qempty
Emptied patch foo
$
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 07 Jul 2010 18:49:43 -0400 |
parents | 7a9cf012dddc |
children |
line wrap: on
line source
0 files updated, 0 files merged, 1 files removed, 0 files unresolved created new head @ 4:r2 | o 3:r1 | | o 2:l1 |/ o 1:c2 | o 0:c1 % Rebase with no arguments - single revision in source branch 1 files updated, 0 files merged, 2 files removed, 0 files unresolved saved backup bundle to @ 4:l1 | o 3:r2 | o 2:r1 | o 1:c2 | o 0:c1 0 files updated, 0 files merged, 2 files removed, 0 files unresolved created new head @ 4:r1 | | o 3:l2 | | | o 2:l1 |/ o 1:c2 | o 0:c1 % Rebase with no arguments - single revision in target branch 2 files updated, 0 files merged, 1 files removed, 0 files unresolved saved backup bundle to @ 4:l2 | o 3:l1 | o 2:r1 | o 1:c2 | o 0:c1