Require GNU Diff for several SCMClients.

Review Request #12607 — Created Sept. 15, 2022 and submitted

Information

RBTools
release-4.x

Reviewers

This updates Perforce, ClearCase, SOS, Subversion, and TFS to require
GNU Diff. These will be checked when a command starts up or when Python
code calls diff() on the client.

For now, we're explicitly requiring GNU Diff. Most of these will change
to allowing any tool, once everything has been updated appropriately.

This doesn't update the clients to use the new diff tool support yet. It
just sets the requirements.

check_gnu_diff() is now deprecated, and will be removed in RBTools 5.

Unit tests pass.

Tested a couple of these clients in test repositories, with and without
GNU Diff in the path. Verified that the commands failed if not found.

Summary ID
Require GNU Diff for several SCMClients.
This updates Perforce, ClearCase, SOS, Subversion, and TFS to require GNU Diff. These will be checked when a command starts up or when Python code calls `diff()` on the client. For now, we're explicitly requiring GNU Diff. Most of these will change to allowing any tool, once everything has been updated appropriately. This doesn't update the clients to use the new diff tool support yet. It just sets the requirements.
7f0ca5fc284f5443e8faa1eb08f97b2c239d93e6
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (43fbb0e)