ScottDuckworth/python-anyvcs

VCSRepo.log() raises CalledProcessError if revrange contains non-existent rev

Closed this issue · 1 comments

VCSRepo.log() raises CalledProcessError if revrange contains non-existent rev

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.