README.markdown in mss-svn2git-1.2.4.1 vs README.markdown in mss-svn2git-1.3.0
- old
+ new
@@ -83,35 +83,35 @@
$ svn2git http://svn.example.com/path/to/repo
2. The svn repo is NOT in standard layout and has only a trunk and tags at the
root level of the repo.
- $ svn2git http://svn.example.com/path/to/repo --trunk trunk --tags tags
+ $ svn2git http://svn.example.com/path/to/repo --trunk dev --tags rel --nobranches
-3. The svn repo is NOT in standard layout and has only a trunk and branches at
-the root level of the repo.
-
- $ svn2git http://svn.example.com/path/to/repo --trunk trunk --branches branches
-
-4. The svn repo is NOT in standard layout and has only a trunk at the root
+3. The svn repo is NOT in standard layout and has only a trunk at the root
level of the repo.
- $ svn2git http://svn.example.com/path/to/repo --trunk trunk
+ $ svn2git http://svn.example.com/path/to/repo --trunk trunk --nobranches --notags
-5. The svn repo is NOT in standard layout and has no trunk, branches, or tags
+4. The svn repo is NOT in standard layout and has no trunk, branches, or tags
at the root level of the repo. Instead the root level of the repo is
equivalent to the trunk and there are no tags or branches.
$ svn2git http://svn.example.com/path/to/repo --rootistrunk
+5. The svn repo is in the standard layout but you want to exclude the massive
+doc directory and the backup files you once accidently added.
+
+ $ svn2git http://svn.example.com/path/to/repo --exclude doc --exclude '.*~$'
+
The above will create a git repository in the current directory with the git
version of the svn repository. Hence, you need to make a directory that you
want your new git repo to exist in, change into it and then run one of the
above commands. Note that in the above cases the trunk, branches, tags options
are simply folder names relative to the provided repo path. For example if you
specified trunk=foo branches=bar and tags=foobar it would be referencing
http://svn.example.com/path/to/repo/foo as your trunk, and so on. However, in
-case 5 it references the root of the repo as trunk.
+case 4 it references the root of the repo as trunk.
Authors
-------
To convert all your svn authors to git format, create a file somewhere on your