git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn dcommit difficulties/feature request

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 21, 2009, 12:12 UTC
Message-ID
<20090221121253.GB8145@dcvr.yhbt.net>
In-Reply-To
<200902191947.22622.kumbayo84@arcor.de>
Peter Oberndorfer <kumbayo84@arcor.de> wrote:
Show 27 quoted lines
> Hi,
> 
> With the patch i am replying to git-svn got a bit more comfortable for me but 
> there is still a problem left.
> 
> I fetch via svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
> and push to svn+ssh://YOUR_LOGIN@svn.kde.org/home/kde/trunk/KDE/kdelibs
> 
> Pushing multiple changes at once to KDE servers with different fetch/commit 
> url is not possible for me.
> 
> Here is what it think what happens during a push:
> git svn dcommit pushes the first commit to svn.kde.org,
> then tries to fetch what it just pushed from anonsvn.kde.org
> (which lags behind authenticated svn by a few minutes).
> 
> git svn does not see the just committed changes, gets confused
> and stops pushing the rest of the commits.
> 
> My idea would be to temporarily fetch from the authenticated server, but not 
> update the current head and revdb., so nothing is affected beside the push.
> But this seems quite complicated.
> Or do not care about difference between fetch/dcommit url, and just fetch from 
> the dcommit url during dcommit.
> 
> Anybody have a good idea if this is possible or a better way to solve this 
> problem?

You could probably look into how rewriteRoot works and set that on a temporary basis in memory. In fact, that should probably be a default when using --commit-url iny any form...

-- 
Eric Wong
Previous: Kevin MenardNext: Eric Wong
Message 4 of 10 in “git-svn: try to read the dcommit url from the config file”
  1. git-svn: try to read the dcommit url from the config filePeter Oberndorfer, Feb 19, 2009
  2. git svn dcommit difficulties/feature requestPeter Oberndorfer, Feb 19, 2009
  3. Kevin MenardFeb 20, 2009
  4. Eric WongFeb 21, 2009
  5. Eric WongFeb 21, 2009
  6. Peter OberndorferFeb 22, 2009
  7. Eric WongFeb 23, 2009
  8. git-svn: read the dcommit url from the config file on a per remote basisPeter Oberndorfer, Feb 23, 2009
  9. Eric WongFeb 23, 2009
  10. Junio C HamanoFeb 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.