]> andersk Git - svn-all-fast-export.git/blame - samples/recurse.rules
Add a set of sample rules files.
[svn-all-fast-export.git] / samples / recurse.rules
CommitLineData
60d67149
TM
1#
2# Declare the repositories we know about:
3#
4
5create repository project1
6end repository
7
8create repository project2
9end repository
10
11#
12# Declare the rules
13# Note: rules must end in a slash
14#
15
16match /trunk/([^/]+)/
17 repository \1
18 branch master
19end match
20
21match /branches/([^/]+)/([^/]+)/
22 repository \1
23 branch \2
24end 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
33match /branches/[^/]+
34 action recurse
35end match
36
37# No tag processing
This page took 0.044154 seconds and 5 git commands to generate.