-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
80 lines (57 loc) · 2.49 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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]