Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/verify.py @ 3746:a095c13c173c
merge with upstream
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 01 Dec 2006 13:11:09 +0100 |
parents | d626fc9e3985 |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -179,6 +179,18 @@ def verify(repo): (f, short(n), short(p1))) nodes[n] = 1 + # check renames + try: + rp = fl.renamed(n) + if rp: + fl2 = repo.file(rp[0]) + rev = fl2.rev(rp[1]) + except KeyboardInterrupt: + repo.ui.warn(_("interrupted")) + raise + except Exception, inst: + err(_("checking rename on file %s %s: %s") % (f, short(n), inst)) + # cross-check for node in filenodes[f]: err(_("node %s in manifests not in %s") % (hex(node), f))