SVN-Importer: importer doesn't extract user names from dump file correctly sometimes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Component/s: None
    • None

      For certain dump files, it looks like the importer has difficulties extracting user names from the file. The grep command returned something like below:

      [root@dev1 svn_import_staging]# strings '/webdav/dump_files/JST-real.dmp' | grep -A2 svn:author | grep -v '^\(svn:author\|svn:date\|V \|--\)' | sort -u
              }
          }
                          + commands.getGrep() + " -A2 svn:author | "
                          + commands.getGrep() + " -v '^\\(svn:author\\|V \\|--\\)' | "
                      + commands.getGrep() + " -v '^\\(svn:author\\|V \\|--\\)' | "
                          + commands.getSort() + " -u";
                      + commands.getSort() + " -u";
              } else if (dumpFileName.endsWith(".bz2")) {
      fred
      kalamon
              return commands.getGrep() + " -A2 svn:author '" + dumpFileName + "' | "
      zenon
      

      The dump file is here: JST-real.dmp.gz. It does seem to be a valid file because I can manually load it properly. (I compressed it here so that it won't exceed the 10MB JIRA upload size limit. It was uncompressed before I used it for this test.)

              Assignee:
              Janusz Gorycki (Inactive)
              Reporter:
              waratah
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: