rebase -i: add exec command to launch a shell command
[git/jnareb-git.git] / contrib / svn-fe / svn-fe.txt
blobde30f83a1f94aa8dd2bf442e22634524e2689187
1 svn-fe(1)
2 =========
4 NAME
5 ----
6 svn-fe - convert an SVN "dumpfile" to a fast-import stream
8 SYNOPSIS
9 --------
10 svnadmin dump --incremental REPO | svn-fe [url] | git fast-import
12 DESCRIPTION
13 -----------
15 Converts a Subversion dumpfile (version: 2) into input suitable for
16 git-fast-import(1) and similar importers. REPO is a path to a
17 Subversion repository mirrored on the local disk. Remote Subversion
18 repositories can be mirrored on local disk using the `svnsync`
19 command.
21 INPUT FORMAT
22 ------------
23 Subversion's repository dump format is documented in full in
24 `notes/dump-load-format.txt` from the Subversion source tree.
25 Files in this format can be generated using the 'svnadmin dump' or
26 'svk admin dump' command.
28 OUTPUT FORMAT
29 -------------
30 The fast-import format is documented by the git-fast-import(1)
31 manual page.
33 NOTES
34 -----
35 Subversion dumps do not record a separate author and committer for
36 each revision, nor a separate display name and email address for
37 each author.  Like git-svn(1), 'svn-fe' will use the name
39 ---------
40 user <user@UUID>
41 ---------
43 as committer, where 'user' is the value of the `svn:author` property
44 and 'UUID' the repository's identifier.
46 To support incremental imports, 'svn-fe' will put a `git-svn-id`
47 line at the end of each commit log message if passed an url on the
48 command line.  This line has the form `git-svn-id: URL@REVNO UUID`.
50 Empty directories and unknown properties are silently discarded.
52 The resulting repository will generally require further processing
53 to put each project in its own repository and to separate the history
54 of each branch.  The 'git filter-branch --subdirectory-filter' command
55 may be useful for this purpose.
57 BUGS
58 ----
59 Litters the current working directory with .bin files for
60 persistence. Will be fixed when the svn-fe infrastructure is aware of
61 a Git working directory.
63 SEE ALSO
64 --------
65 git-svn(1), svn2git(1), svk(1), git-filter-branch(1), git-fast-import(1),
66 https://svn.apache.org/repos/asf/subversion/trunk/notes/dump-load-format.txt