Show More
@@ -445,7 +445,12 b' class MercurialRepository(BaseRepository' | |||
|
445 | 445 | if isinstance(commit_id, unicode): |
|
446 | 446 | commit_id = safe_str(commit_id) |
|
447 | 447 | |
|
448 | try: | |
|
448 | 449 | raw_id, idx = self._remote.lookup(commit_id, both=True) |
|
450 | except CommitDoesNotExistError: | |
|
451 | msg = "Commit %s does not exist for %s" % ( | |
|
452 | commit_id, self) | |
|
453 | raise CommitDoesNotExistError(msg) | |
|
449 | 454 | |
|
450 | 455 | return MercurialCommit(self, raw_id, idx, pre_load=pre_load) |
|
451 | 456 |
General Comments 0
You need to be logged in to leave comments.
Login now