diff mercurial/help/filesets.txt @ 15825:8b611944eb84 stable

filesets: use example with quotes for encoding predicate A user on IRC was confused that "encoding(ASCII)" works and "encoding(UTF-8)" fails with "parse error: encoding requires an encoding name".
author Martin Geisler <mg@aragost.com>
date Tue, 10 Jan 2012 15:20:16 +0100
parents 968c301a1005
children 170fc0949fb6
line wrap: on
line diff
--- a/mercurial/help/filesets.txt	Sun Jan 08 23:09:35 2012 +0800
+++ b/mercurial/help/filesets.txt	Tue Jan 10 15:20:16 2012 +0100
@@ -52,7 +52,7 @@
 
 - Find C files in a non-standard encoding::
 
-    hg locate "set:**.c and not encoding(ascii)"
+    hg locate "set:**.c and not encoding('UTF-8')"
 
 - Revert copies of large binary files::