(Setting component to cmdline since my backtrace starts in add-cmd.c, but I'm
pretty sure libsvn_client/add.c does the same check, and therefore may also be
susceptible to the bug.)
% touch foo
% ls
A foo iota
% $svn add f* *o
A foo
svn: warning: W150002: '/tmp/svn/wc1/trunk/foo' is already under version control
subversion/svn/add-cmd.c:108: (apr_err=200009)
subversion/svn/add-cmd.c:103: (apr_err=200009)
svn: E200009: Could not add all targets because some targets are already versioned
subversion/svn/add-cmd.c:94: (apr_err=200009)
svn: E200009: Illegal target for the requested operation
zsh: exit 1 $SVN add f* *o
%
svn should be smart enough to uniq() the targets, rather than error out on me
because I tried to add it twice.