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

5 messages from 2006-11-14 to 2006-11-19. Participants: Sam Vilain, Anand Kumria, Comète, Martin Langhoff, Seth Falcon.
Thread: https://gitlist.dev/t/43260

## Comète, 2006-11-14 14:32

Subject: how to authenticate with git-svn on a subversion repository
Message-ID: <4559D37E.1070703@archlinuxfr.org>
URL: https://gitlist.dev/e/4559D37E.1070703%40archlinuxfr.org

```
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


```

## Sam Vilain, 2006-11-15 23:39

Subject: Re: how to authenticate with git-svn on a subversion repository
Message-ID: <455BA54E.3060007@vilain.net>
URL: https://gitlist.dev/e/455BA54E.3060007%40vilain.net
In-Reply-To: <4559D37E.1070703@archlinuxfr.org>

```
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?


```

## Martin Langhoff, 2006-11-16 06:59

Subject: Re: how to authenticate with git-svn on a subversion repository
Message-ID: <46a038f90611152259w6914c633u8de4adeca5dfa176@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90611152259w6914c633u8de4adeca5dfa176%40mail.gmail.com
In-Reply-To: <4559D37E.1070703@archlinuxfr.org>

```
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,



```

## Seth Falcon, 2006-11-16 15:27

Subject: Re: how to authenticate with git-svn on a subversion repository
Message-ID: <m24pszbede.fsf@ziti.local>
URL: https://gitlist.dev/e/m24pszbede.fsf%40ziti.local
In-Reply-To: <4559D37E.1070703@archlinuxfr.org>

```
Comète <comete@archlinuxfr.org> writes:

> 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.


```

## Anand Kumria, 2006-11-19 00:43

Subject: Re: how to authenticate with git-svn on a subversion repository
Message-ID: <ejo9cb$2l8$1@sea.gmane.org>
URL: https://gitlist.dev/e/ejo9cb%242l8%241%40sea.gmane.org
In-Reply-To: <m24pszbede.fsf@ziti.local>

```
On Thu, 16 Nov 2006 07:27:57 -0800, Seth Falcon wrote:

> Comète <comete@archlinuxfr.org> writes:
> 
>> 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

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

Anand

```
