Add support for annotated tags
[svn-all-fast-export.git] / samples / merged-branches-tags.rules
blobc1ab75cdb8ae05533e6d6c3a79392b5be21798f2
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 # Subversion doesn't understand the Git concept of tags
19 # In Subversion, tags are really branches
21 # Only a post-processing (i.e., after converting to Git) of the tag
22 # branches can we be sure that a tag wasn't moved or changed from the
23 # branch it was copied from
25 # So we don't pretend that SVN tags are Git tags and then import
26 # everything as one
28 match /(branches|tags)/([^/]+)/
29   repository myproject
30   branch \2
31 end match