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

Can svn commands set DOS ERRORLEVEL?

From: x nooby <xnooby_at_yahoo.com>
Date: 2005-11-30 21:46:28 CET

I was looking for a way to test if a file was under
Subversion's control, and have that test set the DOS
ERRORLEVEL. I was trying these commands:

   svn info filename.txt
   echo %ERRORLEVEL%

and

   svn st filename.txt
   echo %ERRORLEVEL%

but ERRORLEVEL is always 0, regardless if the file is
under Subversions control.

My overall goal is to have a batch file make copies of
unversioned-files to another directory.

thanks!

                
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 30 21:53:58 2005

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.