如何从git-svn副本恢复Subversion存储库? [英] How can I recover a Subversion repository from a git-svn copy?

查看:77
本文介绍了如何从git-svn副本恢复Subversion存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很确定我已经尝试了所有方法,以为我会问这里的所有专家.

I am pretty sure I have tried everything, figured I would ask all the gurus on here.

背景: 我在旧的Linux机器上有一个SVN存储库. 我使用git-svn访问了这个SVN仓库. 系统的硬盘驱动器崩溃了,并且SVN存储库丢失了.

Background: I had an SVN repository on an old linux box. I accessed this SVN repo with git-svn. The system's hard drive crashed and the SVN repo was lost.

问题:

由于我已经使用GIT通过本地计算机对SVN存储库进行了完整备份,因此我想弄清楚如何发布所有内容,包括以前从本地计算机向新SVN服务器的提交(现在已经在RAID 5阵列).

Since I have an entire backup of the SVN repository on my local machine through me using GIT, I would like to figure out how to publish everything, including previous commits from my local machine to the new SVN server (that now is on a RAID 5 array).

当前,项目中仍然包含旧的SVN信息,因此我需要弄清楚如何摆脱这些信息,以及将GIT存储库迁移到我设置的新SVN存储库中.

Currently the projects still have the old SVN information in them, so I need to figure out how to get rid of that as well as migrating the GIT repo to the new SVN repo I set up.

我曾考虑设置一个远程GIT存储库,但是我的任何一位联合编程人员都不知道/不想学习如何使用GIT,因为目前他们使用SVN插件进行蚀,而且即使我是我,它也非常容易用GIT拯救了所有人.

I have contemplated setting up a remote GIT repo, but none of my co-programmers know/want to learn how to use GIT because currently they use the SVN plugin for eclipse and it is ultra easy, even though I am the one who saved everyone by using GIT.

推荐答案

它看起来像 Git: :SVNReplay 可能适合您.

It looks like Git::SVNReplay might fit the bill.

这篇关于如何从git-svn副本恢复Subversion存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆