Add a warning about tag processing in the standardlayout file
[svn-all-fast-export.git] / samples / standardlayout.rules
blobbf3a6f814830dddd916c5a20d292f487b13e5fe8
2 # Declare the repositories we know about:
5 create repository myproject
6 end repository
9 # Declare the rules
10 # Note: rules must end in a slash
13 match /trunk/
14   repository myproject
15   branch master
16 end match
18 match /branches/([^/]+)/
19   repository myproject
20   branch \1
21 end match
23 # Important:
24 # Subversion doesn't understand the Git concept of tags
25 # In Subversion, tags are really branches
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
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