Hi Skip,
I made a script that runs through a subversion
sandbox and checks whether all md5sums are correct.
Please run that on your working copy to see whether
there are still any inconsistent files.
Regards,
Martin
import os, xml.dom.minidom, md5
def checkdir(arg, path, files):
if not path.endswith(".svn"):
return
# avoid further traversal
files[:] = []
entries = xml.dom.minidom.parse(os.path.join(path, "entries"))
for e in entries.getElementsByTagName("entry"):
if e.getAttribute("kind") != "file":
continue
name = e.getAttribute("name")+".svn-base"
digest = md5.md5()
digest.update(open(os.path.join(path, "text-base", name)).read())
if digest.hexdigest() != e.getAttribute("checksum"):
print "Checksum difference in", path, name
os.path.walk(".", checkdir, None)
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com