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

svnadmin dump path ordering bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4.x
    • 1.5.0
    • svnadmin
    • None

    Description

      I have sources in native encoding - win-1251 (russian cyrillic). And I have some
      names of directories are familiar to each other, with text files in it. For example:
      /DirectoryNumberOne
      /DirectoryNumberOne/Module.1
      /DirectoryNumberOneNew
      /DirectoryNumberOneNew/Module.1
      
       I'm making a dump file, then try to load the dump file to another repository
      and recieve an error:
      .. file not found /DirectoryNumberOne/Module.1
      So, I'm looking inside of a dump file and recognize, that order of files is:
      
      /DirectoryNumberOne/Module.1
      /DirectoryNumberOneNew
      /DirectoryNumberOneNew/Module.1
      /DirectoryNumberOne
      
      And svnadmin tries to load a file before adding a directory. When I renamed the
      files and dirs from native characters to english, dump and load was successful.
      

      Original issue reported by mik_blk

      Attachments

        1. 1_src.zip
          1.0 kB
          Subversion Importer
        2. 2_dumpfile.ZIP
          0.5 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:
              Resolved: