tests/test-diffdir
author Matt Mackall <mpm@selenic.com>
Sat, 29 Mar 2008 12:39:47 -0500
changeset 6431 a42d8d3e6ea9
parent 4180 f80cf8b7bbd9
permissions -rwxr-xr-x
copies: refactor symmetricdifference as _findlimit We only need to track the lowest revision seen, which makes things simpler.

#!/bin/sh

hg init
touch a
hg add a
hg ci -m "a" -d "1000000 0"

echo 123 > b
hg add b
hg diff --nodates

hg diff --nodates -r tip

echo foo > a
hg diff --nodates

hg diff -r ""
hg diff -r tip -r ""

true