Mercurial > evolve
diff tests/test-evolve-list.t @ 4733:85ae5dc0507d
split: remove an unnecessary (and confusingly typed) fallback revision
`opts.get('rev') or '.'` is either a list of strings or just a
string. It happened to work because `'.'[0] == '.'` on Python 2, but
it won't work on Python 3 (for byte strings). The fallback value
wasn't even needed (it was also set just after), so let's just remove
it.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 12 Jul 2019 08:20:24 -0700 |
parents | 3caa4a459439 |
children | f54bb6eaf5e6 |