view tests/test-diff-reverse @ 10375:adf9505e8888

commands: Try to improve help options text for basic commands Mostly rewrite -r text
author timeless@mozdev.org
date Fri, 20 Nov 2009 14:37:36 +0200
parents 24bc6e414610
children
line wrap: on
line source

#!/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