# HG changeset patch # User Pierre-Yves David # Date 1490630885 -7200 # Node ID d761ef24d6e15dc91f7131e96bb4fbcae33b4e7c # Parent adace35f931d8a28bf6c37b59f8c100ca1541f6d drawdag: use 'tagsmod.tag' instead of 'repo.tag' The former is about to be deprecated. 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)