Mon Apr 30 17:22:00 UTC 2007

svn:ignore for Visual Studio and Codegear Turbo C++

Posted in Codegear Builder | Turbo C++, SubVersion at 05:22 PM by mohits

I have just gone through setting up Subversion and was looking at which directories and files need to be ignored by the client when it uploads the project. I expect that I shall need to set these properties for every project that I work with, so I decided to put up the list here so that it’s easy to find it the next time I need it. If it helps you, that’s a bonus :)

If you are using TortoiseSVN, you can set these properties by right clicking on the name of your project sandbox directory and then following the TortoiseSVN>Properties. In the form that pops up, click on “Add” and for property name, select “svn:ignore” from the drop down list. Then, in the memo field, just copy and paste the set of files to ignore. Check “Apply property recursively” to apply it to all directories.

Visual Studio 2005

*.obj *.exe *.pdb *.ncb *.res *.pch *.idb

In addition, you can also ask it to ignore the directories in which it creates the executable code. Since I’m using Visual Studio for Windows Mobile development, this will usually be a directory such as “Pocket PC 2003 (ARMV4)” which will have files that are created during the build process. When you do your first “Commit” with these directories there, just right click on each of the directory names in the TortoiseSVN list and ask it to ignore it.

Turbo C++ Professional

*.obj *.~* *.dsk *.d *.local *.bcc32pch *.res *.tds *.exe *.bbc *.bbd *.bbl *.bbp

In addition, you can also ask it to ignore the directories in which it creates the executable code. Since I’m using Turbo C++ for Windows PC development, this will usually be a directory such as “Debug_build” and “Release_build” which will have files that are created during the build process. Also, you can ask it to ignore the “__history” directory if you don’t care about the revisions that Turbo C++ maintains. When you do your first “Commit” with these directories there, just right click on each of these directory names in the TortoiseSVN list and ask it to ignore it.

Comments »

  1. Nomi said,

    August 8th, 2008 at 07:43 PM

    Aslam-o-Aleikum Its new user of .net and i wana make . my own notepad through the visual studio.net so please w’ll u help me and tell me how can i make this ?

  2. Mohit said,

    August 9th, 2008 at 02:02 PM

    Hi, there are some tutorials on the net. Maybe that would help. I don’t use Visual Studio for desktop programming.

Leave a Comment