diff options
author | Thiago Macieira <thiago@kde.org> | 2009-02-20 21:47:05 +0100 |
---|---|---|
committer | Thiago Macieira <thiago@kde.org> | 2009-02-20 21:47:05 +0100 |
commit | 60d67149d24f86474d20fac636093092d7f37e7a (patch) | |
tree | 923ec1bea9d2dc3dd3283ca10dd10d81b8e2e664 /samples/ignore-branch.rules | |
parent | 7abbe81c3b2b10d144aee0be744258a352558e03 (diff) | |
download | svn2git-60d67149d24f86474d20fac636093092d7f37e7a.tar svn2git-60d67149d24f86474d20fac636093092d7f37e7a.tar.gz svn2git-60d67149d24f86474d20fac636093092d7f37e7a.tar.bz2 svn2git-60d67149d24f86474d20fac636093092d7f37e7a.tar.xz svn2git-60d67149d24f86474d20fac636093092d7f37e7a.zip |
Add a set of sample rules files.
All of these files are untested. I just wrote from memory.
Diffstat (limited to 'samples/ignore-branch.rules')
-rw-r--r-- | samples/ignore-branch.rules | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/samples/ignore-branch.rules b/samples/ignore-branch.rules new file mode 100644 index 0000000..28b4bf0 --- /dev/null +++ b/samples/ignore-branch.rules @@ -0,0 +1,31 @@ +# +# 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 + +# Ignore this branch: +# We ignore a branch by not telling svn-all-fast-export what to do +# with this path +# Note that rules are applied in order of appearance, so this rule +# must appear before the generic branch rule +match /branches/abandoned-work/ +end match + +match /branches/([^/]+)/ + repository myproject + branch \1 +end match + +# No tag processing |