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

Cannot setup tracking information; starting point ... is not a branch #136

Closed
stephenyeargin opened this issue Sep 17, 2013 · 3 comments
Closed

Comments

@stephenyeargin
Copy link

Version: svn2git (2.2.2)

After running for about five hours (it's a large repository), I ran into this error at the end of the conversion process. The repository is a standard layout. I've tried to resume the process by running it with the --rebase flag, but it looks like I can't get around this one.

$ svn2git --rebase --verbose
Running command: git status --porcelain --untracked-files=no
Running command: git branch -l --no-color
* master
Running command: git branch -r --no-color
...trimmed...
Running command: git svn fetch
Running command: git branch --track "adwords_v201206" "remotes/svn/adwords_v201206"
fatal: Cannot setup tracking information; starting point 'remotes/svn/adwords_v201206' is not a branch.
command failed:
2>&1 git branch --track "adwords_v201206" "remotes/svn/adwords_v201206"
@stephenyeargin
Copy link
Author

Confirming that downgrading git to 1.8.3.1 works around the issue.

@tjaalton
Copy link

you need to drop '--track' from migration.rb

@tofi86
Copy link

tofi86 commented Jan 25, 2014

downgrading git to 1.8.3.1 wasn't an option. But removing the --track option from migration.rb helped...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants