mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] [patch] hgignore pkg symbolic link as well as


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] [patch] hgignore pkg symbolic link as well as real directory
Date: Fri, 19 Feb 2010 16:42:49 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Tony Theodore <address@hidden> schrieb:
> On 19 February 2010 19:58, Mark Brand <address@hidden> wrote:
> > diff --git a/.hgignore b/.hgignore
> > --- a/.hgignore
> > +++ b/.hgignore
> > @@ -1,4 +1,5 @@
> >  ^usr/
> >  ^log/
> >  ^pkg/
> > +^pkg
> >  ^dist/

Thanks for the hint. However "^pkg" is too liberal, because
it would also match any files in "/" whose name starts with
"pkg".

Instead, I prefer to use

    ^pkg$
    ^pkg/

or the more compact:

    ^pkg($|/)

I also think that we should do that for all sub directories:

http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/2ebd5e54f8b7


> Any interest in adding ^tmp* as well?

I don't think this is a good idea. When a "tmp-*" directory
is hanging around, it should be noticed, because its existence
is just a temporary state, not a normal state. So in situations
where you usually perform an "hg status", these directories
shouldn't be there. In case they are, they should be noticed
quickly.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]