Mercurial > evolve
comparison docs/user-guide.rst @ 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 | 561e97db1cf7 |
children | 8beb44234b33 |
comparison
equal
deleted
inserted
replaced
4732:4168c6b83406 | 4733:85ae5dc0507d |
---|