File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ If you have a proper ruleset the tool will create the git repositories for you a
16
16
17
17
After it is done you likely want to run ` git repack -a -d -f ` to compress the pack file as it can get quite big.
18
18
19
+ Running as Docker image
20
+ -----------------------
21
+ Just mount your SVN folder, plus another working directory where Git repository will be created.
22
+ Sample usage with input mounted in /tmp and output produced in /workdir:
23
+ ```
24
+ docker build -t svn2git .
25
+ docker run --rm -it -v `pwd`/workdir:/workdir -v /var/lib/svn/project1:/tmp/svn -v `pwd`/conf:/tmp/conf svn2git /usr/local/svn2git/svn-all-fast-export --identity-map /tmp/conf/project1.authors --rules /tmp/conf/project1.rules --add-metadata --svn-branches --debug-rules --svn-ignore --empty-dirs /tmp/svn/
26
+ ```
27
+
19
28
Building the tool
20
29
-----------------
21
30
Run ` qmake && make ` . You get ` ./svn-all-fast-export ` .
You can’t perform that action at this time.
0 commit comments