Mercurial > kallithea
changeset 3554:189ce0d7b7c6 beta
hg: improve 'Such branch %s does not exists' message
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 12 Mar 2013 13:50:06 +0100 |
parents | 72c8917108ee |
children | ff0646d1a1b4 |
files | rhodecode/lib/vcs/backends/hg/repository.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/hg/repository.py Tue Mar 19 22:50:28 2013 +0100 +++ b/rhodecode/lib/vcs/backends/hg/repository.py Tue Mar 12 13:50:06 2013 +0100 @@ -457,11 +457,11 @@ end_pos = self.revisions.index(end_raw_id) if end else None if None not in [start, end] and start_pos > end_pos: - raise RepositoryError("start revision '%s' cannot be " + raise RepositoryError("Start revision '%s' cannot be " "after end revision '%s'" % (start, end)) if branch_name and branch_name not in self.branches.keys(): - raise BranchDoesNotExistError('Such branch %s does not exists for' + raise BranchDoesNotExistError('Branch %s not found in' ' this repository' % branch_name) if end_pos is not None: end_pos += 1