Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

svn-all-fast-export(1) [debian man page]

SVN-ALL-FAST-EXPORT(1)					      General Commands Manual					    SVN-ALL-FAST-EXPORT(1)

NAME
svn-all-fast-export - tool to convert svn repositories into git SYNOPSIS
svn-all-fast-export [options] [Path to subversion repository] DESCRIPTION
svn-all-fast-export is a tool to convert your svn repositories to git. You will need to have a copy of your svn repository and to write some rules to specify how the conversion will be done, for instance, you can manage how the tags and branches will be managed writing the appropriate rules. You have examples in /usr/share/doc/svn-all-fast- export/samples Path to subversion repository is a backup copy of the subversion repository. Note that an svn url will not work due to the undistributed nature of svn. OPTIONS
--identity-map Provide map between svn username and email. You can provide a file mapping the old svn accounts to the authors names. This file must have a line per each svn account, you can use either the svn-all-fast-export native format: janesvnaccountname Jane Doe <jane.doe@example.com> or the git-svn format: janesvnaccountname = Jane Doe <jane.doe@example.com> --revisions-file Provide a file with revisions numbers that should be processed. This file should have one revision number per line. --rules The rules file that determines what goes where. See /usr/share/doc/svn-all-fast-export/samples --add-metadata If passed, each git commit will have svn commit info. --resume-from Start importing at svn revision number. --max-rev Stop importing at svn revision number. --dry-run Don't actually write anything. --debug-rules Print what rule is being used for each file. --commit-interval number If passed the cache will be flushed to git every number of commits. --stats After a run, print some statistics. --svn-branches Use the content of SVN when creating branches, Note: SVN tags are branches as well. -h, --help Show summary of options. -v, --version Show version of program. RETURN VALUES
This program returns 0 on success, on error something else (numbers in base 10): 10 unrecognized option or missing argument 11 no rules file specified BUGS
All matching rules need to end with a '/', else the tool will crash at some point. The only exception are the rules using the recurse- action. HOMEPAGE
http://gitorious.org/svn2git SEE ALSO
http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git AUTHORS
svn-all-fast-export was written by Thiago Macieira and Thomas Zander. April 25, 2010 SVN-ALL-FAST-EXPORT(1)

Check Out this Related Man Page

SVNPATH(1)                                                                                                                              SVNPATH(1)

NAME
svnpath - output svn url with support for tags and branches SYNOPSIS
svnpath svnpath tags svnpath branches svnpath trunk DESCRIPTION
svnpath is intended to be run in a Subversion working copy. In its simplest usage, svnpath with no parameters outputs the svn url for the repository associated with the working copy. If a parameter is given, svnpath attempts to instead output the url that would be used for the tags, branches, or trunk. This will only work if it's run in the top-level directory that is subject to tagging or branching. For example, if you want to tag what's checked into Subversion as version 1.0, you could use a command like this: svn cp $(svnpath) $(svnpath tags)/1.0 That's much easier than using svn info to look up the repository url and manually modifying it to derive the url to use for the tag, and typing in something like this: svn cp svn+ssh://my.server.example/svn/project/trunk svn+ssh://my.server.example/svn/project/tags/1.0 svnpath uses a simple heuristic to convert between the trunk, tags, and branches paths. It replaces the first occurrence of trunk, tags, or branches with the name of what you're looking for. This will work ok for most typical Subversion repository layouts. If you have an atypical layout and it does not work, you can add a ~/.svnpath file. This file is perl code, which can modify the path in $url. For example, the author uses this file: #!/usr/bin/perl # svnpath personal override file # For d-i I sometimes work from a full d-i tree branch. Remove that from # the path to get regular tags or branches directories. $url=~s!d-i/(rc|beta)[0-9]+/!!; $url=~s!d-i/sarge/!!; 1 LICENSE
GPL version 2 or later AUTHOR
Joey Hess <joey@kitenet.net> Debian Utilities 2013-12-23 SVNPATH(1)
Man Page