test-rollback: enable for Windows

but without the part that needs serve
This commit is contained in:
Adrian Buehlmann 2012-06-11 19:04:18 +02:00
parent 30989f3fa5
commit dffb3eecb9

View File

@ -1,5 +1,3 @@
$ "$TESTDIR/hghave" serve || exit 80
setup repo setup repo
$ hg init t $ hg init t
$ cd t $ cd t
@ -124,6 +122,7 @@ same thing, but run $EDITOR
test rollback on served repository test rollback on served repository
#if serve
$ hg commit -m "precious commit message" $ hg commit -m "precious commit message"
$ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
$ cat hg.pid >> $DAEMON_PIDS $ cat hg.pid >> $DAEMON_PIDS
@ -148,6 +147,7 @@ presents the correct tip changeset:
working directory now based on revision 0 working directory now based on revision 0
$ hg id default $ hg id default
791dd2169706 791dd2169706
#endif
update to older changeset and then refuse rollback, because update to older changeset and then refuse rollback, because
that would lose data (issue2998) that would lose data (issue2998)