]> andersk Git - svn-all-fast-export.git/blobdiff - samples/standardlayout.rules
Add a set of sample rules files.
[svn-all-fast-export.git] / samples / standardlayout.rules
diff --git a/samples/standardlayout.rules b/samples/standardlayout.rules
new file mode 100644 (file)
index 0000000..b5e102f
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# 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
This page took 0.04568 seconds and 4 git commands to generate.