Show More
@@ -11,7 +11,7 b'' | |||
|
11 | 11 | #if obsstore-on |
|
12 | 12 | $ cat << EOF >> $HGRCPATH |
|
13 | 13 | > [experimental] |
|
14 |
> |
|
|
14 | > evolution.createmarkers=True | |
|
15 | 15 | > EOF |
|
16 | 16 | #endif |
|
17 | 17 | |
@@ -180,7 +180,8 b' With allowunstable, amend could work in ' | |||
|
180 | 180 | |
|
181 | 181 | $ cat >> $HGRCPATH <<EOF |
|
182 | 182 | > [experimental] |
|
183 |
> |
|
|
183 | > evolution=allowunstable | |
|
184 | > evolution.createmarkers=True | |
|
184 | 185 | > EOF |
|
185 | 186 | |
|
186 | 187 | $ hg amend |
@@ -574,7 +574,7 b' Check that bisect does not break on obso' | |||
|
574 | 574 | |
|
575 | 575 | $ cat >> $HGRCPATH << EOF |
|
576 | 576 | > [experimental] |
|
577 |
> |
|
|
577 | > evolution.createmarkers=True | |
|
578 | 578 | > EOF |
|
579 | 579 | |
|
580 | 580 | tip is obsolete |
@@ -6,7 +6,8 b'' | |||
|
6 | 6 | > [phases] |
|
7 | 7 | > publish=False |
|
8 | 8 | > [experimental] |
|
9 | > stabilization=createmarkers,exchange | |
|
9 | > evolution=exchange | |
|
10 | > evolution.createmarkers=True | |
|
10 | 11 | > EOF |
|
11 | 12 | |
|
12 | 13 | $ TESTHOOK='hooks.txnclose-bookmark.test=echo "test-hook-bookmark: $HG_BOOKMARK: $HG_OLDNODE -> $HG_NODE"' |
@@ -15,7 +15,8 b' enable obsolescence' | |||
|
15 | 15 | |
|
16 | 16 | $ cat >> $HGRCPATH << EOF |
|
17 | 17 | > [experimental] |
|
18 | > stabilization=createmarkers,exchange | |
|
18 | > evolution=exchange | |
|
19 | > evolution.createmarkers=True | |
|
19 | 20 | > bundle2-output-capture=True |
|
20 | 21 | > [ui] |
|
21 | 22 | > ssh="$PYTHON" "$TESTDIR/dummyssh" |
@@ -230,7 +230,7 b' Create an extension to test bundle2 API' | |||
|
230 | 230 | > [extensions] |
|
231 | 231 | > bundle2=$TESTTMP/bundle2.py |
|
232 | 232 | > [experimental] |
|
233 |
> |
|
|
233 | > evolution.createmarkers=True | |
|
234 | 234 | > [ui] |
|
235 | 235 | > ssh=$PYTHON "$TESTDIR/dummyssh" |
|
236 | 236 | > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline} |
@@ -2,7 +2,7 b' Enable obsolete markers' | |||
|
2 | 2 | |
|
3 | 3 | $ cat >> $HGRCPATH << EOF |
|
4 | 4 | > [experimental] |
|
5 |
> |
|
|
5 | > evolution.createmarkers=True | |
|
6 | 6 | > [phases] |
|
7 | 7 | > publish=False |
|
8 | 8 | > EOF |
@@ -712,7 +712,7 b' Create repositories to test auto sharing' | |||
|
712 | 712 | $ cd filteredrev0 |
|
713 | 713 | $ cat >> .hg/hgrc << EOF |
|
714 | 714 | > [experimental] |
|
715 |
> |
|
|
715 | > evolution.createmarkers=True | |
|
716 | 716 | > EOF |
|
717 | 717 | $ echo initial1 > foo |
|
718 | 718 | $ hg -q commit -A -m initial0 |
@@ -3784,7 +3784,7 b' Test shortest(node) with the repo having' | |||
|
3784 | 3784 | $ cd hashcollision |
|
3785 | 3785 | $ cat <<EOF >> .hg/hgrc |
|
3786 | 3786 | > [experimental] |
|
3787 |
> |
|
|
3787 | > evolution.createmarkers=True | |
|
3788 | 3788 | > EOF |
|
3789 | 3789 | $ echo 0 > a |
|
3790 | 3790 | $ hg ci -qAm 0 |
@@ -509,7 +509,7 b' changelog and manifest would have invali' | |||
|
509 | 509 | |
|
510 | 510 | $ cat >> .hg/hgrc << EOF |
|
511 | 511 | > [experimental] |
|
512 |
> |
|
|
512 | > evolution.createmarkers=True | |
|
513 | 513 | > EOF |
|
514 | 514 | |
|
515 | 515 | >>> import os |
@@ -519,7 +519,8 b' Enable obsolete' | |||
|
519 | 519 | |
|
520 | 520 | $ cat >> $HGRCPATH << EOF |
|
521 | 521 | > [experimental] |
|
522 |
> |
|
|
522 | > evolution=allowunstable | |
|
523 | > evolution.createmarkers=True | |
|
523 | 524 | > EOF |
|
524 | 525 | |
|
525 | 526 | Amend with no files changes |
@@ -2297,7 +2297,7 b' Test --hidden' | |||
|
2297 | 2297 | |
|
2298 | 2298 | $ cat >> $HGRCPATH << EOF |
|
2299 | 2299 | > [experimental] |
|
2300 |
> |
|
|
2300 | > evolution.createmarkers=True | |
|
2301 | 2301 | > EOF |
|
2302 | 2302 | |
|
2303 | 2303 | $ hg debugobsolete `hg id --debug -i -r 8` |
@@ -496,7 +496,8 b' amend should not be blocked by the ongoi' | |||
|
496 | 496 | |
|
497 | 497 | $ cat >>$HGRCPATH <<EOF |
|
498 | 498 | > [experimental] |
|
499 |
> |
|
|
499 | > evolution=allowunstable | |
|
500 | > evolution.createmarkers=True | |
|
500 | 501 | > EOF |
|
501 | 502 | $ hg commit --amend -m 'allow this fold' |
|
502 | 503 | $ hg histedit --continue |
@@ -8,7 +8,8 b' Enable obsolete' | |||
|
8 | 8 | > [phases] |
|
9 | 9 | > publish=False |
|
10 | 10 | > [experimental] |
|
11 |
> |
|
|
11 | > evolution=allowunstable | |
|
12 | > evolution.createmarkers=True | |
|
12 | 13 | > [extensions] |
|
13 | 14 | > histedit= |
|
14 | 15 | > rebase= |
@@ -326,7 +326,7 b' process.' | |||
|
326 | 326 | $ cd largefiles-repo-hg |
|
327 | 327 | $ cat >> .hg/hgrc <<EOF |
|
328 | 328 | > [experimental] |
|
329 |
> |
|
|
329 | > evolution.createmarkers=True | |
|
330 | 330 | > EOF |
|
331 | 331 | $ hg debugobsolete `hg log -r tip -T "{node}"` |
|
332 | 332 | obsoleted 1 changesets |
@@ -1702,7 +1702,7 b' enable obsolete to test hidden feature' | |||
|
1702 | 1702 | |
|
1703 | 1703 | $ cat >> $HGRCPATH << EOF |
|
1704 | 1704 | > [experimental] |
|
1705 |
> |
|
|
1705 | > evolution.createmarkers=True | |
|
1706 | 1706 | > EOF |
|
1707 | 1707 | |
|
1708 | 1708 | $ hg log --template='{rev}:{node}\n' |
@@ -2284,7 +2284,7 b' Even when the file revision is missing f' | |||
|
2284 | 2284 | $ hg init issue4490 |
|
2285 | 2285 | $ cd issue4490 |
|
2286 | 2286 | $ echo '[experimental]' >> .hg/hgrc |
|
2287 |
$ echo ' |
|
|
2287 | $ echo 'evolution.createmarkers=True' >> .hg/hgrc | |
|
2288 | 2288 | $ echo a > a |
|
2289 | 2289 | $ hg ci -Am0 |
|
2290 | 2290 | adding a |
@@ -7,7 +7,8 b' Create a repo, set the username to somet' | |||
|
7 | 7 | > [extensions] |
|
8 | 8 | > amend = |
|
9 | 9 | > [experimental] |
|
10 |
> stabilization= |
|
|
10 | > stabilization=exchange | |
|
11 | > evolution.createmarkers=True | |
|
11 | 12 | > EOF |
|
12 | 13 | $ hg init tmpa |
|
13 | 14 | $ cd tmpa |
@@ -3,7 +3,7 b' test-obsolete.t)' | |||
|
3 | 3 | |
|
4 | 4 | $ cat >> $HGRCPATH << EOF |
|
5 | 5 | > [experimental] |
|
6 |
> |
|
|
6 | > evolution.createmarkers=True | |
|
7 | 7 | > EOF |
|
8 | 8 | |
|
9 | 9 | Push does not corrupt remote |
@@ -6,7 +6,7 b' Check that obsolete properly strip heads' | |||
|
6 | 6 | > [ui] |
|
7 | 7 | > logtemplate='{node|short} ({phase}) {desc|firstline}\n' |
|
8 | 8 | > [experimental] |
|
9 |
> |
|
|
9 | > evolution.createmarkers=True | |
|
10 | 10 | > EOF |
|
11 | 11 | $ mkcommit() { |
|
12 | 12 | > echo "$1" > "$1" |
@@ -9,7 +9,7 b' Enable obsolete' | |||
|
9 | 9 | > [ui] |
|
10 | 10 | > logtemplate = {rev}:{node|short} {desc}{if(obsfate, " [{join(obsfate, "; ")}]")}\n |
|
11 | 11 | > [experimental] |
|
12 |
> |
|
|
12 | > evolution.createmarkers=True | |
|
13 | 13 | > [extensions] |
|
14 | 14 | > drawdag=$TESTDIR/drawdag.py |
|
15 | 15 | > [alias] |
@@ -5,7 +5,7 b'' | |||
|
5 | 5 | > mock=$TESTDIR/mockblackbox.py |
|
6 | 6 | > |
|
7 | 7 | > [experimental] |
|
8 |
> |
|
|
8 | > evolution.createmarkers=True | |
|
9 | 9 | > EOF |
|
10 | 10 | |
|
11 | 11 | Create a repo with some tags |
@@ -39,7 +39,8 b' Enabling it' | |||
|
39 | 39 | |
|
40 | 40 | $ cat >> $HGRCPATH << EOF |
|
41 | 41 | > [experimental] |
|
42 | > stabilization=createmarkers,exchange | |
|
42 | > evolution=exchange | |
|
43 | > evolution.createmarkers=True | |
|
43 | 44 | > EOF |
|
44 | 45 | |
|
45 | 46 | Killing a single changeset without replacement |
@@ -899,15 +900,15 b' check that web.view config option:' | |||
|
899 | 900 | Checking _enable=False warning if obsolete marker exists |
|
900 | 901 | |
|
901 | 902 | $ echo '[experimental]' >> $HGRCPATH |
|
902 |
$ echo " |
|
|
903 | $ echo "evolution=" >> $HGRCPATH | |
|
903 | 904 | $ hg log -r tip |
|
904 | obsolete feature not enabled but 68 markers found! | |
|
905 | 905 | 68:c15e9edfca13 (draft) [tip ] add celestine |
|
906 | 906 | |
|
907 | 907 | reenable for later test |
|
908 | 908 | |
|
909 | 909 | $ echo '[experimental]' >> $HGRCPATH |
|
910 |
$ echo " |
|
|
910 | $ echo "evolution=exchange" >> $HGRCPATH | |
|
911 | $ echo "evolution.createmarkers=True" >> $HGRCPATH | |
|
911 | 912 | |
|
912 | 913 | $ rm hg.pid access.log errors.log |
|
913 | 914 | #endif |
@@ -1311,7 +1312,7 b' Test ability to pull changeset with loca' | |||
|
1311 | 1312 | $ hg ci -m '2' |
|
1312 | 1313 | |
|
1313 | 1314 | $ echo bar > f2 |
|
1314 |
$ hg commit --amend --config experime |
|
|
1315 | $ hg commit --amend --config experimental.evolution.createmarkers=True | |
|
1315 | 1316 | $ hg log -G |
|
1316 | 1317 | @ 3:b0551702f918 (draft) [tip ] 2 |
|
1317 | 1318 | | |
@@ -630,7 +630,7 b' test hidden changeset are not cloned as ' | |||
|
630 | 630 | (enabling evolution) |
|
631 | 631 | $ cat >> $HGRCPATH << EOF |
|
632 | 632 | > [experimental] |
|
633 |
> |
|
|
633 | > evolution.createmarkers=True | |
|
634 | 634 | > EOF |
|
635 | 635 | |
|
636 | 636 | (making a changeset hidden; H in that case) |
@@ -3,7 +3,8 b'' | |||
|
3 | 3 | > drawdag=$TESTDIR/drawdag.py |
|
4 | 4 | > bruterebase=$TESTDIR/bruterebase.py |
|
5 | 5 | > [experimental] |
|
6 |
> evolution= |
|
|
6 | > evolution=allowunstable | |
|
7 | > evolution.createmarkers=True | |
|
7 | 8 | > EOF |
|
8 | 9 | $ init() { |
|
9 | 10 | > N=`expr ${N:-0} + 1` |
@@ -8,7 +8,8 b' Enable obsolete' | |||
|
8 | 8 | > [ui] |
|
9 | 9 | > logtemplate= {rev}:{node|short} {desc|firstline} |
|
10 | 10 | > [experimental] |
|
11 |
> |
|
|
11 | > evolution=allowunstable | |
|
12 | > evolution.createmarkers=True | |
|
12 | 13 | > [phases] |
|
13 | 14 | > publish=False |
|
14 | 15 | > [extensions] |
@@ -7,7 +7,8 b' destination (issue5422)' | |||
|
7 | 7 | > drawdag=$TESTDIR/drawdag.py |
|
8 | 8 | > |
|
9 | 9 | > [experimental] |
|
10 |
> |
|
|
10 | > evolution=allowunstable | |
|
11 | > evolution.createmarkers=True | |
|
11 | 12 | > |
|
12 | 13 | > [alias] |
|
13 | 14 | > tglog = log -G --template "{rev}: {desc}" |
@@ -1794,7 +1794,7 b" Test short 'ff...' hash collision" | |||
|
1794 | 1794 | $ cd wdir-hashcollision |
|
1795 | 1795 | $ cat <<EOF >> .hg/hgrc |
|
1796 | 1796 | > [experimental] |
|
1797 |
> |
|
|
1797 | > evolution.createmarkers=True | |
|
1798 | 1798 | > EOF |
|
1799 | 1799 | $ echo 0 > a |
|
1800 | 1800 | $ hg ci -qAm 0 |
@@ -1626,7 +1626,7 b' Test obsstore related revsets' | |||
|
1626 | 1626 | $ cd repo1 |
|
1627 | 1627 | $ cat <<EOF >> .hg/hgrc |
|
1628 | 1628 | > [experimental] |
|
1629 |
> |
|
|
1629 | > evolution.createmarkers=True | |
|
1630 | 1630 | > EOF |
|
1631 | 1631 | |
|
1632 | 1632 | $ hg debugdrawdag <<'EOS' |
@@ -696,7 +696,7 b' test bug 4073 we need to enable obsolete' | |||
|
696 | 696 | |
|
697 | 697 | $ cat >> $HGRCPATH << EOF |
|
698 | 698 | > [experimental] |
|
699 |
> |
|
|
699 | > evolution.createmarkers=True | |
|
700 | 700 | > EOF |
|
701 | 701 | $ hg shelve |
|
702 | 702 | shelved as default |
@@ -76,7 +76,7 b' Enable obsolete' | |||
|
76 | 76 | > [phases] |
|
77 | 77 | > publish=False |
|
78 | 78 | > [experimental] |
|
79 |
> |
|
|
79 | > evolution.createmarkers=True | |
|
80 | 80 | > EOF |
|
81 | 81 | |
|
82 | 82 | check that we can update parent repo with missing (amended) subrepo revision |
@@ -415,7 +415,8 b' issue5539: pruned tags do not appear in ' | |||
|
415 | 415 | |
|
416 | 416 | $ cat >> $HGRCPATH << EOF |
|
417 | 417 | > [experimental] |
|
418 | > stabilization=createmarkers,exchange | |
|
418 | > evolution=exchange | |
|
419 | > evolution.createmarkers=True | |
|
419 | 420 | > EOF |
|
420 | 421 | $ hg up e4d483960b9b --quiet |
|
421 | 422 | $ echo aaa >>a |
@@ -2,7 +2,8 b' Test uncommit - set up the config' | |||
|
2 | 2 | |
|
3 | 3 | $ cat >> $HGRCPATH <<EOF |
|
4 | 4 | > [experimental] |
|
5 |
> evolution= |
|
|
5 | > evolution=allowunstable | |
|
6 | > evolution.createmarkers=True | |
|
6 | 7 | > [extensions] |
|
7 | 8 | > uncommit = |
|
8 | 9 | > drawdag=$TESTDIR/drawdag.py |
@@ -473,7 +473,7 b' successors should be taken in account wh' | |||
|
473 | 473 | > [ui] |
|
474 | 474 | > logtemplate={rev}:{node|short} {desc|firstline} |
|
475 | 475 | > [experimental] |
|
476 |
> |
|
|
476 | > evolution.createmarkers=True | |
|
477 | 477 | > EOF |
|
478 | 478 | |
|
479 | 479 | Test no-argument update to a successor of an obsoleted changeset |
General Comments 0
You need to be logged in to leave comments.
Login now