# HG changeset patch # User Martin Geisler # Date 2009-04-24 17:39:27 # Node ID 19f22977e6359fb9be6a6d407702f26a413e0be5 # Parent 1bef3656d9fef609814be7b48102eebd7deee674 help: document stripdir template filter diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -322,6 +322,8 @@ PYTHONPATH:: last component of the path after splitting by the path separator (ignoring trailing seprators). For example, "foo/bar/baz" becomes "baz" and "foo/bar//" becomes "bar". + - stripdir: Treat the text as path and strip a directory level, if + possible. For example, "foo" and "foo/bar" becomes "foo". - date: Date. Returns a date in a Unix date format, including the timezone: "Mon Sep 04 15:13:13 2006 0700". - domain: Any text. Finds the first string that looks like an