I'd like to commit just a part of a file using TortoiseSVN, is there some way to do that?
I'll give an example to make it clearer why I want to do that.
I have a file with some defines that are replaced in the build process, something like this:
#define SOME_PATH "[SOME_PATH]"
This [SOME_PATH] tag is replaced in the build process but when I'm coding I have to change it so the actual path in my machine.
So each time I commit I need to backup some lines, revert them, commit and then restore the backup, and this is kinda annoying.
Is there some way to tell TortoiseSVN to "ignore" some changes in, say, Lines X,Y and Z?
Best Solution
The top voted answer is out-of-date.
From the tortoiseSVN website: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-commit.html