Commit 496fd52
Make git fast-import timeout configurable (#39)
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.1 parent f00d5a5 commit 496fd52
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
471 | 479 | | |
472 | 480 | | |
473 | 481 | | |
474 | | - | |
| 482 | + | |
475 | 483 | | |
476 | 484 | | |
477 | 485 | | |
| |||
0 commit comments