Note: Please go to to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > RightScale 101 > Advanced Concepts > Version Control (Diff and Merge)

Version Control (Diff and Merge)


RightScale supports the ability to perform a common "diff" or differential between two different revisions of the same object, as well as the ability to merge those differences together.  The Diff/Merge feature functions in a similar way for all objects that support this feature.  Currently, the Diff/Merge functionality is supported for the following RightScale objects:

  • ServerTemplates
  • RightScripts
  • MultiCloud Images


Performing a Diff

The best way to review all of the changes to an object is to simply perform a diff between two different revisions of that object.  Typically, you perform a diff between two different revisions (or HEAD versions) of the same object.  However, you can also perform a diff between two separate objects.  Colored highlights help you visually decipher what has been added/modified/deleted.

Performing a Merge

You can perform both basic and advanced merges in the RightScale Dashboard.  As a best practice, you should always perform a diff before attempting a merge.  You should also commit the latest HEAD version before attempting any merge so that you can always revert back to an object's configuration prior to the merge.  Remember, you cannot undo a merge.  When you perform a merge, the resulting object must be a HEAD version.  Also, you cannot select which parts of a merge you would like to accept and which parts you want to exclude. The merging feature is an "all-or-nothing" change.





Resolving Conflicts

Sometimes when you perform a merge you will be asked to resolve some conflicts.  For example, if you're merging two MultiCloud Images, one revision might specify a 64-bit image for launching 'm1.large' EC2 instance types whereas the other revision uses a 32-bit image for launching 'm1.small' instance types.  In such cases, you must select which preference to keep in the merged version.

You must to post a comment.
Last modified
13:29, 24 Sep 2014


This page has no custom tags.


This page has no classifications.



© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.