Reputation: 101
We are using Tortoise SVN and have come to a problem when trying to commit modified files. When we try to commit the file svn does not recognise that it has been modified or added and displays “No files were changed or added since the last commit. There's nothing for TortoiseSVN to do here...” The only way we can now commit one file is to go out to the folder and select “check for modifications” and then click to commit. If the check for modifications is done in the folder then is again says there are no modifications. We have also tried to create a fresh working copy and commit from there, however the problem occurs here too. We have tried copying the svn file incase it was corrupt but this did not help. We use the SVN icons to show when a file has been modified – these icons are still working correctly. We have searched for an answer to why this has happened and how to fix. Please could anyone spread any light on the matter.
Upvotes: 10
Views: 9196
Reputation: 11
I had a similar but not identical problem. I know this stream is 4 years ago but for the record in case anyone else searches. (I am on tortoise SVN version 1.8.x).
My modified files would not commit - same symptom as presented in this stream. I right clicked on the project and selected "Clean Up". Thereafter I could commit my modified files.
Upvotes: 1
Reputation: 21
Open you project->Right click
Click on that Disconnect then Do the usual work like share project using SVN and commit it.
Upvotes: 0
Reputation: 61
Just in case anyone else finds their way here. I've just experienced this same problem with a repository that had been working fine for some time. The files were showing that they contained changes, but SVN Commit.. gave the message that there were no commits to make.
It was caused by a subfolder that I had copied into my repository. The subfolder had been created in an older version of tortoise. Once I selected the tortoise option to update it to the latest version, SVN Commit worked as expected.
Upvotes: 5
Reputation: 43585
From the FAQ:
If you have modified a file, but TortoiseSVN does not recognize that the file has been modified, please first check whether the file really differs from what you have in your working copy.
If you know for sure that the file has modifications and it still does not show up as modified in the commit dialog, make sure that
Subversion determines whether a file has changed with the following approach:
Upvotes: 5