Handle Windows-style line endings in the TFSClient.
Review Request #14411 — Created April 29, 2025 and submitted — Latest diff uploaded
There's one area where our TFExeWrapper fails to parse the output from
"tf vc history" due to not properly handling Windows-style line endings
(\r\n
). This change fixes that and adds a unit test. The rest of the
TFSClient code was audited to make sure there weren't any other problems
with line endings.
- Ran unit tests.
- Tested
rbt post
andrbt list-repo-types
in a TFS repository on
a Windows machine.
rbtools/clients/tfs.py |
---|
rbtools/clients/tests/test_tfs.py |
---|