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

'svnrdump dump' generates a bogus dumpstream for nodes with multiple propchanges in a single revision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • svnrdump
    • None

    Description

      Per http://svn.haxx.se/dev/archive-2011-03/0661.shtml:
      When using 'svnrdump dump' to dump a revision in which multiple property changes
      were made to the same node, and invalid dumpstream is created.
      
      In a later mail, the reported better describes the problem:
      
      {{{
      So for an original dump representation like this:
      
      ---
      Node-path: 
      Node-kind: dir
      Node-action: change
      Prop-content-length: 42
      Content-length: 42
      
      K 3
      foo
      V 3
      bar
      K 3
      bar
      V 3
      baz
      PROPS-END
      ---
      
      The svnrdump output for the same transaction comes out like this:
      
      ---
      Node-path: 
      Node-kind: dir
      Node-action: change
      Prop-delta: true
      Prop-content-length: 26
      Content-length: 26
      
      K 3
      foo
      V 3
      bar
      PROPS-END
      
      
      Prop-delta: true
      Prop-content-length: 26
      Content-length: 26
      
      K 3
      bar
      V 3
      baz
      PROPS-END
      ---
      
      Note the second "orphaned" prop-delta.
      }}}
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: