문제

What checks do you perform after the svn-to-git to make sure you have all tags/branches/commits etc. as they were on svn and nothing is lost?

Checks I can think of is:

  1. Number and names of git remote branches match svn branches
  2. Number and names of tags match svn tags
  3. Number of commits on each branch are the same in both repositories

Could you guide me and suggest any other checks? Are there any tools/scripts you are aware of that may be useful?

도움이 되었습니까?

해결책

I would also check that any svn:ignore settings you had in place in the SVN repo were converted to .gitignore entries. You can create .gitignore files using git svn create-ignore:

$ git svn create-ignore

Or, if you prefer not to use .gitignore files (which are shared among all repo collaborators) you can put the same rules in your local repo's .git/info/exclude file:

$ git svn show-ignore > .git/info/exclude
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top