Note: my code is written in flash but this is a SVN-related issue and is not a flash-specific.
I have a code library targeted at Flash Player 9 stored in an SVN repository. I want to create a modified version of the code targeted at Flash Player 10.
What are the best practices for maintaining both versions of the code? Should I create a branch for the FP10 version and maintain the two separately or is there some other preferred method? Ideally, I’d like to be able to fix common bugs for both code-bases simultaneously.
You’re correct…this is what branching is used for. If you make a fix in one branch, you can apply it to the other branch using
svn merge.Example:
Now you have applied the fix to the
fp10branchand you can