]> andersk Git - svn-all-fast-export.git/blob - samples/standardlayout.rules
Fix the recursing when the sub-path was modified instead of just added
[svn-all-fast-export.git] / samples / standardlayout.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 match /trunk/
14   repository myproject
15   branch master
16 end match
17
18 match /branches/([^/]+)/
19   repository myproject
20   branch \1
21 end match
22
23 # Important:
24 # Subversion doesn't understand the Git concept of tags
25 # In Subversion, tags are really branches
26 #
27 # Only a post-processing (i.e., after converting to Git) of the tag
28 # branches can we be sure that a tag wasn't moved or changed from the
29 # branch it was copied from
30 #
31 # This rule will create tags that don't exist in any of the
32 # branches. It's not what you want.
33 # See the merged-branches-tags.rules file
34 match /tags/([^/]+)/
35   repository myproject
36   branch refs/tags/\1
37 end match
This page took 0.0611 seconds and 5 git commands to generate.