From 476ffcbde0e9c792147adbe54ac86181397fb632 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 28 Nov 2017 20:35:28 +0100 Subject: [PATCH] test: adjust to recent git-fast-export which only detects exact copy Fixes mnauw/git-remote-hg#11 --- test/main.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/main.t b/test/main.t index 35624de..69c9e5b 100755 --- a/test/main.t +++ b/test/main.t @@ -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