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

Re: "svn status" handling uncontrolled and non-existant files

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-02-03 03:53:49 CET

Philip Martin wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>> > Hmm, svn:ignore is used to control the display of non-versioned
>> > files. Such files cannot be added, modified etc.
>>
>>Oh, yes they can! Be added, that is. They then become versioned and
>>can be changed, etc.
>
> Once added they are no longer ignored.

Ah, OK. I was thinking "ignored" meant "in the ignore list", but now I
understand it means "in the ignore list and not versioned". Sorry it
took me a while to understand that. So, going back to the original
comments:

Philip Martin wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>I don't think a main status flag of "I" would be correct for ignored
>>items. "Ignored" is orthogonal meta-data; the status of an ignored item
>>can still be " ", "A", "D", "M", etc. just as for a non-ignored item.
>
> That was the subject of an earlier change. It was deemed necessary to
> be able to distinguish between ignored and non-ignored items.

So although the ignore list is orthogonal to (independent of) the
status, the "ignored" condition is not. The proposal was just to
display "I" instead of "?"; the characters displayed for other statuses
would not be affected. That makes sense and I have no objection.

>> It may not be what "ignore" was originally
>>intended for, but it could perhaps be useful sometimes, if it were to
>>have well-defined semantics. (In particular, should the "ignore"
>>directive be ignored for versioned files?
>
> It is, as far as I know. Do you have a counter-example?

No. Was just not sure whether the behaviour was defined. It probably
is in the book.

I have to go to bed now. Perhaps my brain will work better tomorrow :-)

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 03:51:28 2003

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