tests/test-inotify-lookup
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
Tue, 08 Jun 2010 18:01:07 +0200
changeset 11316 7fa3968004c1
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
rebase: --abort doesn't strip away the target changeset (issue2220) When a changeset is skipped, rebase keeps the previous target as next target and if the skipped cset is the first one, the recorded target is actually the original target. --abort did not detect this situation but simply stripped away the cset.

#!/bin/sh

"$TESTDIR/hghave" inotify || exit 80

hg init
echo "[extensions]" > .hg/hgrc
echo "inotify=" >> .hg/hgrc
hg inserve -d --pid-file .hg/inotify.pid

echo a > a
hg ci -Aqm0
hg co -q null
hg co -q
hg st
cat a

kill `cat .hg/inotify.pid`