Patchwork ignore: note debugignore on ignore man page

login
register
mail settings
Submitter Adam Hull
Date June 12, 2020, 10:27 p.m.
Message ID <674cafac6b063b1ba2ad.1592000862@aph-mbp>
Download mbox | patch
Permalink /patch/46502/
State Accepted
Headers show

Comments

Adam Hull - June 12, 2020, 10:27 p.m.
# HG changeset patch
# User Adam Hull <adam@hmlad.com>
# Date 1591996954 25200
#      Fri Jun 12 14:22:34 2020 -0700
# Branch stable
# Node ID 674cafac6b063b1ba2ad278dce58a10b306766b1
# Parent  6c8384afbf770be2167478fff3cb9b92e1182a06
ignore: note debugignore on ignore man page

It took me a long time to find debugignore. I found the ignore man page
quickly. This change adds a debugging section to the ignore man page
letting people know there is a debug command.
Yuya Nishihara - June 14, 2020, 3:12 a.m.
On Fri, 12 Jun 2020 15:27:42 -0700, Adam Hull wrote:
> # HG changeset patch
> # User Adam Hull <adam@hmlad.com>
> # Date 1591996954 25200
> #      Fri Jun 12 14:22:34 2020 -0700
> # Branch stable
> # Node ID 674cafac6b063b1ba2ad278dce58a10b306766b1
> # Parent  6c8384afbf770be2167478fff3cb9b92e1182a06
> ignore: note debugignore on ignore man page

Queued for stable, thanks.

Patch

diff -r 6c8384afbf77 -r 674cafac6b06 mercurial/helptext/hgignore.txt
--- a/mercurial/helptext/hgignore.txt	Tue Jun 09 05:24:45 2020 +0200
+++ b/mercurial/helptext/hgignore.txt	Fri Jun 12 14:22:34 2020 -0700
@@ -95,3 +95,9 @@ 
   # switch to regexp syntax.
   syntax: regexp
   ^\.pc/
+
+Debugging
+=========
+
+Use the ``debugignore`` command to see if and why a file is ignored, or to
+see the combined ignore pattern. See :hg:`help debugignore` for details.