mercurial/commands.py
changeset 15118 9a1438f6af5f
parent 15115 c84b3f42d5ae
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.
     """