normalize filespec exclude usage

Review Request #4348 - Created Nov. 2, 2016 and submitted

Information
Nick Howard (Twitter)
pants
3795, 4018
Reviewers
pants-reviews
benjyw, stuhood, yujiec
Sometimes we use exclude and sometimes we use excludes. It looks like there might be bugs do to that.

This patch ensures all of the glob and filespec related exclude names use exclude and not excludes.

Wrote a couple regression tests for the only bug I saw remaining and made them pass.

Yujie Chen
Yujie Chen
Nick Howard (Twitter)
Yi Cheng
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as https://github.com/pantsbuild/pants/commit/2b6e0639465a95918c53f95910b1961245252804
Loading...