projects
/
invirt/scripts/git-migration.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stuff all of our repos into an /invirt subdirectory, so that we have
[invirt/scripts/git-migration.git]
/
rules.mako
diff --git
a/rules.mako
b/rules.mako
index
0557dd3
..
291d70c
100644
(file)
--- a/
rules.mako
+++ b/
rules.mako
@@
-66,7
+66,8
@@
end match
match /package_tags/${package}/([^/~]+)/${package}/
repository ${get_repo(package)}
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
max revision ${packages[package]['undouble'][0] - 1}
end match
@@
-92,9
+93,15
@@
match /trunk/packages/${package}/
% endif
end match
% endif
end match
+match /package_branches/${package}/([^/~]+)/
+ repository ${get_repo(package)}
+ branch ${get_tag_prefix(package)}\1
+end match
+
match /package_tags/${package}/([^/~]+)/
repository ${get_repo(package)}
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
% if 'undouble' in packages[package]:
min revision ${packages[package]['undouble'][1]}
% endif
@@
-102,7
+109,8
@@
end match
match /package_tags/${package}/([^/~]+)~([^/~]+)/
repository ${get_repo(package)}
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
% if 'undouble' in packages[package]:
min revision ${packages[package]['undouble'][1]}
% endif
@@
-174,7
+182,8
@@
end match
match /third_tags/${t}/([^/~]+)/
repository third/${t}.git
match /third_tags/${t}/([^/~]+)/
repository third/${t}.git
- branch tags/\1
+ branch refs/tags/\1
+ annotated true
end match
% endfor
end match
% endfor