Ondřej Medek created SVN-4867:
---------------------------------
Summary: No error of svn lock when locked by current user
Key: SVN-4867
URL: https://issues.apache.org/jira/browse/SVN-4867
Project: Subversion
Issue Type: Improvement
Affects Versions: 1.14.0
Reporter: Ondřej Medek
I would like to {{svn lock}} pass quietly when the file is locked *by the
current user only*.
E.g. when I do a double svn lock:
{code}
svn lock file.txt
svn lock file.txt
{code}
I can use the {{svn lock --force}} option, but that will steal locks from other
users. So, I would need some option like {{svn lock --force-my}} or {{svn lock
--ignore-my}}
{code}
svn lock --ignore-my file.txt
svn lock --ignore-my file.txt
{code}
So both commands pass ok when the file is not locked by other users.
Note: Similarly, {{svn unlock}} could be quiet when no lock exists.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)