##// END OF EJS Templates
verify: use some intermediate variables instead of a multi-liner...
marmoute -
r48157:1a0f177b default
parent child Browse files
Show More
@@ -554,15 +554,8 b' class verifier(object):'
554 self._warn(WARN_UNKNOWN_COPY_SOURCE % (f, ctx))
554 self._warn(WARN_UNKNOWN_COPY_SOURCE % (f, ctx))
555 fl2 = repo.file(rp[0])
555 fl2 = repo.file(rp[0])
556 if not len(fl2):
556 if not len(fl2):
557 self._err(
557 m = _(b"empty or missing copy source revlog %s:%s")
558 lr,
558 self._err(lr, m % (rp[0], short(rp[1])), f)
559 _(
560 b"empty or missing copy source revlog "
561 b"%s:%s"
562 )
563 % (rp[0], short(rp[1])),
564 f,
565 )
566 elif rp[1] == self.repo.nullid:
559 elif rp[1] == self.repo.nullid:
567 ui.note(
560 ui.note(
568 _(
561 _(
General Comments 0
You need to be logged in to leave comments. Login now