Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguous error message when running sv2git #14

Open
derektamsen opened this issue Sep 1, 2016 · 0 comments
Open

Ambiguous error message when running sv2git #14

derektamsen opened this issue Sep 1, 2016 · 0 comments
Assignees
Labels

Comments

@derektamsen
Copy link
Owner

  1. Move the branch with a conflicting name on the source svn repo:
svn mv http://plugins.svn.wordpress.org/google-analyticator/branches/1.4 http://plugins.svn.wordpress.org/google-analyticator/branches/1.4_branch
  1. Perform the standard svn2git functions:
svn2git http://plugins.svn.wordpress.org/google-analyticator
  1. Once the svn2git has completed delete the branch from the local git repo:
git branch -D 1.4
  1. Then remove the remote reference from the local git rep. The ref to delete will be the full git ref path. The path can be found by using git show-ref. This is typically 'refs/remotes/svn/<branch_name>'.
git update-ref -d refs/remotes/svn/1.4
  1. Now perform the svn2git rebase as often as needed until you have migrated to git.
svn2git --rebase
@derektamsen derektamsen self-assigned this Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant