##// END OF EJS Templates
mq: catch correct exception when calling changelog.rev()
Idan Kamara -
r14600:17c16bcf default
parent child Browse files
Show More
@@ -3136,7 +3136,7 b' def reposetup(ui, repo):'
3136
3136
3137 try:
3137 try:
3138 self.changelog.rev(mqtags[-1][0])
3138 self.changelog.rev(mqtags[-1][0])
3139 except error.RepoLookupError:
3139 except error.LookupError:
3140 self.ui.warn(_('mq status file refers to unknown node %s\n')
3140 self.ui.warn(_('mq status file refers to unknown node %s\n')
3141 % short(mqtags[-1][0]))
3141 % short(mqtags[-1][0]))
3142 return result
3142 return result
General Comments 0
You need to be logged in to leave comments. Login now