Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 11718:3e979f47a4c9
help: fix bytes/digit confusion for hashes
spotted by FUJIWARA Katsunori <fujiwara@ascade.co.jp>
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 31 Jul 2010 18:27:03 -0500 |
parents | efcdf6a953a0 |
children | 3cdd6fdc3d9e |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Jul 31 18:12:50 2010 -0500 +++ b/mercurial/commands.py Sat Jul 31 18:27:03 2010 -0500 @@ -1460,11 +1460,11 @@ given using a format string. The formatting rules are as follows: :``%%``: literal "%" character - :``%H``: changeset hash (40 bytes of hexadecimal) + :``%H``: changeset hash (40 hexadecimal digits) :``%N``: number of patches being generated :``%R``: changeset revision number :``%b``: basename of the exporting repository - :``%h``: short-form changeset hash (12 bytes of hexadecimal) + :``%h``: short-form changeset hash (12 hexadecimal digits) :``%n``: zero-padded sequence number, starting at 1 :``%r``: zero-padded changeset revision number