contrib / svn-fe / svn-fe.txton commit Merge branch 'db/delta-applier' into svn-fe (a8d3d26)
   1svn-fe(1)
   2=========
   3
   4NAME
   5----
   6svn-fe - convert an SVN "dumpfile" to a fast-import stream
   7
   8SYNOPSIS
   9--------
  10[verse]
  11mkfifo backchannel &&
  12svnadmin dump --incremental REPO |
  13        svn-fe [url] 3<backchannel |
  14        git fast-import --cat-blob-fd=3 3>backchannel
  15
  16DESCRIPTION
  17-----------
  18
  19Converts a Subversion dumpfile into input suitable for
  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
  25Note: this tool is very young.  The details of its commandline
  26interface may change in backward incompatible ways.
  27
  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
  35Dumps produced with 'svnadmin dump --deltas' (dumpfile format v3)
  36are not supported.
  37
  38OUTPUT FORMAT
  39-------------
  40The fast-import format is documented by the git-fast-import(1)
  41manual page.
  42
  43NOTES
  44-----
  45Subversion dumps do not record a separate author and committer for
  46each revision, nor a separate display name and email address for
  47each author.  Like git-svn(1), 'svn-fe' will use the name
  48
  49---------
  50user <user@UUID>
  51---------
  52
  53as committer, where 'user' is the value of the `svn:author` property
  54and 'UUID' the repository's identifier.
  55
  56To support incremental imports, 'svn-fe' puts a `git-svn-id` line at
  57the end of each commit log message if passed an url on the command
  58line.  This line has the form `git-svn-id: URL@REVNO UUID`.
  59
  60The resulting repository will generally require further processing
  61to put each project in its own repository and to separate the history
  62of each branch.  The 'git filter-branch --subdirectory-filter' command
  63may be useful for this purpose.
  64
  65BUGS
  66----
  67Empty directories and unknown properties are silently discarded.
  68
  69The exit status does not reflect whether an error was detected.
  70
  71SEE ALSO
  72--------
  73git-svn(1), svn2git(1), svk(1), git-filter-branch(1), git-fast-import(1),
  74https://svn.apache.org/repos/asf/subversion/trunk/notes/dump-load-format.txt