changeset 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 e4fc0f0b4f7e
children e859e80944d0 dffdc8c8f6d6
files mercurial/help/filesets.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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::