mercurial/verify.py
changeset 6889 c0bd7d8b69ef
parent 6762 f67d1468ac50
child 6892 dab95717058d
equal deleted inserted replaced
6888:7c36a4fb05a3 6889:c0bd7d8b69ef
   190                     fl2 = repo.file(rp[0])
   190                     fl2 = repo.file(rp[0])
   191                     if not len(fl2):
   191                     if not len(fl2):
   192                         err(lr, _("empty or missing copy source revlog %s:%s")
   192                         err(lr, _("empty or missing copy source revlog %s:%s")
   193                             % (rp[0], short(rp[1])), f)
   193                             % (rp[0], short(rp[1])), f)
   194                     elif rp[1] == nullid:
   194                     elif rp[1] == nullid:
   195                         err(lr, _("copy source revision is nullid %s:%s")
   195                         warn(lr, _("copy source revision is nullid %s:%s")
   196                             % (rp[0], short(rp[1])), f)
   196                             % (rp[0], short(rp[1])), f)
   197                     else:
   197                     else:
   198                         rev = fl2.rev(rp[1])
   198                         rev = fl2.rev(rp[1])
   199             except Exception, inst:
   199             except Exception, inst:
   200                 exc(lr, _("checking rename of %s") % short(n), inst, f)
   200                 exc(lr, _("checking rename of %s") % short(n), inst, f)