##// END OF EJS Templates
revert: Make it clearer when not to use revert
revert: Make it clearer when not to use revert

File last commit:

r9857:24bc6e41 default
r11459:59af1d65 stable
Show More
test-diff-reverse
24 lines | 176 B | text/plain | TextLexer
#!/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