Svn: warning: error processing external definitions for

I have an extrange error defining an external repo with svn. In my repository, I am making an external definition for an enterprise repository that needs authentication (svn + ssh). It works fine on my machine, but I have the same username on both my machine and svn.

When I try to play this check on another computer with a different username, the whole check works fine until it goes to an external repo. At this point, instead of synchronizing with my svn name, try synchronizing the external with the username of the machine.

I set the external in this way:

svn propset svn:externals 'dd1 svn+ssh://subversion.example.int/var/subversion/dd1/trunk' . svn commit 

I cannot determine the external s and username because everyone has their own username / password

Any ideas? Thanks.

+4
source share
1 answer

solvable.

The problem is the combination between svn + ssh. Ssh gives the username svn. You can force the username by writing svn + ssh: // username@svn.server.com / trunk, but the external selection is by default username (because it is a different svn authentication process).

The solution was to write a configuration file (~ / .ssh / config) and write inside:

 Host subversion.example.int User svn_user 

(more information at: http://www.eall.com.br/blog/?p=105 )

With this, you create an alias between the machine user and the server user. Until the external user will always request svn_user instead of machine_user (unless you change your external form subversion.example.int)

+2
source

Source: https://habr.com/ru/post/1393736/


All Articles