From 91e7e6f6abdd1e724b5bf571551be78fed62ee90 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 23 Mar 2015 13:52:06 +0000 Subject: [PATCH] Use DAG range to determine commits between mercurial revisions. Previously it would show also commits in other branches. --- src/lib/Hydra/Plugin/MercurialInput.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/MercurialInput.pm b/src/lib/Hydra/Plugin/MercurialInput.pm index 160be7b4..07db0728 100644 --- a/src/lib/Hydra/Plugin/MercurialInput.pm +++ b/src/lib/Hydra/Plugin/MercurialInput.pm @@ -110,7 +110,7 @@ sub getCommits { chdir $clonePath or die $!; my $out; - IPC::Run::run(["hg", "log", "--template", "{node|short}\t{author|person}\t{author|email}\n", "-r", "$rev1:$rev2", $clonePath], \undef, \$out) + IPC::Run::run(["hg", "log", "--template", "{node|short}\t{author|person}\t{author|email}\n", "-r", "$rev1::$rev2", $clonePath], \undef, \$out) or die "cannot get mercurial logs: $?"; my $res = [];