]> andersk Git - svn-all-fast-export.git/blame - samples/recurse.rules
Fix the recurse rules sample file: the repository name comes after the branch name...
[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
35d851a2
TM
21#
22# SVN layout:
23# /branches/branchname/project1
24# /branches/branchname/project2
60d67149 25match /branches/([^/]+)/([^/]+)/
35d851a2
TM
26 repository \2
27 branch \1
60d67149
TM
28end 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
37match /branches/[^/]+
38 action recurse
39end match
40
41# No tag processing
This page took 0.045113 seconds and 5 git commands to generate.