contrib/docker/centos7
author Mads Kiilerich <madski@unity3d.com>
Tue, 08 Nov 2016 18:37:33 +0100
changeset 30431 8c0c75aa3ff4
parent 23033 1d354814ff4d
child 34423 1baa077214ae
permissions -rw-r--r--
bdiff: give slight preference to longest matches in the middle of the B side We already have a slight preference for matches close to the middle on the A side. Now, do the same on the B side. j is iterating the b range backwards and we thus accept a new j if the previous match was in the upper half. This makes the test-bhalf diff "correct". It obviously also gives more preference to balanced recursion than to appending to sequences. That is kind of correct, but will also unfortunately make some bundles bigger. No doubt, we can also create examples where it will make them smaller ... The bundle size for 4.0 (hg bundle --base null -r 4.0 x.hg) happens to go from 22803824 to 22806817 bytes - an 0.01% increase.

FROM centos:centos7
RUN yum install -y gcc
RUN yum install -y python-devel python-docutils
RUN yum install -y make
RUN yum install -y rpm-build
RUN yum install -y gettext
RUN yum install -y tar
# For creating repo meta data
RUN yum install -y createrepo