[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: --no-ignore display bug?

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-01-11 01:18:56 CET

Philip Martin <philip@codematters.co.uk> writes:
> "B. W. Fitzpatrick" <fitz@red-bean.com> writes:
>
> > I know it's late, so I want to run this by the list. When I run svn
> > with the --no-ignore flag, I would expect it to treat files that are
> > usually ignored just like any non-versioned, non-ignored file--that is
> > to print it in the status listing with a '?' at the beginning of the
> > line. However, that doesn't seem to be the case:
> >
> > pantheon: /home/fitz/svn-work/subversion/doc/book/book>svn pl -v .
> > Properties on '':
> > svn:ignore : book.pdf
> > book.fo
> > book.html
> > book.ps
> >
> > pantheon: /home/fitz/svn-work/subversion/doc/book/book>svn st
> > ! ch08.xml
> > ? foo
> > ? msg
> > pantheon: /home/fitz/svn-work/subversion/doc/book/book>svn st --no-igno
> re
> > book.html
> > ! ch08.xml
> > ? foo
> > ? msg
> >
> > Does that look like a bug to you? Philip?
>
> Well, on closer examination it appears to be the desired behaviour.
> Rev 3746 explains that it is desirable to distinguish ignored files
> from unversioned files even when --no-ignore is passed. As I now
> recall it took several emails for Jon to explain to me exactly what
> his patch did, and I guess I never really understood why he wanted it
> since it still looks like a bug to me.
>
> Perhaps we should have another (!) svn_wc_status_kind such as
> svn_wc_status_ignored and get 'svn status' to display 'I' for such
> files.

Hmmm. I'm +0 on this as I really don't know what The Right Thing to do
here is. On the one side, it would be nice to have an identifier for
ignored files, but on the other side, it's yet another identifier.

Such choices!

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 11 01:19:21 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.