Mercurial > evolve
view tests/testlib/obshistory_setup.sh @ 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 | 7c624b45fe60 |
children |
line wrap: on
line source
. $TESTDIR/testlib/common.sh cat >> $HGRCPATH <<EOF [ui] interactive = true [phases] publish=False [extensions] evolve = [experimental] evolution.effect-flags = yes EOF sync() { hg pull -R $TESTTMP/server . -q }