test: adjust to recent git-fast-export which only detects exact copy

Fixes mnauw/git-remote-hg#11
This commit is contained in:
Mark Nauwelaerts
2017-11-28 20:35:28 +01:00
parent 76be528c0d
commit 476ffcbde0

View File

@@ -15,6 +15,7 @@ if test "$CAPABILITY_PUSH" = "t"
then
git config --global remote-hg.capability-push true
git config --global remote-hg.push-updates-notes true
git config --global remote-hg.fast-export-options '-C -C -M'
else
git config --global remote-hg.capability-push false
fi
@@ -489,7 +490,9 @@ testcopyrename='
(
cd gitrepo &&
cp content content-copy &&
echo one > content &&
# recent git-fast-export is (too) picky in recognizing copies
# although git-log is not as picky (????)
# echo one > content &&
git add content content-copy &&
git commit -m copy &&
git mv content-copy content-moved