[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-18 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > On Tue, May 17, 2005 at 08:00:45PM +0200, Bruno Hertz wrote: >> > Yes, but just because there's a subtle technical difference doesn't >> > mean that people don't expect them to work the same, and won't >> > make mistakes, experience confusion, etc. if

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-18 Thread Nathaniel Smith
On Tue, May 17, 2005 at 08:00:45PM +0200, Bruno Hertz wrote: > > Yes, but just because there's a subtle technical difference doesn't > > mean that people don't expect them to work the same, and won't > > make mistakes, experience confusion, etc. if they don't... > > I think it's safe to assume you

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-17 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > On Sat, May 14, 2005 at 12:04:57AM -0700, David Brown wrote: >> On Fri, 13 May 2005 20:39:31 -0700, Nuno Lucas <[EMAIL PROTECTED]> >> wrote: >> >> >I understand your point. On the other hand there is no way to be fully >> >sure they will always be t

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-16 Thread Nathaniel Smith
On Sat, May 14, 2005 at 12:04:57AM -0700, David Brown wrote: > On Fri, 13 May 2005 20:39:31 -0700, Nuno Lucas <[EMAIL PROTECTED]> > wrote: > > >I understand your point. On the other hand there is no way to be fully > >sure they will always be the same, as "*" is a shell thing and it's up > >to t

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-16 Thread Joel Crisp
--no-ignore ? I belive other systems use a similiar option? Joel Nathaniel Smith wrote: On Fri, May 13, 2005 at 11:40:37AM +0100, Nuno Lucas wrote: [13-05-2005 0:08, David Brown escreveu] On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker I encountered this as a problem with 'arch'

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-14 Thread Bruno Hertz
Joel Reed <[EMAIL PROTECTED]> writes: > On Sat, May 14, 2005 at 01:35:58PM +0200, Bruno Hertz wrote: > > snip > >> So finally answering your question, while feeling that I'm becoming >> quite repetitive at the same time, when I talk about limiting list >> anything to a directory in such a use case

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-14 Thread Joel Reed
On Sat, May 14, 2005 at 01:35:58PM +0200, Bruno Hertz wrote: snip > So finally answering your question, while feeling that I'm becoming > quite repetitive at the same time, when I talk about limiting list > anything to a directory in such a use case I of course mean a > directory without the subd

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-14 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > On Fri, May 13, 2005 at 02:36:38AM +0200, Bruno Hertz wrote: >> Nathaniel Smith <[EMAIL PROTECTED]> writes: >> >> > On Fri, May 13, 2005 at 12:47:09AM +0200, Bruno Hertz wrote: >> >> Nathaniel Smith <[EMAIL PROTECTED]> writes: >> >> >> >> > How could

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-14 Thread David Brown
On Fri, 13 May 2005 20:39:31 -0700, Nuno Lucas <[EMAIL PROTECTED]> wrote: I understand your point. On the other hand there is no way to be fully sure they will always be the same, as "*" is a shell thing and it's up to the shell to return us the same as . would do (for example, I could have a sh

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-13 Thread Nuno Lucas
[14-05-2005 1:05, Nathaniel Smith escreveu] On Fri, May 13, 2005 at 11:40:37AM +0100, Nuno Lucas wrote: I'm one of those that decided to use monotone to version my /etc dir and have this same problem with a /etc/init.d/net.lo file. Monotone simply refuses to add it because it is an "ignorable" file

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-13 Thread Nathaniel Smith
On Fri, May 13, 2005 at 11:40:37AM +0100, Nuno Lucas wrote: > [13-05-2005 0:08, David Brown escreveu] > >On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker > >I encountered this as a problem with 'arch', though, because their > >default ignore list has 'core' as a file to ignore.

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-13 Thread Nathaniel Smith
On Fri, May 13, 2005 at 02:36:38AM +0200, Bruno Hertz wrote: > Nathaniel Smith <[EMAIL PROTECTED]> writes: > > > On Fri, May 13, 2005 at 12:47:09AM +0200, Bruno Hertz wrote: > >> Nathaniel Smith <[EMAIL PROTECTED]> writes: > >> > >> > How could "list unknown" behave that would be useful in this >

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-13 Thread Nuno Lucas
[13-05-2005 0:08, David Brown escreveu] On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker I encountered this as a problem with 'arch', though, because their default ignore list has 'core' as a file to ignore. It also ignores the entire net/core directory when importing the li

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Richard Levitte - VMS Whacker
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 mono

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
"Bruno Hertz" <[EMAIL PROTECTED]> writes: > Nathaniel Smith <[EMAIL PROTECTED]> writes: > >> On Fri, May 13, 2005 at 12:47:09AM +0200, Bruno Hertz wrote: >>> Nathaniel Smith <[EMAIL PROTECTED]> writes: >>> >>> > How could "list unknown" behave that would be useful in this >>> > situation? >>> >>

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > On Fri, May 13, 2005 at 12:47:09AM +0200, Bruno Hertz wrote: >> Nathaniel Smith <[EMAIL PROTECTED]> writes: >> >> > How could "list unknown" behave that would be useful in this >> > situation? >> >> If it was possbile to constrain it to a specific di

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Alvaro Herrera
On Thu, May 12, 2005 at 04:08:27PM -0700, David Brown wrote: > On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker > <[EMAIL PROTECTED]> wrote: > > >In message <[EMAIL PROTECTED]> on Wed, 11 May > >2005 18:34:44 -0700, Nathaniel Smith <[EMAIL PROTECTED]> said: > > > >njs> On that

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Nathaniel Smith
On Thu, May 12, 2005 at 04:08:27PM -0700, David Brown wrote: > I encountered this as a problem with 'arch', though, because their default > ignore list has 'core' as a file to ignore. It also ignores the entire > net/core directory when importing the linux kernel. Ouch! Thanks for the warnin

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Nathaniel Smith
On Fri, May 13, 2005 at 12:47:09AM +0200, Bruno Hertz wrote: > Nathaniel Smith <[EMAIL PROTECTED]> writes: > > > How could "list unknown" behave that would be useful in this > > situation? > > If it was possbile to constrain it to a specific directory, it could > very well make sense. For example

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
Emile Snyder <[EMAIL PROTECTED]> writes: > Well, the fact that a revision refers to the state of a tree of files > makes it, in my mind at least, about versioning trees of files. I'm not > saying that you can't use it for what you wish, just that it's not a > perfect impedance match. Well, what

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread David Brown
On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> wrote: In message <[EMAIL PROTECTED]> on Wed, 11 May 2005 18:34:44 -0700, Nathaniel Smith <[EMAIL PROTECTED]> said: njs> On that point, though -- would it make sense to people that, if njs> ignore_file retur

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > How could "list unknown" behave that would be useful in this > situation? If it was possbile to constrain it to a specific directory, it could very well make sense. For example together with an analogue of Emacs PCL-CVS mode for monotone. Regards, Br

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Emile Snyder
On Thu, 2005-05-12 at 13:46, Bruno Hertz wrote: > Emile Snyder <[EMAIL PROTECTED]> writes: > > > On Thu, 2005-05-12 at 06:39, Bruno Hertz wrote: > >> What we are talking about here is situations where files under > >> revision control are sparse in a directory tree. As an example, > >> consider pu

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Nathaniel Smith
On Thu, May 12, 2005 at 03:39:20PM +0200, Bruno Hertz wrote: > What we are talking about here is situations where files under > revision control are sparse in a directory tree. As an example, > consider putting your home directory under revision control for files > like ~/.profile or ~/.emacs. In s

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
Emile Snyder <[EMAIL PROTECTED]> writes: > On Thu, 2005-05-12 at 06:39, Bruno Hertz wrote: >> What we are talking about here is situations where files under >> revision control are sparse in a directory tree. As an example, >> consider putting your home directory under revision control for files >

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 11 May 2005 18:34:44 -0700, Nathaniel Smith <[EMAIL PROTECTED]> said: njs> On that point, though -- would it make sense to people that, if njs> ignore_file returned 'true' when given a directory, that njs> everything inside that directory should therefore be

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Peter Simons
Emile Snyder writes: >> As an example, consider putting your home directory >> under revision control for files like ~/.profile or >> ~/.emacs. > Given that monotone is about versioning trees of files, > this seems kinda like twisting it out of it's groove to > me. Actually, that's one of

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Emile Snyder
On Thu, 2005-05-12 at 06:39, Bruno Hertz wrote: > What we are talking about here is situations where files under > revision control are sparse in a directory tree. As an example, > consider putting your home directory under revision control for files > like ~/.profile or ~/.emacs. In such a scenari

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-12 Thread Bruno Hertz
Nathaniel Smith <[EMAIL PROTECTED]> writes: > On Thu, May 12, 2005 at 12:28:37AM +0200, Bruno Hertz wrote: >> Apropos a recent discussion, would this patch prevent monotone from >> scanning a whole directory tree if the top level dir itself matches an >> ignore pattern? > > It's orthogonal. > > On

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-11 Thread Nathaniel Smith
On Thu, May 12, 2005 at 12:28:37AM +0200, Bruno Hertz wrote: > Apropos a recent discussion, would this patch prevent monotone from > scanning a whole directory tree if the top level dir itself matches an > ignore pattern? It's orthogonal. On that point, though -- would it make sense to people tha

[Monotone-devel] Re: .mt-ignore and .cvsignore files

2005-05-11 Thread Bruno Hertz
Martin Dvorak <[EMAIL PROTECTED]> writes: > Hi, > > I've just made a patch to support the '.mt-ignore' file. It's a simple > file which contains one regular expression per line. Do you have any > objections against making it a standard way to describe ignored files? > > I also attached Lua code to