Bug: Overlay icon show modified but file/properties are the same

38 views
Skip to first unread message

Daniel Camarena Y Volk

unread,
Mar 10, 2022, 7:01:37 AM3/10/22
to TortoiseSVN
Hi folks, 

a file is marked as modified in the icon overlays, even if the content is 100% the same, properties didn't change and checksum is the same. Details below, here my question/suggestion: 
Question: 
- How is the difference of the overlay icon calculated? It can't be the timestamp only nor the checksum only. 

Suggestion: 
- Choose the svn file status overlay icon only based on checksum

Detail:

TortoiseSVN_01_ModifiedWithoutModification.PNG
After a revert the svn status is ok. Checksum is the same: 
TortoiseSVN_02_AfterRevert.PNG
Both files in file explorer:
TortoiseSVN_02_BothInFileExplorer.PNG
A cleanup nor nothing I've tried showed the status (not modified) correctly. As background info: When VS2019 compiles and puts files to the output directory this happens. 

The version I'm using: 
TortoiseSVN_03_Version.PNG

Daniel Sahlberg

unread,
Mar 10, 2022, 7:40:21 AM3/10/22
to TortoiseSVN
torsdag 10 mars 2022 kl. 13:01:37 UTC+1 skrev dan...@camarena.de:
Hi folks, 

a file is marked as modified in the icon overlays, even if the content is 100% the same, properties didn't change and checksum is the same. Details below, here my question/suggestion: 
Question: 
- How is the difference of the overlay icon calculated? It can't be the timestamp only nor the checksum only. 

Suggestion: 
- Choose the svn file status overlay icon only based on checksum

Detail:

TortoiseSVN_01_ModifiedWithoutModification.PNG
After a revert the svn status is ok. Checksum is the same: 
TortoiseSVN_02_AfterRevert.PNG
Both files in file explorer:
TortoiseSVN_02_BothInFileExplorer.PNG

Did  you compare these two files to make sure there wasn't a difference?

I'm currently on Win11 and I don't have access to the property page in explorer, but if I do `svn info` on the command line, I don't get an updated checksum even if the file is actually modified. I'm guessing the checksum is the checksum of the "base" file.

Kind regards,
Daniel

Daniel Camarena Y Volk

unread,
Mar 10, 2022, 7:58:34 AM3/10/22
to TortoiseSVN
Thank you Daniel, 

shame on me. Of course there is a difference. Beyond Compare showed it but I was only focusing on the content not on format: 
Unbenannt.PNG

Thanks, Daniel

 
Reply all
Reply to author
Forward
0 new messages