File: two-projects.rules

package info (click to toggle)
svn-all-fast-export 1.0.10%2Bgit20160822-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 364 kB
  • ctags: 348
  • sloc: cpp: 2,791; sh: 17; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Declare the repositories we know about:
#

create repository project1
end repository

create repository project2
end repository

#
# Declare the rules
# Note: rules must end in a slash
#

match /project1/trunk/
  repository project1
  branch master
end match

match /project2/trunk/
  repository project2
  branch master
end match

# Note how we can use regexp to capture the repository name
match /([^/]+)/branches/([^/]+)/
  repository \1
  branch \2
end match

# No tag processing