view tests/test-issue1175 @ 7142:88f1b8081f1c

Prevent import over an applied patch (closes issue795)
author Brendan Cully <brendan@kublai.com>
date Sat, 18 Oct 2008 13:22:29 -0700
parents 0d714a48ab53
children
line wrap: on
line source

#!/bin/sh
rm -rf a
hg init a
cd a
touch a
hg ci -Am0
hg mv a a1
hg ci -m1
hg co 0
hg mv a a2
hg up
hg ci -m2

touch a
hg ci -Am3
hg mv a b
hg ci -Am4 a
hg ci --debug --traceback -Am5 b
hg verify
hg export --git tip