]>
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 /project1/trunk/ | |
17 | repository project1 | |
18 | branch master | |
19 | end match | |
20 | ||
21 | match /project2/trunk/ | |
22 | repository project2 | |
23 | branch master | |
24 | end match | |
25 | ||
26 | # Note how we can use regexp to capture the repository name | |
27 | match /([^/]+)/branches/([^/]+)/ | |
28 | repository \1 | |
29 | branch \2 | |
30 | end match | |
31 | ||
32 | # No tag processing |