Skip to content
Snippets Groups Projects
Commit ad8f8552 authored by Cédric Krier's avatar Cédric Krier
Browse files

Ensure to call lookup with a string

Since https://phab.mercurial-scm.org/D3055, lookup method accepts only
string and no more integers.
parent fa0c06d9
No related branches found
No related tags found
No related merge requests found
......@@ -428,7 +428,6 @@ class HgExtractor(GenericExtractor):
ctx = self.repository[commit_id]
commit = Commit(self, unifromlocal(short(ctx.hex())))
# Extract commit-specific values from a "context" object
ctx = self.repository[node]
commit.rev = '%d:%s' % (ctx.rev(), commit.commit)
commit.branch = unifromlocal(ctx.branch())
commit.author = unifromlocal(person(ctx.user()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment