]> andersk Git - svn-all-fast-export.git/blob - samples/merged-branches-tags.rules
Add a set of sample rules files.
[svn-all-fast-export.git] / samples / merged-branches-tags.rules
1 #
2 # Declare the repositories we know about:
3 #
4
5 create repository myproject
6 end repository
7
8 #
9 # Declare the rules
10 # Note: rules must end in a slash
11 #
12
13 match /trunk/
14   repository myproject
15   branch master
16 end match
17
18 # Subversion doesn't understand the Git concept of tags
19 # In Subversion, tags are really branches
20 #
21 # Only a post-processing (i.e., after converting to Git) of the tag
22 # branches can we be sure that a tag wasn't moved or changed from the
23 # branch it was copied from
24 #
25 # So we don't pretend that SVN tags are Git tags and then import
26 # everything as one
27
28 match /(branches|tags)/([^/]+)/
29   repository myproject
30   branch \2
31 end match
This page took 0.370607 seconds and 5 git commands to generate.