Add a set of sample rules files.
[svn-all-fast-export.git] / samples / recurse.rules
blobbfce62182f0b4fb03c46595a47de0bbb9d7885c0
2 # Declare the repositories we know about:
5 create repository project1
6 end repository
8 create repository project2
9 end repository
12 # Declare the rules
13 # Note: rules must end in a slash
16 match /trunk/([^/]+)/
17   repository \1
18   branch master
19 end match
21 match /branches/([^/]+)/([^/]+)/
22   repository \1
23   branch \2
24 end match
28 # Example of the recurse rule:
29 # We tell svn-all-fast-export to not import anything
30 # but to go inside and recurse in the subdirs
31 # Note how the ending slash is missing in this particular case
33 match /branches/[^/]+
34   action recurse
35 end match
37 # No tag processing