mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-07-01 00:09:09 +02:00
test: adjust to recent git-fast-export which only detects exact copy
Fixes mnauw/git-remote-hg#11
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user