{"id":437,"date":"2019-11-06T07:32:52","date_gmt":"2019-11-06T07:32:52","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr\/how-to-use-acr\/compare-revisions\/"},"modified":"2022-05-25T13:22:36","modified_gmt":"2022-05-25T13:22:36","slug":"compare-revisions","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/how-to-use-acr\/compare-revisions","title":{"rendered":"Compare revisions"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">With ACR it is really easy to see the exact differences between two revisions.  <\/h4>\n\n\n\n<p>When working with large projects it is hard to keep track of the exact changes between revisions. Luckily, ACR also has a solution for this in its <em>Compare<\/em> tool.<\/p>\n\n\n\n<p>In the first step, go to the revision page and select a revision you want to compare against by clicking on the icon under the <em>compare<\/em> table.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-121-1024x256.png\" alt=\"\" class=\"wp-image-2750\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-121-980x245.png 980w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-121-480x120.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Then ACR will compare the raw JSON from both revisions and find any differences. In this example the current revision 152 and the selected row revision 137. The differences are grouped per module on the next screen. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"556\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-122-1024x556.png\" alt=\"\" class=\"wp-image-2752\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-122-980x532.png 980w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-122-480x261.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Open a module by clicking on the arrow to see the exact differences as a JSON. Changed, added, or deleted properties are indicated.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-123-1024x245.png\" alt=\"\" class=\"wp-image-2753\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-123-1024x245.png 1024w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-123-980x234.png 980w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2022\/05\/image-123-480x115.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Use the compare tool to track changes and to find out when bugs or smelly code were introduced.<\/p>\n","protected":false},"featured_media":0,"parent":418,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-437","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/437"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=437"}],"version-history":[{"count":5,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/437\/revisions"}],"predecessor-version":[{"id":2754,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/437\/revisions\/2754"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/418"}],"next":[{"title":"Automatically scanning commits","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/how-to-use-acr\/automatically-scan-each-commit","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2316"}],"prev":[{"title":"Highlight hot spots","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/how-to-use-acr\/highlight-hot-spots","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/434"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=437"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}