We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcebb2 commit b8eb297Copy full SHA for b8eb297
setuptools_scm/hg.py
@@ -11,7 +11,7 @@ def _hg_tagdist_normalize_tagcommit(root, tag, dist, node):
11
revset = ("(branch(.) and tag('{0}')::. and file('re:^(?!\.hgtags).*$')"
12
" - tag('{0}'))").format(str(tag))
13
if tag != '0.0':
14
- commits = do(['hg', 'log', '-r', revset, '-T', '{node|short}'],
+ commits = do(['hg', 'log', '-r', revset, '--template', '{node|short}'],
15
root)
16
else:
17
commits = True
0 commit comments