Re: MD5 backward compat code?
On 12/9/05, Erik Huelsmann <firstname.lastname@example.org> wrote:
> In in libsvn_wc/adm_crawler.c:svn_wc_transmit_text_deltas() the MD5
> checksum is checked against a hex representation, but as a fallback
> for pre-Jan 2003 WCs it also compares against a base64 encoded md5.
> The checksum-check in libsvn_wc/questions.c:compare_and_verify() -
> which also may need to compare 'old' checksums - doesn't have this
> I think this is strange, especially since compare_and_verify() is used
> by svn_wc_text_modified_p, which is typically called before a commit
> is started - and thus before svn_wc_transmit_text_deltas() is called.
> I'd like to remove the fallback from svn_wc_transmit_text_deltas(),
> also because it is a backward compat to pre-1.0 working copies. I
> think the time to update those to post 1.0-working copies has elapsed
> (Being able to eliminate the fallback would also greatly simplify a
> change I have in mind for svn_wc_translate_text_deltas()...)
+1, please do it.
Received on Fri Dec 9 13:08:01 2005
This is an archived mail posted to the Subversion Dev