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

Mistakes in autoprop tests?

From: Matthew Hambley <matthew_at_aether.demon.co.uk>
Date: 2003-10-12 11:50:42 CEST

I've been updating my "improved MIME type guessing" patch to take into
account the recent "autoprops" checkin and have come across an oddity. I
may have misunderstood how the test is supposed to work but it's worth
someone looking into. I'd propose a patch myself but for some reason there
seems to be some incompatibility between my copy of subversion (0.30.0)
and the collab.net repository so I can't check out clean source.

Anyway, the situation:

The function autoprops_test describes its second parameter (cmd) as being
an integer, 1 for import otherwise add. However all the test functions
call it with a string 'import' or 'add'. I've tweaked my local version of
the function to use the strings (which I prefer) and have found some errors
in the import code which previously was not being called at all.

(\/)atthew )-(ambley ---------------\ If something's worth doing it's worth
E-mail : matthew@aether.demon.co.uk  \ doing badly until you can learn to
Public key : C991137B                 \ do it well.
Web : http://www.aether.demon.co.uk/   \-----------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 12 11:52:06 2003

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.