Mercurial > hg
comparison tests/test-obsolete.t @ 34866:1644623ab096
config: use 'experimental.evolution.create-markers'
Extract 'experimental.evolution' = createmarkers as
'experimental.evolution.createmarkers'.
We keep the new option in the 'experimental.evolution' namespace in order to
stay coherent with other options ('experimental.evolution.bundle-obsmarker'
and 'experimental.evolution.track-operation') ease the renaming as possibly
'evolution.createmarkers'.
Differential Revision: https://phab.mercurial-scm.org/D1149
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 28 Sep 2017 18:19:06 +0100 |
parents | 962f7df21a73 |
children | 44797aedfb35 |
comparison
equal
deleted
inserted
replaced
34865:a0100f34e20b | 34866:1644623ab096 |
---|---|
37 | 37 |
38 Enabling it | 38 Enabling it |
39 | 39 |
40 $ cat >> $HGRCPATH << EOF | 40 $ cat >> $HGRCPATH << EOF |
41 > [experimental] | 41 > [experimental] |
42 > stabilization=createmarkers,exchange | 42 > evolution=exchange |
43 > evolution.createmarkers=True | |
43 > EOF | 44 > EOF |
44 | 45 |
45 Killing a single changeset without replacement | 46 Killing a single changeset without replacement |
46 | 47 |
47 $ hg debugobsolete 0 | 48 $ hg debugobsolete 0 |
897 $ killdaemons.py hg.pid | 898 $ killdaemons.py hg.pid |
898 | 899 |
899 Checking _enable=False warning if obsolete marker exists | 900 Checking _enable=False warning if obsolete marker exists |
900 | 901 |
901 $ echo '[experimental]' >> $HGRCPATH | 902 $ echo '[experimental]' >> $HGRCPATH |
902 $ echo "stabilization=" >> $HGRCPATH | 903 $ echo "evolution=" >> $HGRCPATH |
903 $ hg log -r tip | 904 $ hg log -r tip |
904 obsolete feature not enabled but 68 markers found! | |
905 68:c15e9edfca13 (draft) [tip ] add celestine | 905 68:c15e9edfca13 (draft) [tip ] add celestine |
906 | 906 |
907 reenable for later test | 907 reenable for later test |
908 | 908 |
909 $ echo '[experimental]' >> $HGRCPATH | 909 $ echo '[experimental]' >> $HGRCPATH |
910 $ echo "stabilization=createmarkers,exchange" >> $HGRCPATH | 910 $ echo "evolution=exchange" >> $HGRCPATH |
911 $ echo "evolution.createmarkers=True" >> $HGRCPATH | |
911 | 912 |
912 $ rm hg.pid access.log errors.log | 913 $ rm hg.pid access.log errors.log |
913 #endif | 914 #endif |
914 | 915 |
915 Several troubles on the same changeset (create an unstable and bumped changeset) | 916 Several troubles on the same changeset (create an unstable and bumped changeset) |
1309 $ echo foo > f2 | 1310 $ echo foo > f2 |
1310 $ hg add f2 | 1311 $ hg add f2 |
1311 $ hg ci -m '2' | 1312 $ hg ci -m '2' |
1312 | 1313 |
1313 $ echo bar > f2 | 1314 $ echo bar > f2 |
1314 $ hg commit --amend --config experimetnal.stabilization=createmarkers | 1315 $ hg commit --amend --config experimental.evolution.createmarkers=True |
1315 $ hg log -G | 1316 $ hg log -G |
1316 @ 3:b0551702f918 (draft) [tip ] 2 | 1317 @ 3:b0551702f918 (draft) [tip ] 2 |
1317 | | 1318 | |
1318 o 1:e016b03fd86f (draft) [ ] 1 | 1319 o 1:e016b03fd86f (draft) [ ] 1 |
1319 | | 1320 | |