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

Re: Show file sizes in "Show Log" window and similar

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 29 Jun 2010 13:27:32 -0400

On Tue, Jun 29, 2010 at 13:18, Greywolf <greywolf_at_starwolf.com> wrote:
> Showing file sizes somewhere in metadata.  The problem is agreeing what the name
> of the metadata field will be.
> Now you COULD do an approximation as a pre-commit hook by simply doing
> effectively a 'ls -l' or equivalent and parsing it out, and then apply that as a
> property at checkin time.

As noted by Konstantin, different environments will have different EOL
markers if you set svn:eol-style to native. \r vs. \r\n (vs. other?).
This will result in different sizes reported for the same file with
the same number of characters otherwise. And do you count expanded
keywords or not? If you don't intend to, then ls -l don't provide the
correct answer.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-29 19:28:12 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.