# # Declare the repositories we know about: # create repository scummvm end repository create repository websites end repository create repository tools end repository create repository legacy end repository # Declare the rules # Note: rules must end in a slash # match /scummvm/branch-0-13-0/ end match match /(docs|engine-data|scummex|residual)/trunk/ repository legacy branch refs/heads/\1/master end match match /(docs|engine-data|scummex|residual)/(tags|branches)/([^/]+)/ repository legacy branch refs/heads/\1/\3 end match match /engine-data/ repository legacy branch master end match match /vendor/fonts/ repository scummvm branch refs/heads/fonts end match match /vendor/ repository legacy branch refs/heads/vendor/master end match match /(scummvm|tools)/trunk/ repository \1 branch master end match match /web/trunk/ repository websites branch master end match match /(buildbot|media|wiki)/trunk/ repository websites branch refs/heads/\1/master end match match /(forum|doxygen|web-planet|buildbot)/ repository websites branch refs/heads/\1/master end match match /(forum|media|wiki|web)/(branches|tags)/([^/]+)/ repository websites branch refs/heads/\1/\3 end match # Note how we can use regexp to capture the repository name match /([^/]+)/(branches|tags)/([^/]+)/ repository \1 branch refs/heads/\3 end match # No tag processing