author | Matt Mackall <mpm@selenic.com> |
Sat, 17 Sep 2011 13:08:24 -0500 | |
changeset 15118 | 9a1438f6af5f |
parent 15117 | 0ab1c3a1f3b2 |
child 15119 | ac46a9cdf6e6 |
--- a/mercurial/commands.py Sat Sep 17 12:34:47 2011 -0500 +++ b/mercurial/commands.py Sat Sep 17 13:08:24 2011 -0500 @@ -2327,6 +2327,18 @@ To undo a forget before the next commit, see :hg:`add`. + .. container:: verbose + + Examples: + + - forget newly-added binary files:: + + hg forget "set:added() and binary()" + + - forget files that would be excluded by .hgignore:: + + hg forget "set:hgignore()" + Returns 0 on success. """