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

better serf error for mismatched locks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.8.1
    • libsvn_ra_serf
    • None

    Description

      If I lock a file in a working copy and then break the lock by locking the URL
      (or locking the file in some other working copy) the commit error is poor:
      
      Sending        wc/A/f
      Transmitting file data .svn: E175002: Commit failed (details follow):
      svn: E175002: PUT of '/obj/repo/!svn/txr/1-2/A/f': 412 Precondition Failed
      
      With 1.7/neon the error was:
      
      Sending        wc/A/f
      Transmitting file data .svn: E195022: Commit failed (details follow):
      svn: E195022: File '/home/pm/sw/subversion/obj/wc/A/f' is locked in another
      working copy
      svn: E170007: No lock on path '/obj/repo/!svn/txr/1-3/A/f' (Status 423 on PUT
      Request)
      svn: E175002: Server sent unexpected return value (423 Locked) in response to
      PUT request for '/obj/repo/!svn/txr/1-3/A/f'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: