From: Anders Kaseorg <andersk@mit.edu>
Date: Sun, 20 Sep 2009 05:09:53 +0000 (-0400)
Subject: Deal with package_branches.
X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-migration.git/commitdiff_plain/e65c2d44e4e6e73c6f01edc73e1d1ebd3aa17017

Deal with package_branches.

svn path=/trunk/scripts/git-migration/; revision=2471
---

diff --git a/rules.mako b/rules.mako
index 4f91e20..291d70c 100644
--- a/rules.mako
+++ b/rules.mako
@@ -93,6 +93,11 @@ match /trunk/packages/${package}/
 %   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)}
   branch refs/tags/${get_tag_prefix(package)}\1