Match rules for svn-all-fast-export must end with a trailing /, except for recurse rules. I have an svn repository that needs to recurse on a branch and do different things with directories and files under the branch. Subdirectories should get placed in one git branch and files directly under the svn branch should be placed in a different git branch. For example, in svn:
/branches/20/subdir1
/branches/20/subdir2
/branches/20/file1
/branches/20/file2
subir1 and subdir2 should go to branch A in git and file1 and file2 should go to branch B in git.
Because of the way svn exports its date, only /branches/20 gets mentioned as changed for the commit that created it so I must have svn-all-fast-export match /branches/20 and recurse to see the files and subdirectories.
Because svn-all-fast-export requires a trailing slash on a match pattern, how can I match file names in this situation? I can match the subdirs just fine but currently svn-all-fast-export ignores the files because it can't recurse on a file and I don't know how to write a rule to match an ordinary file.