Mercurial > hg
view contrib/docker/fedora20 @ 31060:ab20491b1760
dispatch: rearrange 'unknown command' code to better employ pager
dispatch calls help like a ninja if you give it a truly unknown
command, and that might want to be paged. If it gets paged, then the
'hg: unknown command' text gets eaten by a grue, unless we call the
pager first. This change rearranges the codepaths so we can safely
only invoke the pager in the case where we'll have long output from
the help command code, rather than just a short message like "did you
mean stat instead of start" or "fetch is provided by the fetch
extension".
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 21 Feb 2017 14:20:05 -0500 |
parents | 49ea49823769 |
children | 1baa077214ae |
line wrap: on
line source
FROM fedora:20 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 # For creating repo meta data RUN yum install -y createrepo