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

subversion fails with incorrect home directory/HOME variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.x
    • 1.7.0
    • unknown
    • None

    Description

      issuing svn --version fails if running under user with non-directory as home
      directory. The same applies for incorrectly set $HOME variable.
      There is imho also no reason to create $HOME/.subversion/* entries if executing
      svn with --version parameter only.
      
      how-to reproduce:
      $ HOME=/dev/null svn --version
      svn: Can't open file '/dev/null/.subversion/servers': Not a directory
      
      $ HOME=/dev/null svn --version --quiet
      svn: Can't open file '/dev/null/.subversion/servers': Not a directory
      
      $ touch x
      $ HOME=x svn --version --quiet
      svn: Can't open file 'x/.subversion/servers': Not a directory
      

      Original issue reported by samb

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: