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

Re: Using wildcarded file names

From: Kevin T. Broderick <kbroderick_at_smcvt.edu>
Date: 2005-08-07 17:59:53 CEST

On 5 Aug 2005, at 10:26 AM, Aaron Sher wrote:

> Here’s a funny corner case that I believe exposes a bug (I’m
> running on Mac OS X with version 1.2.1):
>
> Add a file named test.txt to the repository (“svn add test.txt”)
> Remove the file (“svn remove test.txt”)
> Commit the change, using a wildcard (“svn commit test.*”)
> This works properly. However, if instead of committing the change,
> you try to request status with a wildcard (“svn status test.*”), it
> doesn’t work. I think this should be consistent – either way would
> make sense, but status and commit should handle this case in the
> same way. What does everybody else think?
>
>
Subversion isn't handling the wildcard, the shell is. So the actual
commands being executed are:
"svn commit"
vs
"svn status"

(Unless, of course, there are other files matching the wildcard
test.* in the same directory)

If it helps, look at the output of
echo svn commit test.*
echo svn status test.*

(svn status displays nothing if the input does not describe a
versioned file)

Kevin Broderick / kbroderick@smcvt.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 7 18:01:44 2005

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.