Trying to observe a SVN repo (using svn+ssh) on a remote server on a non-standard (not 22) ssh port.
Reproduction
- You would have to have an external svn over ssh setup on a non-standard port (sorry, can't provide access to the one I'm using)
- Following these steps here
e.g. for the URI (notice no mention of the port, port doesn't go in the URI, let's say it was configured for 1234 - important below):
svn+ssh://svn.host.name/srv/repo/url/path/
- Activate the repository
- Go to status, cloning/observing will fail due to invalid port
Version
Current Versions phabricator b26ecb189e486998acf469db0cba87993ef6ad1b (Mon, Jun 13) arcanist 7b0aac5c6f31c1374075b4eab20ecb9107e3cabd (Sat, Jun 11) phutil 0dca72380253edadcc0249dab82cb49d03672ccc (Thu, Jun 16)
Workaround
su <phabricator_user> cd $HOME vim $HOME/.ssh.config --- Host svn.host.name Port 1234
That was the workaround I was most comfortable with. I could not get phabricator to use the $HOME/.subversion/config for tunnel settings (which is how this appears to normally be done). Also, setting the subversion config tunnel setting would impact _all_ repos where the .ssh/config method will be on a per-repo basis which is probably safer for configuration anyway...