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

status information

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 16 Jun 2010 21:28:33 +0200

Hi,

Since the svn_wc_status3_t struct is now missing the entry member, a lot
of information previously available from a status call is missing.
I can work around a lot of that information using other svn API calls,
but there's at least two pieces of info I'd really have back in a status
call:

working size : the size of the files returned by 'svn st'. Since a
status call has to stat the files anyway, that information shouldn't be
expensive to get.

svn:needs-lock : I know this is a property and hasn't really anything to
do with the status of items. But it's a very important piece of
information. In TSVN, we use this to show a special overlay icon so
users can immediately see that they have to get a lock before trying to
edit the file. The 'readonly' flag on such files isn't of much help here
since most apps don't warn users about it until they try to save their
changes.
If it's too expensive to get the info whether the property is set,
having the info whether the readonly filesystem flag is set would also
work, and that info could be fetched with the file stat call that I
think has to be done anyway.

Please consider adding these info pieces to the svn_wc_status3_t struct.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-06-16 21:29:18 CEST

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.