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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: nonblocking
    • Component/s: svnrdump
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: