SVN-ALL-FAST-EXPORT(1)
π SVN-ALL-FAST-EXPORT π
okay so bestie, welcome to svn-all-fast-export, section 1 of the General Commands Manual, and no cap this thing is literally a tool to convert svn repositories into git. she's iconic, she's vintage (April 2010 vintage, we'll get there), and she's gonna hold your hand through the whole glow-up. π¦
β¨ NAME β¨
svn-all-fast-export β the girlies' fav tool to convert svn repositories into git. that's it, that's the name, periodt. π
πΈ SYNOPSIS πΈ
svn-all-fast-export [options] [Path to subversion repository]
π DESCRIPTION π
so. svn-all-fast-export is a tool to convert your svn repositories to git. main character energy fr fr. π
here's the tea though β you're gonna need two things before she'll even look at you:
- a copy of your svn repository (a literal copy, we'll explain)
- some rules written out to specify how the conversion will be done
the rules are lowkey the whole personality of this operation. for instance, you can manage how the tags and branches will be managed by writing the appropriate rules. it's giving very much "you control the vibe". there are examples waiting for you at /usr/share/doc/svn-all-fast-export/examples if you're stuck β go look, bestie, they ate. β¨
and about that "Path to subversion repository" β that is a backup copy of the subversion repository. not a url. not a url. > β οΈ note that an svn url will not work due to the undistributed nature of svn. sorry babe, she said what she said. π
π OPTIONS π
--identity-mapβ provide a map between svn username and email. you can hand her a file mapping the old svn accounts to the authors' names. this file must have a line per each svn account, and you can use either thesvn-all-fast-exportnative format:
janesvnaccountname Jane Doe <jane.doe@example.com>
or the git-svn format:
janesvnaccountname = Jane Doe <jane.doe@example.com>
--revisions-fileβ provide a file with revision numbers that should be processed. this file should have one revision number per line. one. per. line. π--rulesβ the rules file that determines what goes where. see/usr/share/doc/svn-all-fast-export/examplesfor further details. yes queen, the rules file is the blueprint. π§--add-metadataβ if passed, each git commit will have svn commit info. little receipts, cute. π--resume-fromβ start importing at svn revision number. pick up where you left off, no shame. π--max-revβ stop importing at svn revision number. know when to say when. π--dry-runβ don't actually write anything. it's the rehearsal, not the performance. π--debug-rulesβ print what rule is being used for each file. detective mode activated. π--commit-interval numberβ if passed the cache will be flushed to git every number of commits. so like, take thenumberargument, girl, don't leave her hanging. β¨--statsβ after a run, print some statistics. we love numbers, we love receipts, we love a post-game recap. π--svn-branchesβ use the content of SVN when creating branches. > note: SVN tags are branches as well. so yeah, keep that in mind. π-h,--helpβ show summary of options. your emergency contact. π«Ά-v,--versionβ show version of program. π«
π₯ RETURN VALUES π₯
this program returns 0 on success, and on error something else (numbers in base 10):
10β unrecognized option or missing argument11β no rules file specified
like, she's telling you exactly what went wrong. respect. π
π BUGS π
β οΈ all matching rules need to end with a/, else the tool will crash at some point. the only exception are the rules using therecurse-action.
that's it. that's the warning. do not test her. π
π HOMEPAGE π
π SEE ALSO π
http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git
π AUTHORS π
svn-all-fast-export was written by Thiago Macieira and Thomas Zander. absolute legends, we stan. π
okay bestie, that's the whole page!! this came straight out of the General Commands Manual, dated April 25, 2010 β like I said, vintage, but she still slays. go forth, convert your repos, and remember: slash at the end of your rules. mwah. π β¨π¦π
π¦ where this page comes from
- debian bookworm: svn-all-fast-export 1.0.18+git20221225-1 Β· GPL-3.0-or-later
- debian trixie: svn-all-fast-export 1.0.18+git20221225-1+b1 Β· GPL-3.0-or-later
- ubuntu jammy: svn-all-fast-export 1.0.18+git20200501-1 Β· GPL-3.0-or-later
- ubuntu noble: svn-all-fast-export 1.0.18+git20221225-1build2 Β· GPL-3.0-or-later
- ubuntu questing: svn-all-fast-export 1.0.18+git20221225-1build2
- ubuntu resolute: svn-all-fast-export 1.0.18+git20221225-1build3 Β· GPL-3.0-or-later
- ubuntu stonking: svn-all-fast-export 1.0.18+git20221225-1build3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms