[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-01-11 00:53:52 CET

"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-ignore
> 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.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 11 00:54:31 2003

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