All pastes #2103499 Raw Edit

Miscellany

public text v1 · immutable
#2103499 ·published 2012-01-16 12:19 UTC
rendered paste body
diff --git a/master/buildbot/changes/svnpoller.py b/master/buildbot/changes/svnpoller.py
index 93c14bb..0d4637d 100644
--- a/master/buildbot/changes/svnpoller.py
+++ b/master/buildbot/changes/svnpoller.py
@@ -38,7 +38,7 @@ def split_file_branches(path):
     pieces = path.split('/')
     if pieces[0] == 'trunk':
         return (None, '/'.join(pieces[1:]))
-    elif pieces[0] == 'branches':
+    elif pieces[0] == 'branches' or pieces[0] == 'tags':
         return ('/'.join(pieces[0:2]), '/'.join(pieces[2:]))
     else:
         return None