Reputation: 17418
I am using VisualSVN and Visual Studio 2010 and have recently installed the latest TortoiseSVN (TortoiseSVN 1.7.1, Build 22161 - 64 Bit , 2011/10/21 22:51:59). I tried to commit my changes but get:
No files were changed or added since the last commit ...
This is not true. Is there anything I can do about that?
Upvotes: 2
Views: 2612
Reputation: 25210
VisualSVN will indicate that you're in a working copy checked out from Subversion by placing green ticks beside unchanged files in the Solution Explorer. If you don't see them, something is wrong.
Be sure that you have version 1.7 or later of both VisualSVN and Tortoise. The file format changed between version 1.6 and 1.7; you'll also need to upgrade the working copy on disk by right-clicking on the working folder in Windows Explorer.
If you are working in a working copy --
Make sure you've actually saved the changes (i.e. Visual Studio doesn't have a "*" next to the filename in the tab, and the icon next to the file in the Solution Explorer is a red box rather than a red tick
If you've created new files, make sure you choose "Add" (right-click in Visual Studio, choose Subversion | Add) so Subversion knows to control that file
Upvotes: 4
Reputation: 151
For me a Right-click - 'TortoiseSVN' - 'Clean up...' did the trick
Upvotes: 2
Reputation: 308998
Sounds like your working copy wasn't checked out of Subversion. You can tell by looking for .svn
folders: if you don't see them, your working copy isn't from Subversion.
Next thing to check is the icons on every file. Tortoise SVN will show a green check mark next to every file that's committed and versioned properly. A question mark means that you have to add the file to Subversion by right clicking on it and navigating to "Tortoise SVN->Add".
Upvotes: 0