git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to authenticate with git-svn on a subversion repository
@ 2006-11-14 14:32 Comète
  2006-11-15 23:39 ` Sam Vilain
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Comète @ 2006-11-14 14:32 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to authenticate with git-svn on a subversion repository
  2006-11-14 14:32 how to authenticate with git-svn on a subversion repository Comète
@ 2006-11-15 23:39 ` Sam Vilain
  2006-11-16  6:59 ` Martin Langhoff
  2006-11-16 15:27 ` Seth Falcon
  2 siblings, 0 replies; 5+ messages in thread
From: Sam Vilain @ 2006-11-15 23:39 UTC (permalink / raw)
  To: Comète; +Cc: Git Mailing List

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to authenticate with git-svn on a subversion repository
  2006-11-14 14:32 how to authenticate with git-svn on a subversion repository Comète
  2006-11-15 23:39 ` Sam Vilain
@ 2006-11-16  6:59 ` Martin Langhoff
  2006-11-16 15:27 ` Seth Falcon
  2 siblings, 0 replies; 5+ messages in thread
From: Martin Langhoff @ 2006-11-16  6:59 UTC (permalink / raw)
  To: Comète; +Cc: git

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,



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to authenticate with git-svn on a subversion repository
  2006-11-14 14:32 how to authenticate with git-svn on a subversion repository Comète
  2006-11-15 23:39 ` Sam Vilain
  2006-11-16  6:59 ` Martin Langhoff
@ 2006-11-16 15:27 ` Seth Falcon
  2006-11-19  0:43   ` Anand Kumria
  2 siblings, 1 reply; 5+ messages in thread
From: Seth Falcon @ 2006-11-16 15:27 UTC (permalink / raw)
  To: git

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to authenticate with git-svn on a subversion repository
  2006-11-16 15:27 ` Seth Falcon
@ 2006-11-19  0:43   ` Anand Kumria
  0 siblings, 0 replies; 5+ messages in thread
From: Anand Kumria @ 2006-11-19  0:43 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-19  0:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 14:32 how to authenticate with git-svn on a subversion repository Comète
2006-11-15 23:39 ` Sam Vilain
2006-11-16  6:59 ` Martin Langhoff
2006-11-16 15:27 ` Seth Falcon
2006-11-19  0:43   ` Anand Kumria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).