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