From 52c2b31711061a0c007167bafa818582b03ba085 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 5 Oct 2011 18:45:19 +0000 Subject: [PATCH] no branch info available yet in scmdiff, so disable for now --- src/lib/Hydra/Controller/API.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/API.pm b/src/lib/Hydra/Controller/API.pm index f1ee9c81..046896b9 100644 --- a/src/lib/Hydra/Controller/API.pm +++ b/src/lib/Hydra/Controller/API.pm @@ -215,7 +215,7 @@ sub scmdiff : Chained('api') PathPart('scmdiff') Args(0) { if($type eq "hg") { my $clonePath = scmPath . "/" . sha256_hex($uri); die if ! -d $clonePath; - $diff .= `(cd $clonePath ; hg log -r $rev1 -r $rev2 -b $branch)`; + $diff .= `(cd $clonePath ; hg log -r $rev1 -r $rev2)`; $diff .= `(cd $clonePath ; hg diff -r $rev1:$rev2)`; } elsif ($type eq "git") { my $clonePath = scmPath . "/" . sha256_hex($uri.$branch);