diff -r adace35f931d -r d761ef24d6e1 tests/drawdag.py --- a/tests/drawdag.py Mon Mar 27 16:00:34 2017 +0200 +++ b/tests/drawdag.py Mon Mar 27 18:08:05 2017 +0200 @@ -85,6 +85,7 @@ error, node, scmutil, + tags as tagsmod, ) cmdtable = {} @@ -308,4 +309,5 @@ ctx = simplecommitctx(repo, name, pctxs, [name]) n = ctx.commit() committed[name] = n - repo.tag(name, n, message=None, user=None, date=None, local=True) + tagsmod.tag(repo, name, n, message=None, user=None, date=None, + local=True)