From 60d67149d24f86474d20fac636093092d7f37e7a Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 20 Feb 2009 21:47:05 +0100 Subject: Add a set of sample rules files. All of these files are untested. I just wrote from memory. --- samples/standardlayout.rules | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 samples/standardlayout.rules (limited to 'samples/standardlayout.rules') diff --git a/samples/standardlayout.rules b/samples/standardlayout.rules new file mode 100644 index 0000000..b5e102f --- /dev/null +++ b/samples/standardlayout.rules @@ -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 -- cgit v1.2.1