comparison tests/test-bundle2-exchange.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 da2758c0aca0
children 11855ba3904c
comparison
equal deleted inserted replaced
22954:32f15b361f36 22955:fab9dda0f2a3
5 > hg -R main log --template '{node}\n' --rev "$1" 5 > hg -R main log --template '{node}\n' --rev "$1"
6 > } 6 > }
7 7
8 enable obsolescence 8 enable obsolescence
9 9
10 $ cat > obs.py << EOF
11 > import mercurial.obsolete
12 > mercurial.obsolete._enabled = True
13 > EOF
14
15 $ cat >> $HGRCPATH << EOF 10 $ cat >> $HGRCPATH << EOF
16 > [extensions]
17 > obsolete=$TESTTMP/obs.py
18 > [experimental] 11 > [experimental]
12 > evolution=createmarkers,exchange
19 > bundle2-exp=True 13 > bundle2-exp=True
20 > [ui] 14 > [ui]
21 > ssh=python "$TESTDIR/dummyssh" 15 > ssh=python "$TESTDIR/dummyssh"
22 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline} 16 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
23 > [web] 17 > [web]