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

Re: Quirk of svn status --verbose

From: <julianfoad_at_btopenworld.com>
Date: 2003-01-25 14:27:17 CET

Karl Fogel wrote:
 Julian Foad julianfoad@btopenworld.com writes:
 
svn status has a quirk: --verbose not only makes it display more
information about each file, but also changes the set of files of
which the status is shown, by recursing one level into any named
directories. I feel non-orthogonal behaviour like this will be a
nuisance in the long run, making it harder to write scripts that use
svn.
 
 
 Only one level, or N levels (that is, all the way down?)

Only one level. OK, recurse isn't the right word. Here is an
example; note no output for the first case:

julianfoad@linux:~/src/subversion svn status build/
julianfoad@linux:~/src/subversion svn status build/*
__ build/PrintPath
__ build/buildcheck.sh
__ build/gen_base.py
? build/gen_base.pyc
__ build/gen_make.py
? build/gen_make.pyc
__ build/getversion.py
? build/getversion.pyc
__ build/pycheck.py
__ build/run_tests.py
julianfoad@linux:~/src/subversion svn --verbose status build/
__ 4508 4488 kfogel build/
__ 4508 4371 rassilon build/PrintPath
__ 4508 4488 kfogel build/buildcheck.sh
__ 4508 4371 rassilon build/gen_base.py
__ 4508 4371 rassilon build/gen_make.py
__ 4508 4371 rassilon build/getversion.py
__ 4508 4371 rassilon build/pycheck.py
__ 4508 4371 rassilon build/run_tests.py
_ 4508 4371 rassilon build/win32
__ 4508 4371 rassilon build/win32/build_neon.bat
__ 4508 4371 rassilon build/win32/dll-template
__ 4508 4371 rassilon build/win32/exe-template
__ 4508 4369 rassilon build/win32/neon.dsp
__ 4508 3124 brane build/win32/svn.ico
__ 4508 4371 rassilon build/win32/svn.rc
julianfoad@linux:~/src/subversion svn --verbose status build/*
__ 4508 4371 rassilon build/PrintPath
__ 4508 4488 kfogel build/buildcheck.sh
__ 4508 4371 rassilon build/gen_base.py
? build/gen_base.pyc
__ 4508 4371 rassilon build/gen_make.py
? build/gen_make.pyc
__ 4508 4371 rassilon build/getversion.py
? build/getversion.pyc
__ 4508 4371 rassilon build/pycheck.py
__ 4508 4371 rassilon build/run_tests.py
_ 4508 4371 rassilon build/win32
__ 4508 4371 rassilon build/win32/build_neon.bat
__ 4508 4371 rassilon build/win32/dll-template
__ 4508 4371 rassilon build/win32/exe-template
__ 4508 4369 rassilon build/win32/neon.dsp
__ 4508 3124 brane build/win32/svn.ico
__ 4508 4371 rassilon build/win32/svn.rc
julianfoad@linux:~/src/subversion

[This example also shows the way it ignores files in the ignore list
when doing an implicit expansion of a directory, but not when the files
are explicitly given on the command line. But that is a completely
separate issue.]

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:17:04 2006

This is an archived mail posted to the Subversion Dev mailing list.