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

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Oct. 31, 2014, 5:46 p.m.
Message ID <cf56f7a60b4595c2b8cb.1414777602@feefifofum>
Download mbox | patch
Permalink /patch/6494/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Oct. 31, 2014, 5:46 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@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.

Patch

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::