在"git svn clone"之后缺少修订 [英] Missing revisions after "git svn clone"

查看:104
本文介绍了在"git svn clone"之后缺少修订的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行后:

git svn clone https://svn.mycompany.eu/project/trunk

缺少一些修订版本(例如,总修订版本中的4700个为500).这是一个问题,因为我们在Trac中加入了许多提交和许多任务.有人可以帮忙吗?

There are some missing revisions (for exemaple 500 from 4700 of total revisions). It's a problem, because we have joined a number of commits with a number of tasks in Trac. Can anybody help, please?

推荐答案

您仅克隆了主干,因此git-svn没有检测到任何分支.试试:

You cloned the trunk only, so git-svn didn't detect any branches. Try:

git svn clone -s https://svn.mycompany.eu/project

那些丢失的修订版所在的地方是赔率.如果您的项目不遵循SVN约定,则需要告诉git svn在哪里可以找到那些分支.

Odds are that's where those missing revisions are. If your project does not adhere to SVN conventions, you will need to tell git svn where to find those branches.

这篇关于在"git svn clone"之后缺少修订的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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