mercurial/commands.py
changeset 40014 d6b3cb3c5b11
parent 40013 d6e02248cdba
child 40015 c60c1d30a4b2
equal deleted inserted replaced
40013:d6e02248cdba 40014:d6b3cb3c5b11
  1356     :``%h``: short-form changeset hash (12 hexadecimal digits)
  1356     :``%h``: short-form changeset hash (12 hexadecimal digits)
  1357     :``%r``: zero-padded changeset revision number
  1357     :``%r``: zero-padded changeset revision number
  1358     :``%b``: basename of the exporting repository
  1358     :``%b``: basename of the exporting repository
  1359     :``\\``: literal "\\" character
  1359     :``\\``: literal "\\" character
  1360 
  1360 
       
  1361     .. container:: verbose
       
  1362 
       
  1363       Template:
       
  1364 
       
  1365       The following keywords are supported in addition to the common template
       
  1366       keywords and functions. See also :hg:`help templates`.
       
  1367 
       
  1368       :data:    String. File content.
       
  1369       :path:    String. Repository-absolute path of the file.
       
  1370 
  1361     Returns 0 on success.
  1371     Returns 0 on success.
  1362     """
  1372     """
  1363     opts = pycompat.byteskwargs(opts)
  1373     opts = pycompat.byteskwargs(opts)
  1364     rev = opts.get('rev')
  1374     rev = opts.get('rev')
  1365     if rev:
  1375     if rev: