[jira] [Created] (SVN-4867) No error of svn lock when locked by current user

Ondřej Medek (Jira) <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.