[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: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Sat, 5 Apr 2008 08:52:35 -0500

On Sat, Apr 5, 2008 at 4:26 AM, jsimlo <jsimlo_at_yahoo.com> 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
>
>

Unfortunately this seems like a very specific issue to your group (or
at the very least to a small minority group). The problem with adding
those kind of features is that it increases maintenance and bugs
without really benefiting the users as a whole. If there is one thing
I have learned about the Subversion developers, it is that they are
very picky about their public interfaces, which is a good thing.

You mentioned that you have a script that already does what you want.
Is that not sufficient? In my group we have a svn commit wrapper
script (called svnci.pl) that we always use. It seems like here you
would have an 'svn status' and and 'svn ci' script that does what you
want.

One of the wonderful features of the command-line interface is that
you can easily build on basic functionality (in this case the svn
client) to create customized functionality for your situation.

Just some of my comments! Keep up the script writing! Or if you
wanted a "native" application you could look into the available
Subversion API.

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
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-05 15:53:06 CEST

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