mercurial/verify.py
changeset 7004 90227c42b5f6
parent 6900 def492d1b592
child 7141 8d1bdaf842de
equal deleted inserted replaced
7003:2365c6d4c330 7004:90227c42b5f6
   205                     fl2 = repo.file(rp[0])
   205                     fl2 = repo.file(rp[0])
   206                     if not len(fl2):
   206                     if not len(fl2):
   207                         err(lr, _("empty or missing copy source revlog %s:%s")
   207                         err(lr, _("empty or missing copy source revlog %s:%s")
   208                             % (rp[0], short(rp[1])), f)
   208                             % (rp[0], short(rp[1])), f)
   209                     elif rp[1] == nullid:
   209                     elif rp[1] == nullid:
   210                         warn(lr, _("copy source revision is nullid %s:%s")
   210                         warn(_("warning: %s@%s: copy source revision is nullid %s:%s")
   211                             % (rp[0], short(rp[1])), f)
   211                             % (f, lr, rp[0], short(rp[1])))
   212                     else:
   212                     else:
   213                         rev = fl2.rev(rp[1])
   213                         rev = fl2.rev(rp[1])
   214             except Exception, inst:
   214             except Exception, inst:
   215                 exc(lr, _("checking rename of %s") % short(n), inst, f)
   215                 exc(lr, _("checking rename of %s") % short(n), inst, f)
   216 
   216