]>
Commit | Line | Data |
---|---|---|
60d67149 TM |
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 | ||
35d851a2 TM |
21 | # |
22 | # SVN layout: | |
23 | # /branches/branchname/project1 | |
24 | # /branches/branchname/project2 | |
60d67149 | 25 | match /branches/([^/]+)/([^/]+)/ |
35d851a2 TM |
26 | repository \2 |
27 | branch \1 | |
60d67149 TM |
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 |