Lines Matching refs:hash
371 if not hasattr(a, "hash"):
374 ifile = open(os.path.join(basedir, a.hash),
418 if not hasattr(a, "hash"):
421 old = orepo.file(a.hash)
423 f.get_dir_path(), a.hash)
456 if not hasattr(a, "hash"):
459 old = orepo.file(a.hash)
460 new = nrepo.file(a.hash)
491 if not hasattr(a, "hash"):
494 old = orepo.file(a.hash)
495 new = nrepo.file(a.hash)
762 if not hasattr(a, "hash"):
765 ifile = open(os.path.join(basedir, a.hash),
1208 multi-hash support, interoperating with repositories without
1209 multi-hash support."""
1224 self.assertTrue("pkg.content-hash=file:{0}".format(hash_alg)
1227 # Now stop and start the repository as multi-hash aware, and
1231 self.dcs[3].set_debug_feature("hash=sha1+{0}".format(hash_alg))
1235 self.assertTrue("pkg.content-hash=file:{0}".format(hash_alg)
1239 # can be received into a repository that is not multi-hash aware
1244 self.assertTrue("pkg.content-hash=file:{0}".format(hash_alg)
1248 self.assertTrue("pkg.content-hash=file:{0}".format(hash_alg)
1251 # Ensure that we can recv multi-hash packages into p5p files
1253 "multi-hash-{0}.p5p".format(hash_alg))
1256 self.assertTrue("pkg.content-hash=file:{0}".format(hash_alg)
1263 self.dcs[3].unset_debug_feature("hash=sha1+{0}".format(hash_alg))
1473 # 'pkg.content-hash' values contains signed and unsigned value,
1475 ocontenthash = ract.attrs["pkg.content-hash"][0]
1488 "pkg.content-hash=", "pkg.content-hash=42.")
1507 tact.attrs["pkg.content-hash"][0])
1520 tact.attrs["pkg.content-hash"][0])