support for non-sha1 file validators

Bug #720831 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Jelmer Vernooij

Bug Description

git, svn and mercurial don't use sha1 hashes of the file full text.

svn uses md5 sums and git uses sha1 checksums with a custom header.

it would be useful (and very beneficial to performance of foreign plugins) if bzr could support these other file validators.

Perhaps Tree.get_file_validator() which returns a tuple with a validator type and the contents?

Related branches

Vincent Ladeuil (vila)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
status: In Progress → Fix Released
milestone: none → 2.5b1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.