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

"svnrdump load" is not working in interactive mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • trunk
    • 1.8-consider
    • svnrdump
    • None

    Description

      "svnrdump load" ends with the following weird behavior in *interactive mode*.
      
      <snip>
      vijayaguru@maverick:/tmp$ svnrdump load http://localhost:1234/svn/testrepo < 
      test.dump
      Authentication realm: <http://localhost:1234> subversion trunk repository
      Password for 'vijay':
      
      -----------------------------------------------------------------------
      ATTENTION!  Your password for authentication realm:
      
      <http://localhost:1234> subversion trunk repository
      
      can only be stored to disk unencrypted!  You are advised to configure
      your system so that Subversion can store passwords encrypted, if
      possible.  See the documentation for details.
      
      You can avoid future appearances of this warning by setting the value
      of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
      '/home/vijayaguru/.subversion/servers'.
      -----------------------------------------------------------------------
      Store password unencrypted (yes/no)? Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 
      'yes' or 'no':
      
      ../subversion/libsvn_client/ra.c:356: (apr_err=70014)
      ../subversion/libsvn_client/ra.c:356: (apr_err=70014)
      ../subversion/libsvn_ra/ra_loader.c:496: (apr_err=70014)
      ../subversion/libsvn_ra/ra_loader.c:496: (apr_err=70014)
      svnrdump: E070014: Unable to connect to a repository at URL 
      'http://localhost:1234/svn/testrepo'
      ../subversion/libsvn_ra_serf/util.c:638: (apr_err=70014)
      ../subversion/libsvn_ra_serf/util.c:1466: (apr_err=70014)
      ../subversion/libsvn_ra_serf/util.c:1466: (apr_err=70014)
      ../subversion/libsvn_subr/auth.c:352: (apr_err=70014)
      ../subversion/libsvn_subr/simple_providers.c:394: (apr_err=70014)
      ../subversion/libsvn_subr/prompt.c:124: (apr_err=70014)
      svnrdump: E070014: Can't read stdin: End of file found
      
      </snip>
      
      
      It checks for "yes or no" in the standard input(dump file). As it could not find 
      one, it prints the prompt message repeatedly(as many lines in the dumpfile) and 
      fails with the error.
      
      The following mailing list thread discusses this issue: 
      
      http://svn.haxx.se/dev/archive-2011-06/0110.shtml
      

      Original issue reported by vijayagurug

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: