send-email: accept absolute path even on Windows
[git/dscho.git] / contrib / svn-fe / svn-fe.txt
blob72ffea0b3a6a29d69cb8c88989adc0692cd01f34
1 svn-fe(1)
2 =========
4 NAME
5 ----
6 svn-fe - convert an SVN "dumpfile" to a fast-import stream
8 SYNOPSIS
9 --------
10 [verse]
11 svnadmin dump --incremental REPO | svn-fe [url] | git fast-import
13 DESCRIPTION
14 -----------
16 Converts a Subversion dumpfile into input suitable for
17 git-fast-import(1) and similar importers. REPO is a path to a
18 Subversion repository mirrored on the local disk. Remote Subversion
19 repositories can be mirrored on local disk using the `svnsync`
20 command.
22 Note: this tool is very young.  The details of its commandline
23 interface may change in backward incompatible ways.
25 INPUT FORMAT
26 ------------
27 Subversion's repository dump format is documented in full in
28 `notes/dump-load-format.txt` from the Subversion source tree.
29 Files in this format can be generated using the 'svnadmin dump' or
30 'svk admin dump' command.
32 Dumps produced with 'svnadmin dump --deltas' (dumpfile format v3)
33 are not supported.
35 OUTPUT FORMAT
36 -------------
37 The fast-import format is documented by the git-fast-import(1)
38 manual page.
40 NOTES
41 -----
42 Subversion dumps do not record a separate author and committer for
43 each revision, nor a separate display name and email address for
44 each author.  Like git-svn(1), 'svn-fe' will use the name
46 ---------
47 user <user@UUID>
48 ---------
50 as committer, where 'user' is the value of the `svn:author` property
51 and 'UUID' the repository's identifier.
53 To support incremental imports, 'svn-fe' puts a `git-svn-id` line at
54 the end of each commit log message if passed an url on the command
55 line.  This line has the form `git-svn-id: URL@REVNO UUID`.
57 The resulting repository will generally require further processing
58 to put each project in its own repository and to separate the history
59 of each branch.  The 'git filter-branch --subdirectory-filter' command
60 may be useful for this purpose.
62 BUGS
63 ----
64 Empty directories and unknown properties are silently discarded.
66 The exit status does not reflect whether an error was detected.
68 SEE ALSO
69 --------
70 git-svn(1), svn2git(1), svk(1), git-filter-branch(1), git-fast-import(1),
71 https://svn.apache.org/repos/asf/subversion/trunk/notes/dump-load-format.txt