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

subversion fails with incorrect home directory/HOME variable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: 1.7.0
    • Component/s: unknown
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: