hg command reference?

Dave Brosius dbrosius at mebigfatguy.com
Tue Apr 20 16:52:24 CDT 2010


+1 for having hg serve - serve help as well.


----- Original Message -----
From: "Matt Mackall" <mpm at selenic.com>
Sent: Tue, April 20, 2010 15:50
Subject:Re: hg command reference?


On Tue, 2010-04-20 at 14:38 -0500, David Champion wrote:
> * 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.

Ooh, that is a very pleasing notion. Though I don't see any reason to
not just have hg serve always serve docs.

-- 
http://selenic.com : development and support for Mercurial and Linux


_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial



----- End of original message -----



More information about the Mercurial mailing list