##// END OF EJS Templates
drawdag: use 'tagsmod.tag' instead of 'repo.tag'...
Pierre-Yves David -
r31671:d761ef24 default
parent child Browse files
Show More
@@ -85,6 +85,7 b' from mercurial import ('
85 error,
85 error,
86 node,
86 node,
87 scmutil,
87 scmutil,
88 tags as tagsmod,
88 )
89 )
89
90
90 cmdtable = {}
91 cmdtable = {}
@@ -308,4 +309,5 b' def debugdrawdag(ui, repo, **opts):'
308 ctx = simplecommitctx(repo, name, pctxs, [name])
309 ctx = simplecommitctx(repo, name, pctxs, [name])
309 n = ctx.commit()
310 n = ctx.commit()
310 committed[name] = n
311 committed[name] = n
311 repo.tag(name, n, message=None, user=None, date=None, local=True)
312 tagsmod.tag(repo, name, n, message=None, user=None, date=None,
313 local=True)
General Comments 0
You need to be logged in to leave comments. Login now