##// END OF EJS Templates
phases: avoid N² behavior in `advanceboundary`...
phases: avoid N² behavior in `advanceboundary` We allowed duplicated entries in the deque, which each entry could potentially insert all its ancestors. So advancing boundary for the full repository would mean each revision would walk all its ancestors, resulting in O(N²) iteration. For repository of any decent size, N² is quickly insane. We introduce a simple set to avoid this and get back to reasonable performance.

File last commit:

r52200:87bfd170 default
r52398:c9ceb4f6 6.7 stable
Show More
Dockerfile
14 lines | 512 B | text/x-dockerfile-config | DockerLexer
FROM registry.heptapod.net/mercurial/ci-images/mercurial-core:v2.0
USER ci-runner
ENV PATH=/home/ci-runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTHONPATH=/home/ci-runner/.local/lib/python3.11/site-packages
RUN python3 -m pip install --user --break-system-packages --upgrade pytype==2023.11.21
ADD --chown=ci-runner entrypoint.sh /home/ci-runner/entrypoint.sh
RUN chmod -R a=rwX /home/ci-runner/.local/ /home/ci-runner/entrypoint.sh
CMD /home/ci-runner/entrypoint.sh