Fix git-svn and git-p4 to process diffs as byte strings.
Review Request #7291 — Created May 7, 2015 and submitted — Latest diff uploaded
We had previously changed the git diff processing to do everything as bytes,
but themake_svn_diff
andmake_perforce_diff
methods weren't updated, and
as a result we were coercing bytes to strings, and failing if there were any
non-ASCII characters. This change updates those methods to do everything as
bytes.
Ran unit tests.