söndag 31 oktober 2021 kl. 12:16:19 UTC+1 skrev Adam Jones:

> Exactly and this is what I'm suggesting;  that this *correct *calculation 
> is made by determining the total of each individual files change data.  
> That could be done on the local system before submission and shown in this 
> box here.   It may be that the figure doesn't appear instantly as the 
> window renders and that it has to calculate enumerating through files in 
> the background once the window is up.  
>

I checked with some of the Subversion developers and it is not an easy 
thing to estimate or guess the size of a commit before it happens. To quote 
them you need to "deltify the files" and then sum up the changes (possibly 
adding overhead). Of course it can be done, but there are no APIs for this 
currently. Any changes should probably be done in the Subversion code first 
and then it it should be a relatively small change to call these APIs from 
TortoiseSVN. If you are interested to  help, please check 
https://subversion.apache.org/contributing.html.

Kind regards,
Daniel

 

>
> On Sun, 31 Oct 2021 at 08:01, Stefan via TortoiseSVN <
> [email protected]> wrote:
>
>> you can't just add up the file sizes to determine the data to be 
>> transferred. Because only changes are transferred, not whole files. 
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TortoiseSVN" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tortoisesvn/EGEkWK8icV4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tortoisesvn/e5e3cc73-96ad-4e67-9bcf-07e9cb8d2642n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tortoisesvn/e5e3cc73-96ad-4e67-9bcf-07e9cb8d2642n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
> Adam Jones
> Web Developer 
> www.adam-makes-websites.com | t: +44 (0)207 099 4515 
> <+44%2020%207099%204515>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/e28c4ef0-d97c-443c-a930-58be86041917n%40googlegroups.com.

Reply via email to