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

Deep commit followed by --depth immediates update triggers checksum failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.x
    • 1.8.0
    • libsvn_wc
    • None

    Description

      User Derek Wallace <del.wallace{__AT__}gmail.com> reports[1] via the CollabNet
      forums that the a commit to a deep tree item followed immediately by an update
      with --depth immediates triggers a checksum failure.
      
      It's easy enough to reproduce, even using current trunk code:
      
      {{{
      $ make-greek-repos repos
      $ svn co file://`pwd`/repos wc
      A    wc/A
      A    wc/A/B
      A    wc/A/B/lambda
      A    wc/A/B/E
      A    wc/A/B/E/alpha
      A    wc/A/B/E/beta
      A    wc/A/B/F
      A    wc/A/mu
      A    wc/A/C
      A    wc/A/D
      A    wc/A/D/gamma
      A    wc/A/D/G
      A    wc/A/D/G/pi
      A    wc/A/D/G/rho
      A    wc/A/D/G/tau
      A    wc/A/D/H
      A    wc/A/D/H/chi
      A    wc/A/D/H/omega
      A    wc/A/D/H/psi
      A    wc/iota
      Checked out revision 1.
      $ echo `date` >> wc/A/mu
      $ svn ci -m "Change mu." wc
      Sending        wc/A/mu
      Transmitting file data .
      Committed revision 2.
      $ svn up --depth immediates wc
      Updating 'wc':
      subversion/svn/update-cmd.c:163: (apr_err=155017)
      subversion/libsvn_client/update.c:610: (apr_err=155017)
      subversion/libsvn_client/update.c:551: (apr_err=155017)
      subversion/libsvn_client/update.c:412: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:1428: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:1428: (apr_err=155017)
      subversion/libsvn_client/ra.c:247: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:1267: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:1102: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:924: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:1205: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:934: (apr_err=155017)
      subversion/libsvn_repos/reporter.c:633: (apr_err=155017)
      subversion/libsvn_wc/update_editor.c:3416: (apr_err=155017)
      svn: E155017: Checksum mismatch for '/home/cmpilato/tests/wc/A/mu':
         expected:  baf78ae06a2d5b7d9554c5f1280d3fa8
         recorded:  f82662f8a9f552779c7eb980002fed5c
      $
      }}}
      
      [1]
      http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=4&dsMessageId=447962
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmpilato C. Michael Pilato
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: