SOLVED: Re: problem with .hgignore patterns

Ernie Rael errael at raelity.com
Tue Jan 17 16:13:17 UTC 2023


The repo that had the pattern hasn't been used for a few years and was 
moved from a Windows box to linux and a global ignore file is not the 
same as it was; so can't be sure why I thought this regexp pattern worked.

   WRONG: (^|/)dist$
CORRECT: (^|/)dist/

-ernie

On 23/01/12 5:58 PM, Ernie Rael wrote:
> I recently updated from v6.2.3 to v6.3.2 (at least I think that was 
> the from). I'm seeing something that's either a cockpit error or a new 
> issue.
>
> In .hgignore, there's a pattern of "(^|/)dist$" (without the quotes). 
> It doesn't seem to work anymore. If I remove the "$" then it catches 
> the "dist" directory.
>
> -ernie
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list