[PATCH 2 of 7 STABLE] help: use "hg files" instead of "hg locate" in "hg help filesets"

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Fri Oct 31 12:46:42 CDT 2014


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1414777388 -32400
#      Sat Nov 01 02:43:08 2014 +0900
# Branch stable
# 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 @@
 
 - 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::
 


More information about the Mercurial-devel mailing list