36573f Adjust the relates_commit function, with debugging code and error handling

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Adjust the relates_commit function, with debugging code and error handling