subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <>
Subject RE: svn_dirent_t::size: often not the "real" file size
Date Thu, 02 Feb 2017 09:38:46 GMT
The size reported is the size of the file in repository form. The size might
be different when a different line end encoding is used and/or when keyword
expansion is enabled. (Can be larger or smaller)


svn_client_statusX() reports both sizes when the file is a ‘normal’ working
copy file.


The list function works 100% repository side and we simply don’t know the
size the file would be in some working copy, as the size might be different
in other working copies.




From: Bijewitz, Volker [] 
Sent: donderdag 2 februari 2017 09:22
Subject: svn_dirent_t::size: often not the "real" file size


Hi SVN developers,


I am working on an TotalCommander plugin to browse SVN repositories. Now I
have the problem that on some repositories the filesize reported by
svn_client_list3 is different from the “real” file size of the working copy
– so comparing the SVN repo with the working copy is impossible. So here are
my questions on this issue:


*         Is there a way for a SVN client to detect the “real” filesize?

*         Does this behavior change with the server version? I have one
server where the filesize seems to match, another server where it does not

*         If there are servers that reports “real” file sizes: is there a
client functionality to detect if he is connected to a server with “good”


This may be not the correct way to do a compare, there would be better ways
using the SVN interface. But I am limited to the TC plugin interface. And in
this interface there is no “Compare with file” function. I have just to
deliver the correct properties, and TC itself does the operation in a way
the user has configured it. 




Volker Bijewitz


BAUM Systeme GmbH

Industriestr. 15

74909 Meckesheim



E-Mail : <> 

Internet: <> 



Geschäftsführer: Wolfgang Baum - Thomas Friehoff


Registergericht Mannheim, HRB 333567

Gerichtsstand: Heidelberg


VAT Nr: DE 143260354

IK 590820251



Commerzbank Heidelberg

IBAN: DE63 6724 0039 0193 5808 00


Postbank Karlsruhe

IBAN: DE40 6601 0075 0202 5007 54




View raw message