Extracted a mixin from hg-svn tests to reuse with git-svn tests.