Skip to content

Commit

Permalink
use something similar to git log --first-parent for hg
Browse files Browse the repository at this point in the history
  • Loading branch information
jhford committed Jul 31, 2013
1 parent b553247 commit 2b24bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bisect_b2g/repository.py
Expand Up @@ -170,7 +170,8 @@ def _resolve_tag(self, rev=None):
def rev_list(self, start, end):
log.debug("Fetching HG revision list for %s..%s", start, end)
raw_xml = self.repo.hg_log(
"%s..%s" % (start, end), **{'--style': 'xml'})
"p1(first(children(%s))..first(children(%s)))" % (
start, end), **{'--style': 'xml'})

root = ElementTree.XML(raw_xml.encode('utf-8'))
output = []
Expand Down

0 comments on commit 2b24bf8

Please sign in to comment.