8/6/2023 0 Comments Propedit macMake all code feature changes in XNA library and Win clientĤ. Update SVN Externals in Win client to XNA branch (not trunk)ģ. Cut branches: XNA library and Win client (and other clients)Ģ. Applying SVN Externals to branching and merging back into trunk may result in a similar flow:ġ. Larger features usually require longer development time and it's often best practice to cut feature branch from trunk. A better approach may be to cut all tags on Windows PC and SVN Update all tags on Mac OS/X. Also, higher versions may require an upgrade to serf. However, upgrading may cause svnx incompatibility. Here are some basic instructions to upgrade to, for example, SVN 1.8 on Mac OS/X. On Mac OS/X it is most likely that you cannot use the new -pin-externals option for svn copy as the svn version is too low. Svn copy -pin-externals svn:externals $DEMO/trunk $DEMO/tags/1.0.0.0 -m "1.0.0.0"įor completeness, here are all TAGS 1.0.0.0 cut from previous SVN Externals Application blog post: This will automatically set the SVN revision in the tag for you without manual lookup in the SVN logs. If you have Tortoise SVN 1.9.4 installed then you can use the new -pin-externals option for svn copy. Svn propset svn:externals 'Common -r2276 $DEMO/XNA/trunk/XNA.Common'. Therefore, you should always explicitly set the revision of svn:externals property when you create a tag: If you do not specify the revision then SVN Update will always get latest! Note: when you create a tag in Subversion, you are not tagging the SVN Externals repository, you are tagging your working copy. Ensure all sub-nodes have branches, tags and trunk folders:īefore beginning new development, it's often best practice to tag your current release build from trunk. Add 1x sub-node for XNA library and 4x sub-nodes for each client: WP7, Windows, Android, iOS. This post uses the following convention to substitute "$DEMO" for root node of all demo code samples:Ĭreate top level Demo node in Subversion SVN. This post assumes you already have Tortoise SVN installed on Windows and svnx installed on Mac OS/X.Īlso, consider configuring the $SVN_EDITOR on Windows and Mac OS/X in order to edit SVN properties: However, all code here is in trunk larger scale development requires release tags and feature branches. In the previous post, we checked out SVN Externals to build an XNA solution with the majority of game code written in an external library and scaled out across multiple game clients including Android + iOS.Īs an example, the XNA and System Testing snake simulation was scaled to demonstrate SVN Externals.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |