Mercurial > evolve
diff tests/test-exchange-obsmarkers-case-C1.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 | e6bea259c227 |
children | 98941c28f3e2 a2fdbece7ce1 |