[PATCH STABLE] docker: match more version of 'hg docker version' (issue4967)

Matt Mackall mpm at selenic.com
Wed Dec 2 10:48:30 CST 2015


On Wed, 2015-12-02 at 10:09 -0600, Kevin Bullock wrote:
> > On Nov 24, 2015, at 20:16, Pierre-Yves David <pierre-yves.david at ens
> > -lyon.org> wrote:
> > 
> > # HG changeset patch
> > # User Pierre-Yves David <pierre-yves.david at fb.com>
> > # Date 1448417605 28800
> > #      Tue Nov 24 18:13:25 2015 -0800
> > # Branch stable
> > # Node ID 05635441f955acbdab243156af39e79addda1c34
> > # Parent  6979fe2a6d75105affcacd9e298262a92641cb98
> > # Available At http://hg.netv6.net/marmoute-wip/mercurial/
> > #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/
> >  -r 05635441f955
> > docker: match more version of 'hg docker version' (issue4967)
> > 
> > My version of docker (1.8.3) have a different formating for 'docker
> > version'
> > that broke the build script. We make the version matching more
> > generic in to
> > work with both version.
> 
> Looks like `docker version` will take a format string:
> 
>     $ docker version -f '{{.Client.Version}}'
>     1.8.3

I think we could simply search for "[Cc]lient" as the other "docker" is
very different.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list