Fix the recurse rules sample file: the repository name comes after the branch name...
[svn-all-fast-export.git] / samples / recurse.rules
blob0840e41cd3d92e1308c5e1f6df2a42db3e8c93ce
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
22 # SVN layout:
23 #  /branches/branchname/project1
24 #  /branches/branchname/project2
25 match /branches/([^/]+)/([^/]+)/
26   repository \2
27   branch \1
28 end match
32 # Example of the recurse rule:
33 # We tell svn-all-fast-export to not import anything
34 # but to go inside and recurse in the subdirs
35 # Note how the ending slash is missing in this particular case
37 match /branches/[^/]+
38   action recurse
39 end match
41 # No tag processing