Mercurial > hg
changeset 14600:17c16bcf6926
mq: catch correct exception when calling changelog.rev()
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sun, 12 Jun 2011 23:30:39 +0300 |
parents | b28004513977 |
children | 25c1f3ddd927 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Sun Jun 12 17:26:58 2011 +0300 +++ b/hgext/mq.py Sun Jun 12 23:30:39 2011 +0300 @@ -3136,7 +3136,7 @@ try: self.changelog.rev(mqtags[-1][0]) - except error.RepoLookupError: + except error.LookupError: self.ui.warn(_('mq status file refers to unknown node %s\n') % short(mqtags[-1][0])) return result