git-svn “无法找到 revmap”
我这样做了,它工作了一段时间,我可以重新设置基点和提交等等。
但后来我在执行“git svn rebase”时遇到错误: “找不到转速图” 看来git-svn突然认为我的分支是svn主干...
这可能是答案: git-svn 仅导入分支
但我根本不够聪明,无法理解它。
编辑 我在有效的“git svn rebase”和给出错误的“git svn rebase”之间所做的就是创建一个分支并存储一点......
**编辑2 ** 这看起来也很有用: git svn 克隆 > git svn 变基 >无法从工作树历史记录中确定上游 SVN 信息
I followed this tutorial:
http://www.beletsky.net/2011/06/how-to-start-using-git-in-svn-based.html
I did this and it worked fine for a while i could rebase and dcommit and all.
But then I got an error when doing "git svn rebase":
"Couldn't find revmap for"
It seems that git-svn suddenly thinks that my branch is the svn trunk...
This might be the answer:
git-svn import only branch
But I am simply not smart enough to unserstand it.
Edit
What I did between the "git svn rebase" that worked and the one giving an error was create a branch and stash a little...
**Edit 2 **
This looks useful as well:
git svn clone > git svn rebase > Unable to determine upstream SVN information from working tree history
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我似乎一次只能对一棵 svn 树进行变基。我的工作流程目前是:
但是,像你一样,我想一定有更好的方法来做到这一点......在检查 svn 分支代码(但由于某种原因,但不是主干)时,我也遇到了很多 revmap 错误。似乎一个大的“git svn fetch”就能获取所有内容,并立即重新设置所有跟踪分支的基础。一次一个很乏味。
有人吗?
I seem to only be able to rebase one svn tree at a time. My workflow is currently:
But, like you, I imagine there must be a better way to do this... I get lots of revmap errors as well when checking out the svn branch code (but not trunk, for some reason). Seems like one big 'git svn fetch' would get everything, and rebase all the tracking branches at once. One at a time is tedious.
Anyone?