0

Objective: To migrate from svn to gitlab with all the svn history.

Approach: Used the following command:

git svn clone -r<intital revision number>:HEAD --authors-file=authors.txt <svn URL like http://svn/Trunk> <Destination Folder like C:/Project>

After almost 1 hour of fetching data from the svn, an error occurred:

ls-tree -z asdafsdfsdfsdfsdf ./xyz.java: command returned error: 127

Any suggestion to overcome the solution will be very helpful.

Pratim Singha
  • 569
  • 2
  • 10
  • 33

1 Answers1

5

The below command helped in resolving the issue:

git svn gc

After the above command, this command is triggered and the issue didn't occur.

git svn clone -r<intital revision number>:HEAD --authors-file=authors.txt <svn URL like http://svn/Trunk> <Destination Folder like C:/Project>
Pratim Singha
  • 569
  • 2
  • 10
  • 33