view tests/test-diff-reverse @ 10427:400ffd5f2f14

test-mq-qclone: test --mq option
author Patrick Mezard <pmezard@gmail.com>
date Fri, 12 Feb 2010 21:30:24 +0100
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