]> andersk Git - svn-all-fast-export.git/blob - samples/min-max-revision.rules
Add a set of sample rules files.
[svn-all-fast-export.git] / samples / min-max-revision.rules
1 #
2 # Declare the repositories we know about:
3 #
4
5 create repository myproject
6 end repository
7
8 #
9 # Declare the rules
10 # Note: rules must end in a slash
11 #
12
13 # Ignore this particular revision in trunk
14 # See ignore-branch.rules first
15 # Note that rules are applied in order of appearance, so this rule
16 # must appear before the generic trunk rule
17 match /trunk/
18   min revision 123
19   max revision 123
20 end match
21
22 # Stop importing trunk
23 # If we don't specify a max revision, then there is no limit
24 # The same applies to min revision (i.e., min revision is 0)
25 match /trunk/
26   min revision 1234
27 end match
28
29 match /trunk/
30   repository myproject
31   branch master
32 end match
33
34 match /branches/([^/]+)/
35   repository myproject
36   branch \1
37 end match
38
39 # No tag processing
This page took 1.52796 seconds and 5 git commands to generate.