Mercurial > evolve
view tests/test-options.t @ 5533:044ce00dfa88 stable
tests: use the modern config setting to enable evolution in topic tests
When adding `hg pick --config extensions.evolve=` to test-topic-dest.t to
investigate issue6406, it failed with `abort: unknown command 'pick'`. This is
a manifestation of issue6039. I made several attempts at determining the root
cause, and while I'm still worried about *why* a config setting can cause the
extension to fail to fully initialize, there are some topic bugs to cleanup and
I don't feel like spending more time on this.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 05 Sep 2020 00:07:01 -0400 |
parents | 9bce7e6c18b3 |
children | cb39b767ad3c bf8638b5c526 |
line wrap: on
line source
$ cat >> $HGRCPATH <<EOF > [ui] > logtemplate={rev}:{node|short}[{bookmarks}] ({obsolete}/{phase}) {desc|firstline}\n > [extensions] > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH $ mkcommit() { > echo "$1" > "$1" > hg add "$1" > hg ci -m "add $1" > } $ hg init repo $ cd repo $ mkcommit a $ mkcommit b test disabling commands $ cat >> .hg/hgrc <<EOF > [experimental] > evolution=createmarkers > allowunstable > exchange > EOF $ hg prune hg: unknown command 'prune' (use 'hg help' for a list of commands) [255]