tests/test-diff-reverse
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Wed, 11 Nov 2009 17:48:00 +0100
changeset 9876 6e8a16dd3e30
parent 9857 24bc6e414610
permissions -rwxr-xr-x
alias: improve help text for command aliases Displays the line "alias for: hg ..." with the original command including options, followed by the command's original help text.

#!/bin/sh

hg init
cat > a <<EOF
a
b
c
EOF
hg ci -Am adda

cat > a <<EOF
d
e
f
EOF
hg ci -m moda

hg diff --reverse -r0 -r1

cat >> a <<EOF
g
h
EOF
hg diff --reverse --nodates