]> andersk Git - svn-all-fast-export.git/blob - samples/recurse.rules
bfce62182f0b4fb03c46595a47de0bbb9d7885c0
[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 match /branches/([^/]+)/([^/]+)/
22   repository \1
23   branch \2
24 end match
25
26
27 #
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
32
33 match /branches/[^/]+
34   action recurse
35 end match
36
37 # No tag processing
This page took 0.220713 seconds and 3 git commands to generate.