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

Continuing after error with propget

From: Daniel Caldwell <dcaldwel_at_danielcaldwell.com>
Date: Wed, 16 Apr 2008 17:46:06 -0700

I'm working on a small script that runs propget on directories in my
working copy. It's pretty simple stuff like:

svn propget MY_PROPERT *.*

However, not all files will have that property, also some files will be
there that aren't under revision control. As a result, I'll get about
half the output:

myfile.test - My prop
myfile1.test - My prop
myfile2.test - My prop
myfile3.test - My prop
svn: 'myfile4.test' is not under version control.

Then it doesn't continue on to the other files. I'd need to get a
complete listing and then parse out the errors afterward. Does anyone
know how I can get it to continue? Thanks.

-Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-17 02:46:37 CEST

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