Mercurial > hg-stable
comparison tests/test-commandserver.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 | 524b786bd54f |
children | 840be5ca03e1 |
comparison
equal
deleted
inserted
replaced
22954:32f15b361f36 | 22955:fab9dda0f2a3 |
---|---|
406 *** runcommand phase . | 406 *** runcommand phase . |
407 5: public | 407 5: public |
408 *** runcommand branches | 408 *** runcommand branches |
409 default 1:731265503d86 | 409 default 1:731265503d86 |
410 | 410 |
411 $ cat <<EOF > obs.py | 411 $ cat >> .hg/hgrc << EOF |
412 > import mercurial.obsolete | 412 > [experimental] |
413 > mercurial.obsolete._enabled = True | 413 > evolution=createmarkers |
414 > EOF | |
415 $ cat <<EOF >> .hg/hgrc | |
416 > [extensions] | |
417 > obs = obs.py | |
418 > EOF | 414 > EOF |
419 | 415 |
420 >>> import os | 416 >>> import os |
421 >>> from hgclient import readchannel, runcommand, check | 417 >>> from hgclient import readchannel, runcommand, check |
422 >>> @check | 418 >>> @check |