mercurial/help.py
changeset 9360 f4f17d5695d2
parent 9359 9bf49b37a32c
child 9361 419aa488432e
equal deleted inserted replaced
9359:9bf49b37a32c 9360:f4f17d5695d2
   424     - fill76: Any text. Wraps the text to fit in 76 columns.
   424     - fill76: Any text. Wraps the text to fit in 76 columns.
   425     - firstline: Any text. Returns the first line of text.
   425     - firstline: Any text. Returns the first line of text.
   426     - nonempty: Any text. Returns '(none)' if the string is empty.
   426     - nonempty: Any text. Returns '(none)' if the string is empty.
   427     - hgdate: Date. Returns the date as a pair of numbers:
   427     - hgdate: Date. Returns the date as a pair of numbers:
   428           "1157407993 25200" (Unix timestamp, timezone offset).
   428           "1157407993 25200" (Unix timestamp, timezone offset).
   429     - isodate: Date. Returns the date in ISO 8601 format.
   429     - isodate: Date. Returns the date in ISO 8601 format: "2009-08-18
       
   430           13:00 +0200".
   430     - isodatesec: Date. Returns the date in ISO 8601 format, including
   431     - isodatesec: Date. Returns the date in ISO 8601 format, including
   431           seconds. See also the rfc3339date filter.
   432           seconds: "2009-08-18 13:00:13 +0200". See also the
       
   433           rfc3339date filter.
   432     - localdate: Date. Converts a date to local date.
   434     - localdate: Date. Converts a date to local date.
   433     - obfuscate: Any text. Returns the input text rendered as a
   435     - obfuscate: Any text. Returns the input text rendered as a
   434           sequence of XML entities.
   436           sequence of XML entities.
   435     - person: Any text. Returns the text before an email address.
   437     - person: Any text. Returns the text before an email address.
   436     - rfc822date: Date. Returns a date using the same format used
   438     - rfc822date: Date. Returns a date using the same format used
   437           in email headers.
   439           in email headers: "Tue, 18 Aug 2009 13:00:13 +0200".
   438     - rfc3339date: Date. Returns a date using the Internet date format
   440     - rfc3339date: Date. Returns a date using the Internet date format
   439           specified in RFC 3339.
   441           specified in RFC 3339: "2009-08-18T13:00:13+02:00".
   440     - short: Changeset hash. Returns the short form of a changeset
   442     - short: Changeset hash. Returns the short form of a changeset
   441           hash, i.e. a 12-byte hexadecimal string.
   443           hash, i.e. a 12-byte hexadecimal string.
   442     - shortdate: Date. Returns a date like "2006-09-18".
   444     - shortdate: Date. Returns a date like "2006-09-18".
   443     - strip: Any text. Strips all leading and trailing whitespace.
   445     - strip: Any text. Strips all leading and trailing whitespace.
   444     - tabindent: Any text. Returns the text, with every line except
   446     - tabindent: Any text. Returns the text, with every line except