mercurial/commands.py
changeset 11718 3e979f47a4c9
parent 11697 efcdf6a953a0
child 11780 3cdd6fdc3d9e
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