view tests/test-rollback @ 5911:2296ecefa223

Fix test-strip-cross on Solaris Solaris /sbin/sh doesn't do brace expansion
author Richard Lowe <richlowe@richlowe.net>
date Sat, 19 Jan 2008 22:16:15 -0500
parents dd5a501cb97f
children 88b4d726332a
line wrap: on
line source

#!/bin/sh

mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -m "test" -d "1000000 0"
hg verify
hg parents
hg status
hg rollback
hg verify
hg parents
hg status

# Test issue 902
hg commit -m "test"
hg branch test
hg rollback
hg branch