Mercurial > public > mercurial-scm > hg
diff tests/test-log.t @ 22955:fab9dda0f2a3
obsolete: update tests to use obsolete options
The obsolete._enabled flag has become a config option. This updates all but one
of the tests to use the minimal number of flags necessary for them to pass. For
most tests this is just 'createmarkers', for a couple tests it's
'allowunstable', and for even fewer it's 'exchange'.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 14 Oct 2014 13:34:25 -0700 |
parents | 739095270f48 |
children | dc25ed84bee8 |
line wrap: on
line diff
--- a/tests/test-log.t Tue Oct 14 13:27:00 2014 -0700 +++ b/tests/test-log.t Tue Oct 14 13:34:25 2014 -0700 @@ -1377,12 +1377,10 @@ enable obsolete to test hidden feature - $ cat > ${TESTTMP}/obs.py << EOF - > import mercurial.obsolete - > mercurial.obsolete._enabled = True + $ cat >> $HGRCPATH << EOF + > [experimental] + > evolution=createmarkers > EOF - $ echo '[extensions]' >> $HGRCPATH - $ echo "obs=${TESTTMP}/obs.py" >> $HGRCPATH $ hg log --template='{rev}:{node}\n' 1:a765632148dc55d38c35c4f247c618701886cb2f