Show More
@@ -457,11 +457,11 b' class MercurialRepository(BaseRepository' | |||||
457 | end_pos = self.revisions.index(end_raw_id) if end else None |
|
457 | end_pos = self.revisions.index(end_raw_id) if end else None | |
458 |
|
458 | |||
459 | if None not in [start, end] and start_pos > end_pos: |
|
459 | if None not in [start, end] and start_pos > end_pos: | |
460 |
raise RepositoryError(" |
|
460 | raise RepositoryError("Start revision '%s' cannot be " | |
461 | "after end revision '%s'" % (start, end)) |
|
461 | "after end revision '%s'" % (start, end)) | |
462 |
|
462 | |||
463 | if branch_name and branch_name not in self.branches.keys(): |
|
463 | if branch_name and branch_name not in self.branches.keys(): | |
464 |
raise BranchDoesNotExistError(' |
|
464 | raise BranchDoesNotExistError('Branch %s not found in' | |
465 | ' this repository' % branch_name) |
|
465 | ' this repository' % branch_name) | |
466 | if end_pos is not None: |
|
466 | if end_pos is not None: | |
467 | end_pos += 1 |
|
467 | end_pos += 1 |
General Comments 0
You need to be logged in to leave comments.
Login now