]> andersk Git - svn-all-fast-export.git/blame - samples/merged-branches-tags.rules
Add a set of sample rules files.
[svn-all-fast-export.git] / samples / merged-branches-tags.rules
CommitLineData
60d67149
TM
1#
2# Declare the repositories we know about:
3#
4
5create repository myproject
6end repository
7
8#
9# Declare the rules
10# Note: rules must end in a slash
11#
12
13match /trunk/
14 repository myproject
15 branch master
16end match
17
18# Subversion doesn't understand the Git concept of tags
19# In Subversion, tags are really branches
20#
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
24#
25# So we don't pretend that SVN tags are Git tags and then import
26# everything as one
27
28match /(branches|tags)/([^/]+)/
29 repository myproject
30 branch \2
31end match
This page took 0.042825 seconds and 5 git commands to generate.