Git blame on reorganized SVN repository

﹥>﹥吖頭↗ 提交于 2019-12-06 08:15:45

Are you sure the older commits appear in the git repo at all? Perhaps your svn reorganization was too big for git-svn to follow. Find the svn revision before the 17th May move, then git svn find-rev r12345 with that number to find the corresponding git hash, if there is one. Then git checkout that hash and see if the files you're interested in are in it.

If you told git-svn that your repo used the 'standard' trunk/branches/tags layout, it probably can't understand the other layout. You might need to redo the git-svn import in two stages: one for your old layout, and then again for your new layout. You can achieve this using the -r argument to git svn fetch to only fetch a given range of revisions.

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