mercurial/help.py
changeset 8668 aea3a23151bd
parent 8591 08c93b07f5ad
child 8863 7b19c3c0172b
equal deleted inserted replaced
8667:594507755800 8668:aea3a23151bd
   318           every line except the last.
   318           every line except the last.
   319     - age: Date. Returns a human-readable date/time difference between
   319     - age: Date. Returns a human-readable date/time difference between
   320           the given date/time and the current date/time.
   320           the given date/time and the current date/time.
   321     - basename: Any text. Treats the text as a path, and returns the
   321     - basename: Any text. Treats the text as a path, and returns the
   322           last component of the path after splitting by the path
   322           last component of the path after splitting by the path
   323           separator (ignoring trailing seprators). For example,
   323           separator (ignoring trailing separators). For example,
   324           "foo/bar/baz" becomes "baz" and "foo/bar//" becomes "bar".
   324           "foo/bar/baz" becomes "baz" and "foo/bar//" becomes "bar".
   325     - stripdir: Treat the text as path and strip a directory level, if
   325     - stripdir: Treat the text as path and strip a directory level, if
   326           possible. For example, "foo" and "foo/bar" becomes "foo".
   326           possible. For example, "foo" and "foo/bar" becomes "foo".
   327     - date: Date. Returns a date in a Unix date format, including
   327     - date: Date. Returns a date in a Unix date format, including
   328           the timezone: "Mon Sep 04 15:13:13 2006 0700".
   328           the timezone: "Mon Sep 04 15:13:13 2006 0700".