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

Re: Wishlist for enhancements

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-02 20:01:11 CEST

On Thu, Apr 01, 2004 at 09:11:04PM +0200, SteveKing wrote:
> - I'd like to have the property svn:mime-type somewhere in the status
> struct. Since svn_client_status() reads them in anyway (to check if they
> changed) I could save a _lot_ of time. Also, this would help the user
> see without 'svn proplist, svn propget' if a file is binary or text.
> Maybe a simple boolean value "isText" would be enough.

Actually it doesn't necessarily read in all the properties. Similarly
to comparing the contents of a file first the size of the prop-base is
compared to the props file for the file/dir, then the date, and the
finally it will load the prop file and compare them.

In order to give you what you want we'd have to load the prop file for
every status. Which has the same ugliness that people have mentioned
about the contents of the file.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 20:02:00 2004

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.