X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-migration.git/blobdiff_plain/6af7157e37bb783af891b363a68932ef033ab750..573f4f05e544af781e596b827b22b4047e2cfe94:/rules.mako?ds=sidebyside diff --git a/rules.mako b/rules.mako index 0557dd3..4f91e20 100644 --- a/rules.mako +++ b/rules.mako @@ -66,7 +66,8 @@ end match match /package_tags/${package}/([^/~]+)/${package}/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1 + branch refs/tags/${get_tag_prefix(package)}\1 + annotated true max revision ${packages[package]['undouble'][0] - 1} end match @@ -94,7 +95,8 @@ end match match /package_tags/${package}/([^/~]+)/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1 + branch refs/tags/${get_tag_prefix(package)}\1 + annotated true % if 'undouble' in packages[package]: min revision ${packages[package]['undouble'][1]} % endif @@ -102,7 +104,8 @@ end match match /package_tags/${package}/([^/~]+)~([^/~]+)/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1_\2 + branch refs/tags/${get_tag_prefix(package)}\1_\2 + annotated true % if 'undouble' in packages[package]: min revision ${packages[package]['undouble'][1]} % endif @@ -174,7 +177,8 @@ end match match /third_tags/${t}/([^/~]+)/ repository third/${t}.git - branch tags/\1 + branch refs/tags/\1 + annotated true end match % endfor