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

Re: command line return code ("svn lock")

From: Lorenzo Lucioni <l.lucioni_at_communicationvalley.it>
Date: 2007-06-18 12:49:55 CEST

Hello,
do you have some suggestions about this matter?
I'm interested in know if a file is locked, of course with an info safer
than the string returned by the svn binary:

svn: warning: Path '/test/trunk/info.php' is already locked by user
'user1' in filesystem ...

thank you,
lorenzo

Lorenzo Lucioni ha scritto:
> hello,
> i'm trying to create a script that automates some operations. i'm using
> the "lock" feature to perform these operations but, unfortunately, "svn
> lock" return always code '0' both if file is locked and if not.
> am i right? how can i determine, by a script, if file is locked?
>
> thank you,
> lorenzo
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Lorenzo Lucioni
Tecnologie, Sistemi e Servizi
Communication Valley S.p.A.
Security Service Provider
"Societą a socio unico soggetta all'attivitą di direzione e
coordinamento di Kyneste S.p.A."
Strada Quarta 6/1D
43100 - Parma Italy
Tel +39 0521 4980
Fax +39 0521 498080
l.lucioni@communicationvalley.it
http://www.communicationvalley.it
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 18 12:50:08 2007

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.