equal
deleted
inserted
replaced
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: |