Allow not deleting dump files, and avoid loading into svn.
[git2svn.git] / README
blob8a77f1f1635976d9109def46f4e6e8a637177d67
1 NAME
2     git2svn - converts a git branch to a svn ditto
4 SYNOPSIS
5     git2svn [options] git-repro svn-repro
7 OPTIONS
8     -git-branch
9             The git branch to export. The default is branch is master.
11     -svn-prefix
12             The svn prefix where the branch is import. The default is trunk
13             to match the default GIT branch (master).
15     -verbose
16             More verbose output, can be give more then once to increase the
17             verbosity.
19     -help   Print a brief help message and exits.
21 DESCRIPTION
22     This program will convert a git branch to a svn ditto, it also support
23     incremantal updates.
25     git2svn takes a git fast-export dump and converts it into a svn dump
26     that is feed into svnadmin load.
28     git2svn assumes its the only process that writes into the svn
29     repository. This is because of the race between getting the to svn
30     Revsion number from the svn, creating the dump with correct Revsions,
31     and do the svnadmin load.
33     git2svn also support incremental updates from a git branch to a svn
34     reprositry. Its does this by setting a git tag
35     (git2svn-syncpoint-<branchname>) where the last update was pulled from.
37 EXAMPLES
38             ./git2svn ~/src/heimdal svn-repro
39             ./git2svn --git-branch heimdal-1-0-branch \
40                       --svn-prefix branches/heimdal-1-0-branch \
41                     ~/src/heimdal svn-repro
43 DOWNLOAD
44     git2svn is avaible from repo.or.cz
46             git clone git://repo.or.cz/git2svn.git