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

Re: Using git svn rebase at quarantine environment or a feasible alternative to synchronize git and svn repositories

From
Jeff King <peff@peff.net>
Date
Oct 2, 2018, 14:27 UTC
Message-ID
<20181002142725.GB24375@sigill.intra.peff.net>
In-Reply-To
<VI1PR0902MB2223AB8C9A721478E82449FEE2E80@VI1PR0902MB2223.eurprd09.prod.outlook.com>
On Tue, Oct 02, 2018 at 10:28:38AM +0000, Jose Gisbert wrote:
Show 5 quoted lines
> Moreover, assuming that solution #1 will generally work and the facts that:
> 
> - I think it would be possible to us to recover from a corrupted repository
>   somehow easily. Couldn't we, for instance, reset from a failed push and try
>   it again?

Yes, I think that would generally allow you to recover (it just may require some manual fiddling by the admin).

Show 8 quoted lines
> - the chances of corrupting the svn repository, our reference here, seem small
>   because git svn dcommit is the last operation in the chain and is only
>   performed when everything else went ok
> - we are a small team and git is not our main CVS, so we can stop pushing to
>   git while we fix the repository
> 
> I'm more inclined to apply this solution. Maybe I'm being too much optimistic
> with my assumptions.

I think your analysis of the risk seems pretty accurate. I make no promises, of course. :)

-Peff
Previous: Jose Gisbert
Message 8 of 8 in “Using git svn rebase at quarantine environment or a feasible alternative to synchronize git and svn repositories”
  1. Jose GisbertOct 1, 2018
  2. Ævar Arnfjörð BjarmasonOct 1, 2018
  3. Jose GisbertOct 1, 2018
  4. Ævar Arnfjörð BjarmasonOct 1, 2018
  5. Jose GisbertOct 2, 2018
  6. Jeff KingOct 1, 2018
  7. Jose GisbertOct 2, 2018
  8. Jeff KingOct 2, 2018

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.