Commit b2c294bc authored by Michal Čihař's avatar Michal Čihař

Better way to get last commit ID

Issue #511
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent e082090e
...@@ -528,7 +528,7 @@ class HgRepository(Repository): ...@@ -528,7 +528,7 @@ class HgRepository(Repository):
""" """
_cmd = 'hg' _cmd = 'hg'
_cmd_last_revision = [ _cmd_last_revision = [
'id', '--id' 'log', '--limit', '1', '--template', '{node}'
] ]
_cmd_last_remote_revision = [ _cmd_last_remote_revision = [
'log', 'TODO' 'log', 'TODO'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment