]> andersk Git - svn-all-fast-export.git/blob - samples/recurse.rules
Fix the recurse rules sample file: the repository name comes after the branch name...
[svn-all-fast-export.git] / samples / recurse.rules
1 #
2 # Declare the repositories we know about:
3 #
4
5 create repository project1
6 end repository
7
8 create repository project2
9 end repository
10
11 #
12 # Declare the rules
13 # Note: rules must end in a slash
14 #
15
16 match /trunk/([^/]+)/
17   repository \1
18   branch master
19 end match
20
21 #
22 # SVN layout:
23 #  /branches/branchname/project1
24 #  /branches/branchname/project2
25 match /branches/([^/]+)/([^/]+)/
26   repository \2
27   branch \1
28 end match
29
30
31 #
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
36
37 match /branches/[^/]+
38   action recurse
39 end match
40
41 # No tag processing
This page took 0.046439 seconds and 5 git commands to generate.