Git2svn
No description available
Install / Use
/learn @lha/Git2svnREADME
NAME git2svn - converts a git branch to a svn branch
SYNOPSIS git2svn [options] git-repo svn-repo
OPTIONS --git-branch The git branch to export. The default is branch is master.
--svn-prefix
The svn prefix where the branch is imported. The default is
trunk to match the default GIT branch (master).
--no-load
Don't load the svn repository or update the syncpoint tagname.
--keep-logs
Don't delete the logs in $CWD/.data on success.
--ignore-author
Ignore "author" lines in the fast-import stream. Use "committer"
information instead.
--verbose
More verbose output.
--help Prints a brief help message and exits.
DESCRIPTION git2svn will convert a git branch to a svn branch, it also support incremental updates.
git2svn takes a git fast-export dump and converts it into a svn dump
that is fed into svnadmin load.
git2svn assumes it's the only process that writes into the svn
repository. This is because of the race between getting the to svn
Revision number from the svn, creating the dump with correct Revisions,
and do the svnadmin load.
git2svn also supports incremental updates from a git branch to a svn
repository. It does this by setting a git tag
(git2svn-syncpoint-<branchname>) where the last update was pulled from.
git2svn was created as a hack over a weekend to support a smoother
migration away from svn and allow users access to tools to browse and
search code (fisheye) and use anonymous svn servers.
EXAMPLES B<git2svn> ~/src/heimdal svn-repro
B<git2svn> --git-branch heimdal-1-0-branch \
--svn-prefix branches/heimdal-1-0-branch \
~/src/heimdal svn-repro
DOWNLOAD git2svn is avaible from github
https://github.com/lha/git2svn
If you want to do the reverse and convert from svn to git, you
might want to use
http://barrbrain.github.com/svn-dump-fast-export/
AUTHORS Love Hörnquist Åstrand lha@kth.se Neil Mayhew neil_mayhew@sil.org Ramkumar Ramachandra artagnon@gmail.com Ortwin Escher hurz@oe-extern.plan.vfnet.de Andreas Oberritter obi@saftware.de Dennis McRichie Remco Rijnders remco@webconquest.com
and we hope that those not mentioned here will forgive us
BUGS Send bug reports to lha@kth.se
