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

No error of svn lock when locked by current user

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.0
    • None
    • None

    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

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

            Dates

              Created:
              Updated: