##// END OF EJS Templates
help: mark literal blocks
Martin Geisler -
r9290:26fb5b0a default
parent child Browse files
Show More
@@ -119,9 +119,9 b' helptable = ('
119 119 "12/6"
120 120 "12/6/6" (Dec 6 2006)
121 121
122 Lastly, there is Mercurial's internal format:
122 Lastly, there is Mercurial's internal format::
123 123
124 "1165432709 0" (Wed Dec 6 13:18:29 2006 UTC)
124 "1165432709 0" (Wed Dec 6 13:18:29 2006 UTC)
125 125
126 126 This is the internal representation format for dates. unixtime is
127 127 the number of seconds since the epoch (1970-01-01 00:00 UTC).
@@ -361,12 +361,12 b' PYTHONPATH'
361 361
362 362 Three styles are packaged with Mercurial: default (the style used
363 363 when no explicit preference is passed), compact and changelog.
364 Usage:
364 Usage::
365 365
366 366 $ hg log -r1 --style changelog
367 367
368 368 A template is a piece of text, with markup to invoke variable
369 expansion:
369 expansion::
370 370
371 371 $ hg log -r1 --template "{node}\n"
372 372 b56ce7b07c52de7d5fd79fb89701ea538af65746
@@ -398,7 +398,7 b' PYTHONPATH'
398 398 want to use a date in your output, you can use a filter to process
399 399 it. Filters are functions which return a string based on the input
400 400 variable. You can also use a chain of filters to get the desired
401 output:
401 output::
402 402
403 403 $ hg tip --template "{date|isodate}\n"
404 404 2008-08-21 18:22 +0000
General Comments 0
You need to be logged in to leave comments. Login now