> 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.
>
I haven't looked at the Python bindings for Subversion, but why not write a
Python script instead of a batch file? (One reason might be because you
don't know how to program in Python, but Python was designed to be easy to
learn, so don't be afraid of it).
--wpd
Patrick Doyle
Manager, Digital Systems Group
(603) 546-2179
This communication is from DTC Communications, Inc. and is intended to be
confidential and solely for the use of the persons or entities addressed
above. If you are not an intended recipient, be aware that the information
contained herein may be protected from unauthorized use by privilege or law,
and any copying, distribution, disclosure, or other use of this information
is prohibited. If you have received this communication in error, please
contact the sender by return e-mail or telephone the above number
immediately and delete or destroy all copies. Thank you for your
cooperation.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 30 22:12:31 2005