tests/test-issue1438
author Martin Geisler <mg@aragost.com>
Fri, 23 Apr 2010 09:53:25 +0200
changeset 10974 854ac04d712c
parent 7783 2c5b2abfb8be
permissions -rwxr-xr-x
doc: make links for hg role The system has a bit of smartness: :hg:`update` -> links to hg.1.html#update :hg:`help diffs` -> links to hg.1.html#diffs

#!/bin/sh
"$TESTDIR/hghave" symlink || exit 80

rm -rf a
hg init a
cd a

ln -s foo link
hg add link
hg ci -mbad link
hg rm link
hg ci -mok
hg diff -g -r 0:1 > bad.patch
hg up 0
hg import --no-commit bad.patch
hg st