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

upgrade should detect checksum mismatch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ---
    • Fix Version/s: 1.7.0
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      Checkout a 1.6 wc, get the checksum of a file:
      
      $ svn info wc/f | grep Checksum
      Checksum: 102f5037fe6474019fe947b4977bb2a5
      
      Now modify the text-base to corrupt the working copy, the stored checksum
      remains correct and can be used to detect the corruption.
      
      If the corrupt working copy is upgraded the correct checksum is replaced by the
      incorrect checksum:
      
      $ subversion/svn/svn info wc/f | grep Checksum
      Checksum: 7b2a790f15ce5c0e87a8c4118bb32cf3e4509d0d
      

        Attachments

          Activity

            People

            • Assignee:
              cmpilato C. Michael Pilato
              Reporter:
              philipm Philip Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: