comparison tests/test-bisect.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 0d32dd60016c
children 1ef96a3b8b89
comparison
equal deleted inserted replaced
22954:32f15b361f36 22955:fab9dda0f2a3
553 553
554 554
555 Check that bisect does not break on obsolete changesets 555 Check that bisect does not break on obsolete changesets
556 ========================================================= 556 =========================================================
557 557
558 $ cat > ${TESTTMP}/obs.py << EOF 558 $ cat >> $HGRCPATH << EOF
559 > import mercurial.obsolete 559 > [experimental]
560 > mercurial.obsolete._enabled = True 560 > evolution=createmarkers
561 > EOF 561 > EOF
562 $ echo '[extensions]' >> $HGRCPATH
563 $ echo "obs=${TESTTMP}/obs.py" >> $HGRCPATH
564 562
565 tip is obsolete 563 tip is obsolete
566 --------------------- 564 ---------------------
567 565
568 $ hg debugobsolete `hg id --debug -i -r tip` 566 $ hg debugobsolete `hg id --debug -i -r tip`