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

[svn status issues] was: Re: Why do commands fail when a file is unknown to svn?

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-03-05 16:47:44 CET

> "svn status" is the command for getting this information.
> You can remove the status characters in front if you don't
> care whether a file is sheduled for addition, deletion or
> something else; but I suspect that actually in many cases you would care.
>
> - Julian

we already found out (see previous mailings) that 'svn ls' isn't the
right command to use at all, because it doesn't even use
the stuff from the WC.
so grep/cut/filter on the output of
  "svn status -v"
is the only solution here ( since without -v it doesn't list all files ).

but I didn't yet find the a -correct- method to split up the
parts of the output from svn status -v !!!

look at the following:

>>
Work>svn status -v
                0 ? ? .
                1 1 Firstname Lastname fileB.txt
                1 1 Firstname Lastname dirC
                1 1 Firstname Lastname dirC\fileD.txt
                1 1 Firstname Lastname dirC\fileE.txt
                1 1 Firstname Lastname fileA.txt
                2 2 cat foo hallo.txt
                1 1 cat fileX.txt
<<

i think its simply impossible with the current output format to distinguish
spaces in usernames from spaces in filenames :-(
if scripts rely on the output format of svn status -v they will fail.

so,.. should I file an issue on that case?

( svn takes the name from the current windows-user-login
and so there are probably some accounts with long names
-and- spaces in it already )

====
c.a.t.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 5 16:47:59 2004

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.