Ignore files/folders on merge

merge, svn

Solution

There is an option that you merge virtually meaning that the merge does not alter the files in the target but mark it in the merge tracking props. This way the changes will never occour in the files to be merged, ever!

The feature is called record-only in the command line version.

From link text

The --record-only option works with -r and does exactly what you think it does: it marks a revision as merged (or unmerged, if using the "-" revision number negation syntax), without actually changing anything besides the mergeinfo. For example, this would be useful when someone has hand-edited a file in such a way as to effectively incorporate a change that was already made somewhere else. Rather than have the original change be ported over in the next synchronization merge, thus risking textual conflicts wherever the two versions trivially differ, you can just record the change as already merged. (See the merge-tracking requirements, and Blocking Changes in the Subversion book, for more details.)

Problem

I'm currently using SVN for versioning my software projects. On an ongoing project, I have the trunk, for client common features and specifications and branches, for client specific ones. Is there any way to mark some files / folders that shouldn't be merge into branches each time I perform such operation?

Original source

Related problems