Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
11717:a286a4ecbfeb | 11718:3e979f47a4c9 |
---|---|
1458 | 1458 |
1459 Output may be to a file, in which case the name of the file is | 1459 Output may be to a file, in which case the name of the file is |
1460 given using a format string. The formatting rules are as follows: | 1460 given using a format string. The formatting rules are as follows: |
1461 | 1461 |
1462 :``%%``: literal "%" character | 1462 :``%%``: literal "%" character |
1463 :``%H``: changeset hash (40 bytes of hexadecimal) | 1463 :``%H``: changeset hash (40 hexadecimal digits) |
1464 :``%N``: number of patches being generated | 1464 :``%N``: number of patches being generated |
1465 :``%R``: changeset revision number | 1465 :``%R``: changeset revision number |
1466 :``%b``: basename of the exporting repository | 1466 :``%b``: basename of the exporting repository |
1467 :``%h``: short-form changeset hash (12 bytes of hexadecimal) | 1467 :``%h``: short-form changeset hash (12 hexadecimal digits) |
1468 :``%n``: zero-padded sequence number, starting at 1 | 1468 :``%n``: zero-padded sequence number, starting at 1 |
1469 :``%r``: zero-padded changeset revision number | 1469 :``%r``: zero-padded changeset revision number |
1470 | 1470 |
1471 Without the -a/--text option, export will avoid generating diffs | 1471 Without the -a/--text option, export will avoid generating diffs |
1472 of files it detects as binary. With -a, export will generate a | 1472 of files it detects as binary. With -a, export will generate a |