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

svnrdump load assertion failure if Node-path starts with a slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk
    • nonblocking
    • svnrdump
    • None

    Description

      If a dump file has a Node-path: value with a leading slash, 'svnrdump load'
      raises an assertion failure:
      
      $ svnrdump load file://$PWD/rr < the-dump-filtered
      lt-svnrdump: subversion/libsvn_subr/dirent_uri.c:1256: svn_relpath_dirname:
      Assertion `relpath_is_canonical(relpath)' failed.
      
      'svnadmin load' accepts paths with or without a leading slash. All dump file
      readers should behave the same way.
      
      The dump file documentation in <notes/dump-load-format.txt> is not explicit. The
      examples show no leading slash. The documentation should be made explicit.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianfoad Julian Foad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: