开发者

My Subversion keeps excluding my files

开发者 https://www.devze.com 2022-12-08 15:46 出处:网络
Every time I checko开发者_JS百科ut my site from my repository. I notice most of my files that I have are excluded. So I have to go hunt down every file and include it in the project. This is very anno

Every time I checko开发者_JS百科ut my site from my repository. I notice most of my files that I have are excluded. So I have to go hunt down every file and include it in the project. This is very annoying.

I am using Subversion and tortiseSVN for windows.

What do I need to do to stop this?


Not sure I understand correctly, but after you have added the files to your project, did you commit the project file?

If not, the files will still be excluded when you checkout the project the next time.


Have you checked your "Global ignore patterns" in the settings section?

Use the right click menu to get to settings:

alt text http://img3.imageshack.us/img3/2452/rightclicksvn.png

You'll see the "Global Ignore Patterns" field in the middle and it will have a long list of ignored file types. Copy and past it into notepad and see if your problem file types are in this list.

alt text http://img176.imageshack.us/img176/2521/globalignorepattern.png

Alternatively

The other meaning I take from your question could be that when you checkout the code and a new file has been added by someone else, the file appears on your local drive, but not in Visual Studio.

In that case, you probably don't have your project file under source control. It contains the master list of which files should be contain in a project and if it isn't kept in source control, then when another developer adds new files, they will be copied to other team members' machines, but they won't be added to the VS project.

0

精彩评论

暂无评论...
验证码 换一张
取 消