Currently operates on Unix directory separator. Self explaining patch.
Fixes --report=hgblame for windows paths (.hg directory not found)
This resolves: https://pear.php.net/bugs/bug.php?id=19428
This project is a fork of the real PHP_CodeSniffer project here: https://github.com/squizlabs/PHP_CodeSniffer
You can open pull requests over there from now on and you probably want to fork that version to get all the latest code.
So I can't use this pull request because it merges in other changes from this fork. But your patch applied fine and is now committed here: squizlabs@b178b4f
I wasn't sure which to branch from - thanks and will do in the future.