Handle Windows-style line endings in the TFSClient.

Review Request #14411 — Created April 29, 2025 and submitted

Information

RBTools
release-5.x

Reviewers

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 and rbt list-repo-types in a TFS repository on
    a Windows machine.
Summary ID
Handle Windows-style line endings in the TFSClient.
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.
9c95d72553508bde9055cf4720f63cf51fb494cf
Description From Last Updated

In the description, it should probably be \r\n.

chipx86chipx86
chipx86
  1. 
      
  2. Show all issues

    In the description, it should probably be \r\n.

  3. 
      
maubin
david
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.x (5c83ce0)