From 35bcab74ed356374fa3c883f6780469fb952a2c6 Mon Sep 17 00:00:00 2001 From: Kevin Quick Date: Sun, 9 Sep 2018 22:04:32 -0700 Subject: [PATCH] Fix darcs input to use darcs-specific SCM cache dir. Currently re-using the git cache dir which could cause overlap problems. --- src/lib/Hydra/Plugin/DarcsInput.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/DarcsInput.pm b/src/lib/Hydra/Plugin/DarcsInput.pm index c6227123..2944e149 100644 --- a/src/lib/Hydra/Plugin/DarcsInput.pm +++ b/src/lib/Hydra/Plugin/DarcsInput.pm @@ -22,7 +22,7 @@ sub fetchInput { my $storePath; my $revCount; - my $cacheDir = getSCMCacheDir . "/git"; + my $cacheDir = getSCMCacheDir . "/darcs"; mkpath($cacheDir); my $clonePath = $cacheDir . "/" . sha256_hex($uri); $uri =~ s|^file://||; # darcs wants paths, not file:// uris