Skip to content

Commit f424a4d

Browse files
committed
Merge pull request tobami#186 from pepsiman/mercurialbranch
Get mercurial logs for non-default branches
2 parents d79cb96 + 7cd9dc2 commit f424a4d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

codespeed/mercurial.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def getlogs(endrev, startrev):
4545
updaterepo(endrev.branch.project, update=False)
4646

4747
cmd = ["hg", "log",
48-
"-r", "%s:%s" % (endrev.commitid, startrev.commitid),
49-
"-b", "default",
48+
"-r", "%s::%s" % (startrev.commitid, endrev.commitid),
5049
"--template", "{rev}:{node|short}\n{node}\n{author|user}\n{author|email}\n{date}\n{desc}\n=newlog=\n"]
5150

5251
working_copy = endrev.branch.project.working_copy

0 commit comments

Comments
 (0)