no branch info available yet in scmdiff, so disable for now

This commit is contained in:
Rob Vermaas 2011-10-05 18:45:19 +00:00
parent 6ca9501632
commit 52c2b31711

View file

@ -215,7 +215,7 @@ sub scmdiff : Chained('api') PathPart('scmdiff') Args(0) {
if($type eq "hg") { if($type eq "hg") {
my $clonePath = scmPath . "/" . sha256_hex($uri); my $clonePath = scmPath . "/" . sha256_hex($uri);
die if ! -d $clonePath; 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)`; $diff .= `(cd $clonePath ; hg diff -r $rev1:$rev2)`;
} elsif ($type eq "git") { } elsif ($type eq "git") {
my $clonePath = scmPath . "/" . sha256_hex($uri.$branch); my $clonePath = scmPath . "/" . sha256_hex($uri.$branch);