Saturday, December 06, 2008

TortoiseSVN ignore-on-commit

I wanted to be able to have my web.config in the repository but not have certain working copies commit. I found "ignore-on-commit" at http://tortoisesvn.tigris.org/tsvn_1.5_releasenotes.html. I think this will work best for me.

I have also used the strategy at http://subversion.tigris.org/faq.html#ignore-commit. It ensures all working copy web.config files never get committed. You have to manually copy the contents of the renamed, unversioned web.config to the versioned template.

** Update 2009-03-26 **

I tried to use this again and forgot how to do it. The change list help page clearly states that you do a context menu on the file you want to add to a change list within the commit or check-for-modifications dialog box. I kept trying to see it in the window folder context menu for the file I wanted to add to a change list.

No comments: