Normalize All The Path Cache Keys

Summary:
Equivalent paths do not always hash equally. When used as
hash table keys, Paths need to be normalized and either absolute or
relative to the same directory. This change normalizes the Paths used
as hash keys in the DefaultFileHashCache to ensure the cache works as
intended.

Test Plan:
0) buckd
1) buck test --all
2) add a failing assertion to a test
3) buck test --all
4) ensure that step 3 fails
1 file changed
tree: 7c5701f3befddcf54ffb62d4815bcf80f073b80a
  1. .buckconfig
  2. .classpath
  3. .gitignore
  4. .idea/
  5. .project
  6. DEFS
  7. LICENSE
  8. README.md
  9. bin/
  10. buck.iml
  11. build.xml
  12. config/
  13. docs/
  14. lib/
  15. plugin/
  16. pmd/
  17. scripts/
  18. src/
  19. test/
  20. testdata/
  21. third-party/
README.md

Buck

Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.

Installation

To build Buck, run the following:

git clone git@github.com:facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0