tests/test-issue612
author Matt Mackall <mpm@selenic.com>
Sun, 02 Dec 2007 18:41:22 -0600
changeset 5604 4b7b21acede0
parent 4819 9797124581c9
child 12156 4c94b6d0fb1c
permissions -rwxr-xr-x
copy: fix copying back with -A (issue836)

#!/bin/sh

mkdir t
cd t

hg init
mkdir src
echo a > src/a.c
hg ci -Ama -d "10000000 0"

hg mv src source
hg ci -Ammove -d "1000000 0"

hg co -C 0
echo new > src/a.c
echo compiled > src/a.o
hg ci -mupdate -d "1000000 0"

hg st

hg merge

hg st