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

'svn status' problems with wildcards (Windows)

From: Matt Blais <mblais1_at_yummage.com>
Date: 2003-08-13 05:05:03 CEST

'svn status' seems to get very confused by wildcards in wc paths (in
Windows XP). I have not done any similar testing with other 'svn'
commands. I am just using the regular WinXP CMD.EXE - no other shell.

# Here's what we're working with:

N:\NAV\Devel> ls tmp*
tmp.183
tmp2.183
tmpAIRP.3bj
tmpAIRP.cpp
tmpOAP.3bj
tmpOAP.cpp
tmpSTPP.3bj
tmpSTPP.cpp

tmp: # Notice this 'tmp' is a dir
devel
wnav.h

# The next cmd should catch the tmp* files as well as
# the 'tmp' dir, but appears to only be processing the dir:

N:\NAV\Devel> svn delete tmp*.*
svn: Path is not a working copy directory
svn: 'tmp' is not a working copy

# Notice this cmd works OK here, but DOESN'T work
# later after marking the files for deletion:

N:\NAV\Devel> svn st tmp*.cpp
       tmpAIRP.cpp
       tmpOAP.cpp
       tmpSTPP.cpp

N:\NAV\Devel> svn delete tmp*.cpp
D tmpAIRP.cpp
D tmpOAP.cpp
D tmpSTPP.cpp

# This cmd worked before the delete, but now it
# doesn't (should show the items marked for deletion)!
# Looks like it's only getting the 'tmp' dir again:

N:\NAV\Devel> svn st tmp*.cpp
svn: The filename, directory name, or volume label syntax is incorrect.

svn: check_path: problem checking path "tmp*.cpp"

# Still not getting the files marked for deletion:

N:\NAV\Devel> svn st tmp*.???
? tmp
? tmp.183
? tmp2.183
? tmpAIRP.3bj
? tmpOAP.3bj
? tmpSTPP.3bj

# Items marked for deletion show up here
# (no wildcards used):

N:\NAV\Devel> svn st -q
M airparse.cpp
M data.cpp
M navlog.cpp
M switch.cpp
D tmpAIRP.cpp
D tmpOAP.cpp
D tmpSTPP.cpp
M turnpt.cpp

# Are we confused yet??

N:\NAV\Devel> svn --version
svn, version 0.26.0 (r6550)
   compiled Aug 1 2003, 07:35:50

P.S. Don't ask me, "Does CVS do the same thing?" because it doesn't
matter: Subversion is supposed to be BETTER than CVS (in EVERY respect
;-)

Anyway, I know you're still going to ask, so to save you the trouble the
answer is, "I don't know, because I don't have a CVS repository to try
it with."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 13 05:06:16 2003

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.