##// END OF EJS Templates
verify: use some intermediate variables instead of a multi-liner...
marmoute -
r48148:9305824d default
parent child Browse files
Show More
@@ -211,10 +211,9 b' class verifier(object):'
211 if self.errors:
211 if self.errors:
212 ui.warn(_(b"%d integrity errors encountered!\n") % self.errors)
212 ui.warn(_(b"%d integrity errors encountered!\n") % self.errors)
213 if self.badrevs:
213 if self.badrevs:
214 ui.warn(
214 msg = _(b"(first damaged changeset appears to be %d)\n")
215 _(b"(first damaged changeset appears to be %d)\n")
215 msg %= min(self.badrevs)
216 % min(self.badrevs)
216 ui.warn(msg)
217 )
218 return 1
217 return 1
219 return 0
218 return 0
220
219
General Comments 0
You need to be logged in to leave comments. Login now