In Subversion, is there a way we can avoid the .mak file being commited to the repo though its modified in the developer workspace?

vijayboomi's picture
vijayboomi asked on August 4, 2011 - 1:04pm | Replies (1).

In SVN , a user is forced to "Checkout" the entire directory containing a source file even though he wants to modify only one file.

Assume a VB project containing .frm, .bas and .frx & .mak files. When user checks out the entire project and makes changes to just .bas file , and uses the VB project properties to configure the build, the .mak file invariably gets updated and becomes a checked out item. When user tries to commit his changes..both *.bas & .mak files get commited to the repository.

Suggestions..anyone ???

1 Answer

jackchu's picture
jackchu replied on August 12, 2011 - 1:26am.

If you use TortoiseSVN subversion client, the commit pop-up screen allow you to check/uncheck what folders/files to commit. You can simply uncheck the .mak file.

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.