##// END OF EJS Templates
clfilter: mq should not warn about filtered mq patches...
Pierre-Yves David -
r18011:4908197d default
parent child Browse files
Show More
@@ -3453,7 +3453,8 b' def reposetup(ui, repo):'
3453 mqtags = [(patch.node, patch.name) for patch in q.applied]
3453 mqtags = [(patch.node, patch.name) for patch in q.applied]
3454
3454
3455 try:
3455 try:
3456 self.changelog.rev(mqtags[-1][0])
3456 # for now ignore filtering business
3457 self.unfiltered().changelog.rev(mqtags[-1][0])
3457 except error.LookupError:
3458 except error.LookupError:
3458 self.ui.warn(_('mq status file refers to unknown node %s\n')
3459 self.ui.warn(_('mq status file refers to unknown node %s\n')
3459 % short(mqtags[-1][0]))
3460 % short(mqtags[-1][0]))
@@ -3483,7 +3484,7 b' def reposetup(ui, repo):'
3483 else:
3484 else:
3484 qbasenode = q.applied[0].node
3485 qbasenode = q.applied[0].node
3485 try:
3486 try:
3486 qbase = cl.rev(qbasenode)
3487 qbase = self.unfiltered().changelog.rev(qbasenode)
3487 except error.LookupError:
3488 except error.LookupError:
3488 self.ui.warn(_('mq status file refers to unknown node %s\n')
3489 self.ui.warn(_('mq status file refers to unknown node %s\n')
3489 % short(qbasenode))
3490 % short(qbasenode))
General Comments 0
You need to be logged in to leave comments. Login now