annotate contrib/python3-whitelist @ 33453:f6b7617a85bb

phases: add a 'registernew' method to set new phases This new function will be used by code that adds new changesets. It ajusts the phase boundary to make sure added changesets are at least in their target phase (they end up in an higher phase if their parents are in a higher phase). Having a dedicated function also simplify the phases tracking. All the new nodes are passed as argument, so we know that all of them needs to have their new phase registered. We also know that no other nodes will be affected, so no extra computation are needed. This function differ from 'retractboundary' where some nodes might change phase while some other might not. It can also affect nodes not passed as parameters. These simplification also apply to the computation itself. For now we use '_retractboundary' there by convenience, but we may introduces simpler code later. While registering new revisions, we still need to check the actual phases of the added node because it might be higher than the target phase (eg: target is draft but parent is secret). We will migrate users over the next changesets.
author Boris Feld <boris.feld@octobus.net>
date Tue, 11 Jul 2017 03:47:25 +0200
parents 0e114b992e02
children b7304e1cc914
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32894
ec9ed269edc3 py3: pass the path in hg.repository() as bytes
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32854
diff changeset
1 test-ancestor.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
2 test-backwards-remove.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
3 test-branch-tag-confict.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
4 test-casecollision.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
5 test-check-commit.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
6 test-check-execute.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
7 test-check-pyflakes.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
8 test-check-pylint.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
9 test-check-shbang.t
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
10 test-contrib-check-code.t
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
11 test-contrib-check-commit.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
12 test-diff-issue2761.t
33305
aaa1f8f514cf py3: fix test-diff-newlines.t to be compatible with py3
Boris Feld <boris.feld@octobus.net>
parents: 33118
diff changeset
13 test-diff-newlines.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
14 test-diff-reverse.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
15 test-diff-subdir.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
16 test-dirstate-nonnormalset.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
17 test-doctest.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
18 test-empty-dir.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
19 test-excessive-merge.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
20 test-issue1089.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
21 test-issue1993.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
22 test-issue842.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
23 test-locate.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
24 test-lrucachedict.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
25 test-manifest.py
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
26 test-merge-default.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
27 test-merge-subrepos.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
28 test-merge2.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
29 test-merge5.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
30 test-revlog-packentry.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
31 test-run-tests.py
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
32 test-unified-test.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
33 test-update-reverse.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
34 test-xdg.t