Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

sync-rebase error when running svn-migration-scripts.jar

Ramon Padilla October 16, 2015

I've been following Atlassian's Migrating to Git guide step-by-step to create a local git repo on a Mac. The preparation and conversion stages were successful. However, when I get to the synchronisation stage an error is reported when I run the command to synchronise with the fetched commits:

java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar sync-rebase

 

The error reported is:

 

1
2
3
4
fatal: ambiguous argument 'remotes/trunk': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error finding tracking ref for branch master

I'm aware that the question has already been asked here but I've not been able to resolve the error from the answers provided.

1 answer

0 votes
David Eason March 3, 2016

When you first clone, use the prefix switch as shown:

 

git svn clone --prefix=''

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events