Mercurial > hg
view contrib/docker/centos5 @ 27929:3b2ac2115464 stable
changegroup: introduce safeversion()
In a few places (at least repair.py and shelve.py), we want to find
the best changegroup version that we can assume users of the repo will
understand. For example, we choose version 01 by default, but if it's
a generaldelta repo, we expect clients to support version 02 anyway,
so we choose that for new bundles (for e.g. "hg strip"). Let's create
a helper for this functionality in changegroup, so we can reuse it
elsewhere later.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 19 Jan 2016 15:32:32 -0800 |
parents | eea2e0f76a24 |
children | aa7a3f6e3729 |
line wrap: on
line source
FROM centos:centos5 RUN yum install -y gcc make rpm-build gettext tar RUN yum install -y python-devel python-docutils # For creating repo meta data RUN yum install -y createrepo RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel