# HG changeset patch # User Rainer Woitok # Date 1455985946 -3600 # Node ID 1bcb4f34b9f91a2e330966182f691664fbada1bc # Parent 4f8ced23345e61dda5b26b2db61a9461322201f9 doc: correct example concerning "hg purge" alias in man page "hgrc.5" The "hg purge" alias as currently described in "hgrc.5" only works, if the caller's current working directory is identical to the repository's root directory. This patch slightly modifies the example by adding an empty pattern as a file argument to the "hg status" command, thus forcing this command to list the affected files relative to the current directory. diff -r 4f8ced23345e -r 1bcb4f34b9f9 mercurial/help/config.txt --- a/mercurial/help/config.txt Thu Feb 18 22:32:18 2016 -0500 +++ b/mercurial/help/config.txt Sat Feb 20 17:32:26 2016 +0100 @@ -276,7 +276,7 @@ will let you do ``hg echo foo`` to have ``foo`` printed in your terminal. A better example might be:: - purge = !$HG status --no-status --unknown -0 | xargs -0 rm + purge = !$HG status --no-status --unknown -0 re: | xargs -0 rm which will make ``hg purge`` delete all unknown files in the repository in the same manner as the purge extension.