How hard and how useful would it be to list the combined file size 303 files (37kBytes) selected, 305 files (219kBytes) total (i.e. show the file size and leave the guessing how big the commit might be to the user)? It would at least give a hint whether really large files are added/selected/committed, like compiled binaries or big pictures. (Some projects I work with store 200MBytes+ disk images in SVN and then you want to know in advance whether that file is checked or not ..)
Hartmut Von: Daniel Sahlberg via TortoiseSVN <[email protected]> Gesendet: Montag, 1. November 2021 09:33 An: TortoiseSVN <[email protected]> Betreff: Re: Feature request: show the amount of data to be submitted on the commit window 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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Ftortoisesvn%2FEGEkWK8icV4%2Funsubscribe&data=04%7C01%7Chartmut.niemann%40siemens.com%7C7fefe6e9335245b5852908d99d1247c0%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637713524832682225%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=i3MgL2ZpggkrHFDkeDtZMOaiXeaIBwHiyNWKLhIi5ZM%3D&reserved=0>. 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftortoisesvn%2Fe5e3cc73-96ad-4e67-9bcf-07e9cb8d2642n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Chartmut.niemann%40siemens.com%7C7fefe6e9335245b5852908d99d1247c0%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637713524832682225%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=HmuX08s%2B3RxfyOjGMpF7QSaIKZfsV8NgDzeSUMKGKfk%3D&reserved=0>. -- Adam Jones Web Developer www.adam-makes-websites.com<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adam-makes-websites.com%2F&data=04%7C01%7Chartmut.niemann%40siemens.com%7C7fefe6e9335245b5852908d99d1247c0%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637713524832692179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=J82Ys4b4awxrpARlNSmolrKljx3kGVsAkG3wLWvpjO8%3D&reserved=0> | t: +44 (0)207 099 4515<tel:+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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/e28c4ef0-d97c-443c-a930-58be86041917n%40googlegroups.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftortoisesvn%2Fe28c4ef0-d97c-443c-a930-58be86041917n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Chartmut.niemann%40siemens.com%7C7fefe6e9335245b5852908d99d1247c0%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637713524832692179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p%2By8en7r4dyVO6xQleuP2%2FUJAbEnUYQMGashda3TQMk%3D&reserved=0>. -- 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/PR3PR10MB42408362A1EDDD4625071990FC8C9%40PR3PR10MB4240.EURPRD10.PROD.OUTLOOK.COM.
