You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2008/10/21 20:42:11 UTC

Fwd: git-svn dcommit of multiple changes

FYI: git behaves a bit funky when run against the EU SVN mirror. Still  
very usable.

Andrus

Begin forwarded message:

> From: "William A. Rowe, Jr."
> Date: October 20, 2008 6:54:25 PM EDT
> To: infrastructure-dev@apache.org
> Subject: Re: git-svn dcommit of multiple changes
> Reply-To: infrastructure-dev@apache.org
>
> Jean-Sebastien Delfino wrote:
>> On Sun, Oct 19, 2008 at 1:58 PM, Andrus Adamchik <aadamchik@apache.org 
>> > wrote:
>>> Just ran into an odd behavior with git synched against  
>>> sv.eu.apache.org.
>>>
>>> I've been working locally for some time, creating about 4-5 topic  
>>> branches,
>>> and then merging them to the master branch, and deleting the topic  
>>> branches.
>>> When I finally got online, I did this:
>>>
>>> $ git checkout master
>>> $ git svn rebase
>>> $ git svn dcommit
>>>
>>> To my surprise this only committed to SVN my first local commit  
>>> out of many
>>> that I had, so to get all my local changes to SVN, I had to do  
>>> this in the
>>> loop:
>>>
>>> $ git svn rebase
>>> $ git svn dcommit
>>> ... repeat N times
>>>
>>> Also sometimes I had to repeat the rebase part multiple times  
>>> after each
>>> commit - there seems to be a few second delay until git rebase  
>>> resets the
>>> local branch into a state when I can repeat a dcommit.
>>>
>>> Googling this behavior didn't turn any useful info - all svn/git  
>>> integration
>>> docs and blogs indicate that dcommit commits the entire delta  
>>> between the
>>> local and remote repo.
>>>
>>> Is this something specific to how svn.eu.apache.org is setup? Or  
>>> am I
>>> missing something obvious?
>>
>> Same here, I've experienced the same git-svn behavior with  
>> svn.eu.apache.org.
>
> I believe this has to do with mirror-lag of synchronizing to the US  
> server,
> the state of svn.eu.apache.org isn't instantly updated, so svn-git  
> isn't in sync
> until that resync of us->eu percolates through.
>


Re: git-svn dcommit of multiple changes

Posted by Michael Gentry <bl...@gmail.com>.
http://developers.slashdot.org/article.pl?sid=08/10/21/1731223&from=rss

On Tue, Oct 21, 2008 at 2:42 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
> FYI: git behaves a bit funky when run against the EU SVN mirror. Still very
> usable.
>
> Andrus
>
> Begin forwarded message:
>
>> From: "William A. Rowe, Jr."
>> Date: October 20, 2008 6:54:25 PM EDT
>> To: infrastructure-dev@apache.org
>> Subject: Re: git-svn dcommit of multiple changes
>> Reply-To: infrastructure-dev@apache.org
>>
>> Jean-Sebastien Delfino wrote:
>>>
>>> On Sun, Oct 19, 2008 at 1:58 PM, Andrus Adamchik <aa...@apache.org>
>>> wrote:
>>>>
>>>> Just ran into an odd behavior with git synched against sv.eu.apache.org.
>>>>
>>>> I've been working locally for some time, creating about 4-5 topic
>>>> branches,
>>>> and then merging them to the master branch, and deleting the topic
>>>> branches.
>>>> When I finally got online, I did this:
>>>>
>>>> $ git checkout master
>>>> $ git svn rebase
>>>> $ git svn dcommit
>>>>
>>>> To my surprise this only committed to SVN my first local commit out of
>>>> many
>>>> that I had, so to get all my local changes to SVN, I had to do this in
>>>> the
>>>> loop:
>>>>
>>>> $ git svn rebase
>>>> $ git svn dcommit
>>>> ... repeat N times
>>>>
>>>> Also sometimes I had to repeat the rebase part multiple times after each
>>>> commit - there seems to be a few second delay until git rebase resets
>>>> the
>>>> local branch into a state when I can repeat a dcommit.
>>>>
>>>> Googling this behavior didn't turn any useful info - all svn/git
>>>> integration
>>>> docs and blogs indicate that dcommit commits the entire delta between
>>>> the
>>>> local and remote repo.
>>>>
>>>> Is this something specific to how svn.eu.apache.org is setup? Or am I
>>>> missing something obvious?
>>>
>>> Same here, I've experienced the same git-svn behavior with
>>> svn.eu.apache.org.
>>
>> I believe this has to do with mirror-lag of synchronizing to the US
>> server,
>> the state of svn.eu.apache.org isn't instantly updated, so svn-git isn't
>> in sync
>> until that resync of us->eu percolates through.
>>
>
>