tests/test-diff-reverse
changeset 9857 24bc6e414610
parent 9725 3f522d2fa633
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-diff-reverse	Sat Nov 14 14:21:53 2009 +0100
@@ -0,0 +1,24 @@
+#!/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