You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gregg Tavares <gm...@greggman.com> on 2005/09/27 14:24:43 UTC

lock status from svn command

Is there a way to get the status of a lock from svn?  Specifically, is there
a way to get who has the lock for the file?
 
As far as I can tell, "svn status -u -v <file>" returns that the file is
locked somewhere else but otherwise it only returns the username of the last
person to check the file in.  "svn lock <file>" will give me the username if
it can't get the lock but of course it gets the lock otherwise.  I need to
be able to get the name of the person that has the lock.  Did I miss that
somewhere or is that functionality missing currently?
 
-Gregg Tavares

RE: lock status from svn command

Posted by Gregg Tavares <gm...@greggman.com>.
>Ximon Eighteen wrote:
>
>>Gregg Tavares wrote:
>> Is there a way to get the status of a lock from svn?  Specifically, is 
>> there a way to get who has the lock for the file?
>>  
>> As far as I can tell, "svn status -u -v <file>" returns that the file 
>> is locked somewhere else but otherwise it only returns the username of 
>> the last person to check the file in.  "svn lock <file>" will give me 
>> the username if it can't get the lock but of course it gets the lock 
>> otherwise.  I need to be able to get the name of the person that has 
>> the lock.  Did I miss that somewhere or is that functionality missing 
>> currently?
>
>svn info on the file doesn't help?

svn info didn't give me any lock info either.  nor did svn list although
maybe I missed the correct option.  I thought I tried everything I could




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: lock status from svn command

Posted by Ximon Eighteen <xi...@int.greenpeace.org>.
Gregg Tavares wrote:
> Is there a way to get the status of a lock from svn?  Specifically, is there
> a way to get who has the lock for the file?
>  
> As far as I can tell, "svn status -u -v <file>" returns that the file is
> locked somewhere else but otherwise it only returns the username of the last
> person to check the file in.  "svn lock <file>" will give me the username if
> it can't get the lock but of course it gets the lock otherwise.  I need to
> be able to get the name of the person that has the lock.  Did I miss that
> somewhere or is that functionality missing currently?

svn info on the file doesn't help?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org