Using Mercurial v1.3 importing a patch that contains
copy a to b
rename a to c
fails with: "abort: a: file not found!"
although every changes where applied perfectly
just a commit with msg, date, … from the patch is missing.
Reproduce with:
hg init rep1
hg init rep2
cd rep1
echo "file1" > file1
hg ci -A -m "patch base"
hg push ../rep2
hg cp file1 file1.txt
hg mv file1 file2.txt
hg ci -A -m "copy/rename"
hg export -g -o ../patch.diff tip
cd ../rep2
hg up
hg import --exact ../patch.diff
|