From ed23a6e6d3192bec38c5b7910eacab21d634ff3c Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 10 Apr 2012 10:06:12 +0200 Subject: [PATCH] Add branch to local clone path of git repositories for now. --- src/lib/Hydra/Helper/AddBuilds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 39ed2412..d2187fe3 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -323,7 +323,7 @@ sub fetchInputGit { my $storePath; mkpath(scmPath); - my $clonePath = scmPath . "/" . sha256_hex($uri); + my $clonePath = scmPath . "/" . sha256_hex($uri.$branch); my $stdout; my $stderr; if (! -d $clonePath) {