VCSRepo.log() raises CalledProcessError if revrange contains non-existent rev
Closed this issue · 1 comments
ScottDuckworth commented
VCSRepo.log() raises CalledProcessError if revrange contains non-existent rev
ScottDuckworth commented
Checking if a rev exists would require another command to be run and would slow down the API. Instead, use design by contract and expect that the caller ensures that the revs exist.
d49b45a adds a contains method to check if a rev is in a repo.