Mercurial > evolve
diff hgext3rd/topic/stack.py @ 4803:88472e743c64
python3: add byte prefix for objects that look like kwargs but aren't
The `byteify-strings.py` script has no way of knowing that those aren't
acutally kwargs since it works purely at the tokenization level, so we
have to add the byte prefix to their keys manually.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 06 Aug 2019 11:17:38 +0200 |
parents | f30c1fab7155 |
children | 48b30ff742cb |
line wrap: on
line diff
--- a/hgext3rd/topic/stack.py Tue Aug 06 11:10:36 2019 +0200 +++ b/hgext3rd/topic/stack.py Tue Aug 06 11:17:38 2019 +0200 @@ -317,7 +317,7 @@ symbol = None states = [] - if opts.get('children'): + if opts.get(b'children'): expr = 'children(%d) and merge() - %ld' revisions = repo.revs(expr, ctx.rev(), st._revs) if len(revisions) > 0: