[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: checksum fun take 2:

From: <rooneg_at_electricjellyfish.net>
Date: 2003-01-29 00:53:15 CET

On Tuesday, January 28, 2003, at 06:44 PM, Branko Čibej wrote:

 This is on Unix, right? I suspect you still have the old, bad
 text-base,
 which had CRLF line endings despite the fact that win-tests.py has
 eol-style native. The line endings should be fixed in the repository
 now, but the text base was probably broken since eol-style was set on
 that file.

i thought it might be something like that...

 Does your win-tests.py by any chance contain CRLF line endings? If it
 does, can you dos2unix is and recompute the MD5? I suspect you'll get
 the expected checksum. Aargh, what a pain.

unfortunately, that doesn't seem to be the case... the text base and
working version both seem to have LF endings (this is unix... mac os x
specifically).

hah! ok, it's that error, but reversed. if i do this:

$ perl -pi -e 's/\n/\r\n/g' win-tests.py

thus giving it dos line endings the checksum matches the expected md5.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:23:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.