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

Re: svn:autoadd, svn:autodelete

From: Mark Reibert <svn_at_reibert.com>
Date: Mon, 07 Apr 2008 00:01:16 -0700

I would generally vote against these additions ... too easy to
accidentally (or unknowingly) clutter up or inadvertently remove files
from the repo.

The svn:autoadd idea reminds me of just about the only thing I do not
like about TortoiseSVN: The ability to implicitly "svn add" during a
commit via the combination of the "Show unversioned files" and "Select
all" checkboxes on the commit dialog. I have observed users jambing in
an entire working copy within a subdirectory in the repository using
this feature. Admittedly these are not the most experienced users, and
svn:autoadd probably does not have the power to do this kind of damage,
but it has that same feel.

Sometimes you have to hold back a little rope lest your users hang
themselves. It is okay to ask people to be explicit in their intent; to
stop and think about what they are doing.

On Sat, 2008-04-05 at 11:26 +0200, jsimlo wrote:
> Although there is already a similar question in FAQ talking about this, I would
> like to suggest two new properties, both similar to svn:ignore property:
>
> svn:autoadd
>
> - All new files matching the patterns in the property would be automatically
> considered as added. This means that "svn status" would display flag "A" instead
> of "?". Of course, "svn commit" would then include this file as new file.
>
> svn:autodelete
>
> - All missing files matching the patterns in the property would be automatically
> considered as deleted. This means that "svn status" would display flag "D"
> instead of "!". Of course, "svn commit" would then include this file as deleted
> file.
>
> Note: This feature request is NOT about auto-committing or wc transparency. We
> should only remove the need for a script that parses the "svn status" output and
> then adds/deletes files by it.
>
>
> Thanks for your opinions,
> jsimlo
>
>
> ps. I have rashly started an issue on the tracker, but was redirected here to
> discuss it first. http://subversion.tigris.org/issues/show_bug.cgi?id=3155
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>

-- 
----------------------
Mark S. Reibert, Ph.D.
svn_at_reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-07 09:01:50 CEST

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

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