error in doc/hg.1.txt

Matt Mackall mpm at selenic.com
Sat Aug 6 16:43:43 CDT 2005


On Sat, Aug 06, 2005 at 01:38:40PM +0200, Thomas Arendsen Hein wrote:
> * Soh Tk-r28629 <tksoh at freescale.com> [20050803 01:39]:
> > I believe -d has been killed sometime ago:
> > 
> > --debug, -d::
> 
> You're right.
> 
> * Soh Tk-r28629 <tksoh at freescale.com> [20050803 01:47]:
> 
> > There seems to be inconsistancy on the convention used between 'hg
> > help' and hg.1.txt. Below is an example (REV vs revision, file vs
> > FILE):
> >
> > % grep ^log doc/hg.1.txt 
> > log [-r revision ...] [-p] [file]::
> > 
> > % hg help log | head -1
> > hg log [-r REV] [-p] [FILE]
> 
> I changed the code to be consistent with itself and other UNIX
> tools, but I didn't update the man page yet.
> 
> You would do me a great favour if you send a patch for this.

Ideally we'd have some scheme to keep the command documentation in
commands.py and build the manpages from that. Or some similar scheme
to avoid duplication.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list