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

svnrdump load should complain if revisions are missing svn:author, svn:date and svn:log properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.x
    • ---
    • svnrdump
    • None

    Description

      I wrote an SVN Dump file parser to allow me to reconstruct lost history by 
      inserting copyfrom data into the file and directory node properties of the dump 
      file being processed.
      
      i.e my-svndump-parser copyfrom-details.dat < rXYZ.dump > rXYZ-filtered.dump
       
      My program had a bug which caused the Prop-content-length line to not be emitted 
      for the revision node of the filtered dump file.
      
      The svnrdump load bug is that without the Prop-content-length line present (the 
      Content-length line was present) it silently discarded the revision properties 
      without any warning or notice.
      
      I think that svndump load should warn when loading a revision that does not have 
      these basic revision properties: svn:author, svn:date, svn:log.
      
      We fixed our issue by extracting the revision props from the source dump file 
      and applying them separately using a script with many svn propset calls (with 
      the pre-revprop-change hook enabled).
      

      Original issue reported by ocleirig

      Attachments

        1. 2_4389-filtered.dump
          0.6 kB
          Subversion Importer
        2. 1_4389.dump
          0.6 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: