Reputation: 1768
I have one specific file (Web Forms Master Page) in my Visual Studio 2013 project that gets incorrectly marked as "New" when it is modified. It is not new, it already exists in the project and Subversion repository. I use AnkhSVN as Source Control Provider.
If I modify file outside Visual Studio (say, in Notepad++) it is displayed as modified in Windows Explorer (I also have Tortoise SVN installed) and I can commit my changes using TortoiseSVN.
I also tried checking out whole project from repository to another local folder and the problem remains.
How can this be fixed? I found similar post on SO (AnkhSVN keeps marking .designer.cs files as newly added) but it has no answer.
Upvotes: 1
Views: 652
Reputation: 366
I'm wondering if it's a case changed issue possibly? I know Subversion is case sensitive (though windows isn't), not sure about ankhsvn - but has the case been changed in any of the filenames that are showing as new instead of modified?
If so, using the command line svn rename
to rename the file to what ankhsvn expects it to be should sort it? You can't use windows to rename it as it's not case sensitive so won't actually record a change, whereas svn rename should do.
Upvotes: 1