sapling/tests/test-diff-reverse

25 lines
176 B
Plaintext
Raw Normal View History

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