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

Another svn:ignore without inheritance woe?

From: Mark Mielke <mark_at_mark.mielke.cc>
Date: Wed, 11 Mar 2009 12:36:03 -0400

Hi all:

I have seen comments for and against automatic property application on
mkdir, run time inheritance, or leaving behaviour as is. This is more of
a scenario to raise awareness of this issue again and see whether any
developers have had any progress on this issue.

Scenario:
    1) User deletes directory with svn:ignore and automatically
generated content.
    2) User creates new directory and adds content + generated content.
    3) User does 'svn add' as they normally do, but this time there is
no svn:ignore. Automatically generated content is added.
    4) User commits.

Sure this is a user error of one or more kind - but it's not
unreasonable for the user to expect to be able to recover in the
step-by-step fashion described above.

I think automatic property creation of svn:ignore on mkdir would only
work if it was done as part of the 'svn add' before implementing the
recurse for that directory. Seems a bit yucky. What we would really love
is inheritance at run time. The three-letter dirty word GIT provides
this function and it seems to work great? :-)

Thanks for your comments.

Cheers,
mark

-- 
Mark Mielke <mark_at_mielke.cc>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1308555
Received on 2009-03-11 17:35:41 CET

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