view tests/test-rollback @ 5814:dd5a501cb97f

restore branch after rollback (issue 902)
author Alexandre Vassalotti <mercurial-bugs@selenic.com>
date Mon, 07 Jan 2008 15:26:12 -0600
parents 4f072bb06e89
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