del transaction before lock before wlock
This way rollbacks happen while the repo is still locked.
Deleting lock before wlock is not strictly necessary, but is
more consistent with the locking order.
#!/bin/sh"$TESTDIR/hghave" symlink || exit 80hg init aln -s a linkcd aecho foo > foohg statushg status ../link