]> andersk Git - svn-all-fast-export.git/blame - samples/standardlayout.rules
Add a warning about tag processing in the standardlayout file
[svn-all-fast-export.git] / samples / standardlayout.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
18match /branches/([^/]+)/
19 repository myproject
20 branch \1
21end match
22
7d5244f9
TM
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
60d67149
TM
34match /tags/([^/]+)/
35 repository myproject
36 branch refs/tags/\1
37end match
This page took 0.047364 seconds and 5 git commands to generate.