Skip to contentSkip to conversation

how to authenticate with git-svn on a subversion repository

DISCUSSION Comète 5 participants 5 messages Aug 11, 2016

lore
Share & tools
lore

Comète

author
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Comète

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:

Quoted 9 lines
# 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?

#2 lore raw
In reply to Comète
Quoted 7 lines · Comète

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:

There may be a better way, but if you just use the svn command line client to create a small working copy from the repository, you will have a place to enter credentials and they will be cached in ~/.subversion and git-svn will find them.

#3 lore raw
Quoted 4 lines · Seth Falcon
Quoted 2 lines · Comète

hello !

Quoted 8 lines
Quoted 5 lines

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:

There may be a better way, but if you just use the svn command line client to create a small working copy from the repository, you will

Or, even simpler, use: svn info <url> which will cache the credentials and not require a working copy.

Anand

#4 lore raw
In reply to Comète

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,