Use DAG range to determine commits between mercurial revisions. Previously it would show also commits in other branches.

This commit is contained in:
Rob Vermaas 2015-03-23 13:52:06 +00:00
parent 3b5e84cc73
commit 91e7e6f6ab

View file

@ -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 = [];