hg command reference?

David Champion dgc at uchicago.edu
Tue Apr 20 14:38:22 CDT 2010


* On 20 Apr 2010, Jens Alfke wrote: 
> 
> On Apr 20, 2010, at 11:57 AM, Matt Mackall wrote:
> >If we want to automatically generate a web page per command from the
> >latest verbose help text, we can probably do that pretty easily.
> 
> git that I like [I know, I'm forced to use it at work] ? you can
> configure it to open its help in a web browser, so "git help commit"
> comes up as a full web page. This gives a lot of room for
> formatting, supports hyperlinks between commands, and also stays out
> of the way of my terminal session, so I can still see my previous
> commands and can leave the help window open for reference.
> 
> Has anyone thought of adding this to Mercurial?

Alternately, consider adding help to hgweb.  Example: "hg serve --help",
then point your browser to, http://localhost:8000/help.  Or "hg serve
--help=docs", then http://localhost:8000/docs.

-- 
 -D.    dgc at uchicago.edu    IT Services    University of Chicago


More information about the Mercurial mailing list