Summary:
I have been wondering how hg behaves with filenode collision. So I added some
tricky-looking tests about it. It actually shows the existing logic is
problematic :(
Reviewed By: DurhamG
Differential Revision: D13011554
fbshipit-source-id: fffb026e05adc8d8de4a1e5692bbee57293cce4e