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

Issue #4154: svn add foo foo complains

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 23 Jun 2014 09:15:15 +0100

Markus Schaber wrote (in thread "controversial issues in the tracker"):
> 4154 svn add foo foo complains
> http://subversion.tigris.org/issues/show_bug.cgi?id=4154
>
> This issue suggests removing duplicates in the argument list of "svn
> add". The example was the command line
> svn add f* *o
> which lead to errors because the file "foo" was matched twice.
>
> The discussion showed that there is no consensus on the correct behavior:
> http://thread.gmane.org/iz4154@subversion.tigris.org
>
> Problems were that this could easily paper over typos in the filenames, and the
> consistency between commands ("svn revert" currently doesn't error
> out on duplicate targets, while "svn cat" should not eliminate
> duplicates, as that will change semantics).

I think the issue reported is too narrow: if we are going to
consider making a change here we should consider the behaviour of all
the subcommands not just 'add'.

> As there is an easy workaround of using "--force", my personal
> suggestion is to set this issue to "won't fix".

The linked email thread ends with Daniel (the original issue reporter, cc'd) writing "Anyway, I won't pursue it." which suggests we can set it to "won't fix".

- Julian
Received on 2014-06-23 10:15:46 CEST

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

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