##// END OF EJS Templates
mq: explicit exit code when patch is already on top
Gilles Moris -
r11439:778377be stable
parent child Browse files
Show More
@@ -1017,7 +1017,7 b' class queue(object):'
1017 _("cannot push to a previous patch: %s") % patch)
1017 _("cannot push to a previous patch: %s") % patch)
1018 self.ui.warn(
1018 self.ui.warn(
1019 _('qpush: %s is already at the top\n') % patch)
1019 _('qpush: %s is already at the top\n') % patch)
1020 return
1020 return 0
1021 pushable, reason = self.pushable(patch)
1021 pushable, reason = self.pushable(patch)
1022 if not pushable:
1022 if not pushable:
1023 if reason:
1023 if reason:
General Comments 0
You need to be logged in to leave comments. Login now