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

Re: 'svn status' problems with wildcards (Windows)

From: <cmpilato_at_collab.net>
Date: 2003-08-13 16:09:05 CEST

"Matt Blais" <mblais1@yummage.com> writes:

> # 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

Are you sure it's not just hitting this first and failing before
trying to move on to the other tmp* files?

> # 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"

Wildcards only expand to things that the system can find. 'svn
delete' removed the working files from the working copy, so there's
nothing left there to be expanded. The same thing happens in Unix, by
the way.

> # 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

Again, because they aren't present for the wildcard expansion syntax
to expand.

> # 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??

Hate to say it, but you seem to be -- about how wildcards work. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 13 16:11:52 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.