]> git.ipfire.org Git - thirdparty/git.git/blame - contrib/svn-fe/svn-fe.txt
Merge branch 'js/update-index-ignore-removal-for-skip-worktree'
[thirdparty/git.git] / contrib / svn-fe / svn-fe.txt
CommitLineData
e605164d
JN
1svn-fe(1)
2=========
3
4NAME
5----
6svn-fe - convert an SVN "dumpfile" to a fast-import stream
7
8SYNOPSIS
9--------
41529bbc
DB
10[verse]
11mkfifo backchannel &&
7a75e661 12svnadmin dump --deltas REPO |
41529bbc
DB
13 svn-fe [url] 3<backchannel |
14 git fast-import --cat-blob-fd=3 3>backchannel
e605164d
JN
15
16DESCRIPTION
17-----------
18
d0fc40c7 19Converts a Subversion dumpfile into input suitable for
e605164d
JN
20git-fast-import(1) and similar importers. REPO is a path to a
21Subversion repository mirrored on the local disk. Remote Subversion
22repositories can be mirrored on local disk using the `svnsync`
23command.
24
75323459
JN
25Note: this tool is very young. The details of its commandline
26interface may change in backward incompatible ways.
27
e605164d
JN
28INPUT FORMAT
29------------
30Subversion's repository dump format is documented in full in
31`notes/dump-load-format.txt` from the Subversion source tree.
32Files in this format can be generated using the 'svnadmin dump' or
33'svk admin dump' command.
34
35OUTPUT FORMAT
36-------------
37The fast-import format is documented by the git-fast-import(1)
38manual page.
39
40NOTES
41-----
42Subversion dumps do not record a separate author and committer for
e34b2723
JL
43each revision, nor do they record a separate display name and email
44address for each author. Like git-svn(1), 'svn-fe' will use the name
e605164d
JN
45
46---------
47user <user@UUID>
48---------
49
50as committer, where 'user' is the value of the `svn:author` property
51and 'UUID' the repository's identifier.
52
712308f2 53To support incremental imports, 'svn-fe' puts a `git-svn-id` line at
a7793a74 54the end of each commit log message if passed a URL on the command
712308f2 55line. This line has the form `git-svn-id: URL@REVNO UUID`.
e605164d
JN
56
57The resulting repository will generally require further processing
58to put each project in its own repository and to separate the history
9df53c5d 59of each branch. The 'git filter-repo --subdirectory-filter' command
e605164d
JN
60may be useful for this purpose.
61
62BUGS
63----
712308f2
JN
64Empty directories and unknown properties are silently discarded.
65
66The exit status does not reflect whether an error was detected.
e605164d
JN
67
68SEE ALSO
69--------
9df53c5d 70git-svn(1), svn2git(1), svk(1), git-filter-repo(1), git-fast-import(1),
e605164d 71https://svn.apache.org/repos/asf/subversion/trunk/notes/dump-load-format.txt