filesets: use example with quotes for encoding predicate stable
authorMartin Geisler <mg@aragost.com>
Tue, 10 Jan 2012 15:20:16 +0100
branchstable
changeset 15825 8b611944eb84
parent 15800 e4fc0f0b4f7e
child 15826 e859e80944d0
child 15845 dffdc8c8f6d6
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".
mercurial/help/filesets.txt
--- 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::