aboutsummaryrefslogtreecommitdiffstats
path: root/samples/recurse.rules
blob: bfce62182f0b4fb03c46595a47de0bbb9d7885c0 (plain)
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
33
34
35
36
37
#
# 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 /trunk/([^/]+)/
  repository \1
  branch master
end match

match /branches/([^/]+)/([^/]+)/
  repository \1
  branch \2
end match


#
# Example of the recurse rule:
# We tell svn-all-fast-export to not import anything
# but to go inside and recurse in the subdirs
# Note how the ending slash is missing in this particular case

match /branches/[^/]+
  action recurse
end match

# No tag processing