[PATCH 02 of 10] help: use rst for version text

Matt Mackall mpm at selenic.com
Thu Nov 18 13:37:09 CST 2010


On Thu, 2010-11-18 at 09:23 +0100, Erik Zielke wrote:
> Den 17-11-2010 20:02, Matt Mackall skrev:
> > On Wed, 2010-11-17 at 18:11 +0100, Erik Zielke wrote:
> >> # HG changeset patch
> >> # User Erik Zielke<ez at aragost.com>
> >> # Date 1289291331 -3600
> >> # Node ID 8b1c0f96014d2a6c955a9a92c5efd72358b48e08
> >> # Parent  f81b256b8a7e02a7daae1868528120a7f1e322c1
> >> help: use rst for version text
> >>
> >> Generate rst for version text and format that, instead of directly
> >> printing the version string.
> > Why is this a good thing?
> >
> For this patch:
> 
> The version string will then automatically be wrapped if the terminal 
> width is too narrow.

I don't think it belongs in this series, as it broadens the scope from
"let's run all the help through minirst" (noncontroversial) to "let's
run all the output through minirst" (controversial).

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list