threads / discuss / 11208

git-svn capabilities

Subject: git-svn capabilities

## tl;dr

3 messages between Dec 9, 2007 and Dec 9, 2007.

replies: 2people: 2as markdown or json

Pedro Melo· Dec 9, 2007, 08:20 UTC · lore
Hi,

I've been following along the gcc/git thread with interest and I've used Harvey Harrison recipe

http://article.gmane.org/gmane.comp.version-control.git/67253
with success on several svn repos.
One thing that I'm not sure yet if it is possible to do is this:

can I have a single central git repo that tracks the svn repo, allow several developers to use clone to copy that repo, and each one of them (after proper manual configuration) uses dcommit to push back to svn?

All the recipes so far assume that each developer has to go through the initial git-svn fetch and have a copy of the entire SVN repo, and that seems wasteful to me.

Thanks,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Adam Roben· Dec 9, 2007, 08:37 UTC · re: Pedro Melo · lore

Re: git-svn capabilities

Pedro Melo wrote:
Show 19 quoted lines
> Hi,
>
> I've been following along the gcc/git thread with interest and I've 
> used Harvey Harrison recipe
>
> http://article.gmane.org/gmane.comp.version-control.git/67253
>
> with success on several svn repos.
>
> One thing that I'm not sure yet if it is possible to do is this:
>
> can I have a single central git repo that tracks the svn repo, allow 
> several developers to use clone to copy that repo, and each one of 
> them (after proper manual configuration) uses dcommit to push back to 
> svn?
>
> All the recipes so far assume that each developer has to go through 
> the initial git-svn fetch and have a copy of the entire SVN repo, and 
> that seems wasteful to me.

The "Basic Examples" section of the git-svn man page describe how to do just that (though only for a single branch).

-Adam
Pedro Melo· Dec 9, 2007, 11:20 UTC · re: Adam Roben · lore

Re: git-svn capabilities

Hi,
On Dec 9, 2007, at 8:37 AM, Adam Roben wrote:
Show 21 quoted lines
> Pedro Melo wrote:
>> I've been following along the gcc/git thread with interest and  
>> I've used Harvey Harrison recipe
>>
>> http://article.gmane.org/gmane.comp.version-control.git/67253
>>
>> with success on several svn repos.
>>
>> One thing that I'm not sure yet if it is possible to do is this:
>>
>> can I have a single central git repo that tracks the svn repo,  
>> allow several developers to use clone to copy that repo, and each  
>> one of them (after proper manual configuration) uses dcommit to  
>> push back to svn?
>>
>> All the recipes so far assume that each developer has to go  
>> through the initial git-svn fetch and have a copy of the entire  
>> SVN repo, and that seems wasteful to me.
>
> The "Basic Examples" section of the git-svn man page describe how  
> to do just that (though only for a single branch).
Sorry, missed that completely :)
Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!

← back to recent threads