Skip to content

Conversation

@Ditti4
Copy link
Contributor

@Ditti4 Ditti4 commented Apr 13, 2018

Very large SVN repositories, especially those which include binary
files, tend to result in very large git pack files (tens of gigabytes).

With its current approach, svn2git will wait 30 seconds (the default
timeout of waitForFinished()) for git fast-import to finish before it
terminates the git process. That default timeout is way too small for
large pack files for which the import process can take several minutes.

To work around this very long processing time, this commit adds the new
command line option "--fast-import-timeout". It allows the user to set a
custom timeout in seconds to wait for git fast-import to finish, with a
timeout of 0 meaning that svn2git will wait forever. This way even large
SVN repositories can be imported successfully.

Very large SVN repositories, especially those which include binary files, tend to result in very large git pack files (tens of gigabytes). With its current approach, svn2git will wait 30 seconds (the default timeout of waitForFinished()) for git fast-import to finish before it terminates the git process. That default timeout is way too small for large pack files for which the import process can take several minutes. To work around this very long processing time, this commit adds the new command line option "--fast-import-timeout". It allows the user to set a custom timeout in seconds to wait for git fast-import to finish, with a timeout of 0 meaning that svn2git will wait forever. This way even large SVN repositories can be imported successfully.
@tnyblom tnyblom merged commit 496fd52 into svn-all-fast-export:master May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants