Fwd: git-svn dcommit of multiple changes

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Oct 21 2008 - 14:42:11 EDT

  • Next message: Andrus Adamchik: "M5?"

    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-de..pache.org
    > Subject: Re: git-svn dcommit of multiple changes
    > Reply-To: infrastructure-de..pache.org
    >
    > Jean-Sebastien Delfino wrote:
    >> On Sun, Oct 19, 2008 at 1:58 PM, Andrus Adamchik <aadamchi..pache.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.
    >



    This archive was generated by hypermail 2.0.0 : Tue Oct 21 2008 - 14:42:52 EDT