Skip to content

lha/git2svn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <[email protected]>
            Neil Mayhew <[email protected]>
            Ramkumar Ramachandra <[email protected]>
            Ortwin Escher <[email protected]>
            Andreas Oberritter <[email protected]>
            Dennis McRichie
            Remco Rijnders <[email protected]>

            and we hope that those not mentioned here will forgive us

BUGS
            Send bug reports to [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published