“No files were changed or added since the last commit. There's nothing for TortoiseSVN to do here...”
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 stil开发者_如何学Gol 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.
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
- the file 'last modification' date has changed (some tools like hex editors like to reset that time)
- if the svn:eol-style property is set and the changes are only to newlines, the file won't show up as modified because for Subversion it hasn't changed
Subversion determines whether a file has changed with the following approach:
- has the 'last modification' date and/or the file size changed?
- if not: file is not modified
- if yes: compare file content with the BASE file
- stop at the first byte that differs, mark the file as modified
- if no byte differs regarding to BASE, mark the file as not-modified
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.
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.
Open you project->Right click
Click on that Disconnect then Do the usual work like share project using SVN and commit it.
精彩评论