From 7d5244f97278f85caee51626e228b2b4fa7cbb88 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 20 Feb 2009 21:51:48 +0100 Subject: [PATCH] Add a warning about tag processing in the standardlayout file --- samples/standardlayout.rules | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/samples/standardlayout.rules b/samples/standardlayout.rules index b5e102f..bf3a6f8 100644 --- a/samples/standardlayout.rules +++ b/samples/standardlayout.rules @@ -20,6 +20,17 @@ match /branches/([^/]+)/ branch \1 end match +# Important: +# Subversion doesn't understand the Git concept of tags +# In Subversion, tags are really branches +# +# Only a post-processing (i.e., after converting to Git) of the tag +# branches can we be sure that a tag wasn't moved or changed from the +# branch it was copied from +# +# This rule will create tags that don't exist in any of the +# branches. It's not what you want. +# See the merged-branches-tags.rules file match /tags/([^/]+)/ repository myproject branch refs/tags/\1 -- 2.11.4.GIT