view tests/test-diff-reverse @ 11142:0bf79efeaa20

test-subrepo-svn: fix strange svn behaviour on windows I got a full path when pusing the external like: Sending C:/foo/bar/test-subrepo-svn/sub/t/s/alpha instead of the relative path
author Patrick Mezard <pmezard@gmail.com>
date Mon, 10 May 2010 22:52:28 +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