# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 2014-10-31 17:43:08
# Node ID cf56f7a60b4595c2b8cbe970d26c10659075fbd6
# Parent  12837ba22784f342756cd89bc59f05c637cddce5

help: use "hg files" instead of "hg locate" in "hg help filesets"

The latter command is already deprecated.

diff --git a/mercurial/help/filesets.txt b/mercurial/help/filesets.txt
--- a/mercurial/help/filesets.txt
+++ b/mercurial/help/filesets.txt
@@ -48,11 +48,11 @@ Some sample queries:
 
 - Find text files that contain a string::
 
-    hg locate "set:grep(magic) and not binary()"
+    hg files "set:grep(magic) and not binary()"
 
 - Find C files in a non-standard encoding::
 
-    hg locate "set:**.c and not encoding('UTF-8')"
+    hg files "set:**.c and not encoding('UTF-8')"
 
 - Revert copies of large binary files::