“Network connection closed unexpectedly” upon svn checkout

后端 未结 15 2175
情话喂你
情话喂你 2021-01-17 17:51

When I attempt to checkout:

svn checkout svn+ssh://serveradmin%foo@foo.com/home/87292/data/svn/repository/trunk .

I get this (unhelpful) er

15条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 18:41

    If you have already set up .bashrc to refer to your key in SVN_SSH but are then using sudo to execute svn the command will not be using your SVN_SSH and you may get this error.

    I was using sudo to check out to a new directory I didn't have permission to create, the proper way is to sudo mkdir whatever, then set the correct permissions to allow you to write to it.

提交回复
热议问题