Use `diff` command for TFS.
Review Request #7450 — Created June 25, 2015 and submitted
It turns out that
difflib's unified diff implementation, while seemingly okay,
chokes pretty badly with files that don't end in newlines, or start with
byte-order markers. After piling workaround on top of workaround, I've decided
to rip it out and just use the diffutilsdiffcommand.
Posted some changes containing previously problematic files. Saw that they all
worked.
- Commit:
-
aced203bc7f1bba6d801d7f631b89b108875933155ea683fbd627130f87ece50bc3142bf0e88365e
- Diff:
-
Revision 2 (+27 -13)
-
Tool: Pyflakes Processed Files: rbtools/clients/tfs.py Tool: PEP8 Style Checker Processed Files: rbtools/clients/tfs.py
- Commit:
-
55ea683fbd627130f87ece50bc3142bf0e88365ec990bc21a5e8a7e6755bd55b9deda5562cfedb18
- Diff:
-
Revision 3 (+28 -15)
Tool: Pyflakes Processed Files: rbtools/clients/tfs.py Tool: PEP8 Style Checker Processed Files: rbtools/clients/tfs.py