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

interrupted post-commit, wc doesn't match repository

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: ---
    • Fix Version/s: 1.10-consider
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      svnadmin create repo
      svn mkdir -mm file://`pwd`/repo/A
      svn mkdir -mm file://`pwd`/repo/A/B
      svn co file://`pwd`/repo wc
      svn cp wc/A wc/X
      svn rm wc/X/B
      svn ci -mm wc
      
      Set a breakpoint on process_committed_leaf, when reached run that function to
      completion and then kill the client.
      
      $ svn st wc
      D L     wc/X/B
      $ svn cleanup wc
      $ svn st wc
      D       wc/X/B
      $ svn revert wc/X/B
      $ svn st -v wc/X/B
                       3        2 pm           wc/X/B
      $ svn log wc/X/B
      svn: E160013: File not found: revision 3, path '/X/B'
      
      So X/B@3 does not exist in the repository, but is present in the wc.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philipm Philip Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: