how to authenticate with git-svn on a subversion repository

3 messages, 3 authors, 2016-08-11 · open the first message on its own page

how to authenticate with git-svn on a subversion repository

From: Comète <hidden>
Date: 2016-08-11 20:22:16

hello !

i would like to use git-svn to commit some modifications to a Subversion 
repository but i don't know where i can enter my username and password 
to commit to the repository ? Is there any special file to put them.
For now i get an error:

# git-svn commit remotes/git-svn
Autorisation refusée: MKACTIVITY de 
'/svn/!svn/act/8115f5df-c0da-4a6d-91ef-135dcb76141c': Échec à 
l'autorisation (http://projet.archlinuxfr.org) at /usr/bin/git-svn line 553
512 at /usr/bin/git-svn line 574
	main::commit_lib('f45ba41060287fedfcedfb5fc4c29ecfe30a7466') called at 
/usr/bin/git-svn line 480
	main::commit('remotes/git-svn') called at /usr/bin/git-svn line 172


Thanks

Re: how to authenticate with git-svn on a subversion repository

From: Sam Vilain <hidden>
Date: 2016-08-11 19:23:41

Comète wrote:
hello !

i would like to use git-svn to commit some modifications to a Subversion 
repository but i don't know where i can enter my username and password 
to commit to the repository ? Is there any special file to put them.
For now i get an error:

# git-svn commit remotes/git-svn
Autorisation refusée: MKACTIVITY de 
'/svn/!svn/act/8115f5df-c0da-4a6d-91ef-135dcb76141c': Échec à 
l'autorisation (http://projet.archlinuxfr.org) at /usr/bin/git-svn line 553
512 at /usr/bin/git-svn line 574
	main::commit_lib('f45ba41060287fedfcedfb5fc4c29ecfe30a7466') called at 
/usr/bin/git-svn line 480
	main::commit('remotes/git-svn') called at /usr/bin/git-svn line 172
  
Two questions;

 - have you tried this with Git 1.4.4?  There have been some git-svn updates
 - which version of the SVN Perl bindings are you using?

Re: how to authenticate with git-svn on a subversion repository

From: Martin Langhoff <hidden>
Date: 2016-08-11 20:30:20

Hi Comete,

authentication with the SVN stuff is really weird. git-svn and
git-svnimport use the SVN libraries so that means that if you do

   svn login proto://host/path/to/repo
   git-svn proto://host/path/to/repo

it works because svn magic cookies get stored in ~/.svn.

cheers,

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help