Add support for perforce nearest ancestor with .p4rc