Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4867

No error of svn lock when locked by current user

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.14.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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:

      svn lock file.txt
      svn lock file.txt
      

      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

      svn lock --ignore-my file.txt 
      svn lock --ignore-my file.txt
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xmedeko Ondřej Medek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: