Mercurial > hg-stable
changeset 34212:6c408bfa2dab
drawdag: tagsmod.tag() takes a list of names, not a single name
We were getting lucky on Python 2 since we have only one-byte names,
but on Python 3 badness was happening.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 23 Aug 2017 01:24:01 -0400 |
parents | bab82c43c065 |
children | 1e71dddc10a2 |
files | tests/drawdag.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/drawdag.py Wed Aug 23 01:22:59 2017 -0400 +++ b/tests/drawdag.py Wed Aug 23 01:24:01 2017 -0400 @@ -346,7 +346,7 @@ ctx = simplecommitctx(repo, name, pctxs, added) n = ctx.commit() committed[name] = n - tagsmod.tag(repo, name, n, message=None, user=None, date=None, + tagsmod.tag(repo, [name], n, message=None, user=None, date=None, local=True) # handle special comments