Missing revisions after “git svn clone”

若如初见. 提交于 2019-12-08 03:06:15

问题


After running:

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

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?


回答1:


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

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

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.



来源:https://stackoverflow.com/questions/10982285/missing-revisions-after-git-svn-clone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!