Mercurial > hg-stable
diff tests/drawdag.py @ 31676:d761ef24d6e1
drawdag: use 'tagsmod.tag' instead of 'repo.tag'
The former is about to be deprecated.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 27 Mar 2017 18:08:05 +0200 |
parents | a31634336471 |
children | bd872f64a8ba |
line wrap: on
line diff
--- 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)