In message <[EMAIL PROTECTED]> on Thu, 12 May 2005 16:08:27 -0700, "David 
Brown" <[EMAIL PROTECTED]> said:

monotone> On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker  
monotone> <[EMAIL PROTECTED]> wrote:
monotone> 
monotone> > In message <[EMAIL PROTECTED]> on Wed, 11 May  
monotone> > 2005 18:34:44 -0700, Nathaniel Smith <[EMAIL PROTECTED]> said:
monotone> >
monotone> > njs> On that point, though -- would it make sense to
monotone> > njs> people that, if ignore_file returned 'true' when
monotone> > njs> given a directory, that everything inside that
monotone> > njs> directory should therefore be ignored? 
monotone> >
monotone> > I think it makes sense.
monotone> 
monotone> I encountered this as a problem with 'arch', though, because
monotone> their default ignore list has 'core' as a file to ignore.
monotone> It also ignores the entire net/core directory when importing
monotone> the linux kernel.

Good point.

A way to get around this is to require people to add a slash at the
end to indicate that they want to match a directory.  To then match
both a file "foo" and a directory "foo", you'd have to have the two
entries "foo" and "foo/".

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to