-
Setting up git-svn remote for a cloned git repository
I have a git repository cloned from a SVN repo using git-svn. Everything works fine here.
I am now trying to clone this git repo onto another machine and setup svn remote on it.
1. After adding svn remote to config, I hit 'git svn rebase' and the command hangs on me. Once after requesting password & certificate info, second time no change at prompt. May be first time itself cert info was saved.
2. I retried cloning again and tried a 'git svn fetch' but this is bringing everything from first commit. Practically doing a git svn clone.
What are the correct steps to setup svn remote for an existing git repository and have it working? The source git repo is typically cloned from svn.
Thanks for the help in advance
.
-
Figured this one myself. git svn rebase was failing since the SHA hash pointer was missing in the cloned repo. After copying this file over, rebase went fine.
Here's the location of the hash file: [name].git/svn/refs/remotes/git-svn
Posting this for somebody who encounters same issue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks