--- /dev/null
+#
+# Declare the repositories we know about:
+#
+
+create repository myproject
+end repository
+
+#
+# Declare the rules
+# Note: rules must end in a slash
+#
+
+match /trunk/
+ repository myproject
+ branch master
+end match
+
+match /branches/([^/]+)/
+ repository myproject
+ branch \1
+end match
+
+match /tags/([^/]+)/
+ repository myproject
+ branch refs/tags/\1
+end match