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

propedit on svn:mime-type

From: Alex Waugh <alex_at_alexwaugh.com>
Date: 2003-03-03 22:32:22 CET

Hi

If you do a svn propedit svn:mime-type on a file then it is quite likely
that after editing there will be a trailing newline. However, the
validation on the mimetype will reject the property if the final
character isn't alphanumeric. Wouldn't it be better if any trailing
(and leading?) whitespace was stripped before the validation?

If someone points me to the best place to do the stripping[1] then I
might be tempted to produce a patch.

Alex

[1] No, not that kind... ;-)

-- 
Alex Waugh                  alex@alexwaugh.com
RISC OS Software from http://www.alexwaugh.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 3 22:29:36 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.