{"id":653,"date":"2018-06-04T11:20:36","date_gmt":"2018-06-04T11:20:36","guid":{"rendered":"http:\/\/www.inwizards.com\/blog\/?p=653"},"modified":"2023-03-30T11:28:58","modified_gmt":"2023-03-30T11:28:58","slug":"is-svn-version-control-system-right-for-you","status":"publish","type":"post","link":"https:\/\/www.inwizards.com\/blog\/is-svn-version-control-system-right-for-you\/","title":{"rendered":"Is SVN version control system right for you?"},"content":{"rendered":"<p style=\"text-align: justify;\">Today we are learning how to commit code on svn server on windows client.<\/p>\n<p style=\"text-align: justify;\"><b>1. We need to install svn client- <\/b>Tortoise svn on client side<\/p>\n<p style=\"text-align: justify;\"><b>2. How to check out:-\u00a0<\/b>Right click on folder and select svn checkout option.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-654\" src=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/1.png?resize=250%2C490&#038;ssl=1\" alt=\"Inwizards\" width=\"250\" height=\"490\" srcset=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/1.png?resize=153%2C300&amp;ssl=1 153w, https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/1.png?w=323&amp;ssl=1 323w\" sizes=\"(max-width: 250px) 100vw, 250px\" data-recalc-dims=\"1\" \/><\/p>\n<p>We need to enter repository and destination folder .<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-656\" src=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/2.png?resize=343%2C240&#038;ssl=1\" alt=\"inwizards\" width=\"343\" height=\"240\" srcset=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/2.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/2.png?w=558&amp;ssl=1 558w\" sizes=\"(max-width: 343px) 100vw, 343px\" data-recalc-dims=\"1\" \/><br \/>\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-1542270097115731\" data-ad-slot=\"5976953901\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<p>Enter your user name and password.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-658\" src=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/3.png?resize=334%2C235&#038;ssl=1\" alt=\"inwizards\" width=\"334\" height=\"235\" srcset=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/3.png?resize=300%2C211&amp;ssl=1 300w, https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/3.png?w=359&amp;ssl=1 359w\" sizes=\"(max-width: 334px) 100vw, 334px\" data-recalc-dims=\"1\" \/><\/p>\n<p style=\"text-align: justify;\"><b>3:- Update repository\u00a0 &#8211;\u00a0<\/b>If your teammate commit code on same repository so we need to take update It&#8217;s very simple just right click on repository folder and click on svn update.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-659\" src=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/4.png?resize=340%2C314&#038;ssl=1\" alt=\"inwizards\" width=\"340\" height=\"314\" srcset=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/4.png?resize=300%2C277&amp;ssl=1 300w, https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/4.png?w=399&amp;ssl=1 399w\" sizes=\"(max-width: 340px) 100vw, 340px\" data-recalc-dims=\"1\" \/><\/p>\n<p><b>4:- commit comments\u00a0 &#8211;\u00a0<\/b>All commit we need to commented with proper work history.<\/p>\n<p><b>5:- How to commit &#8211;\u00a0<\/b>Right click on file folder or project and just click on svn commit.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-660\" src=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/5.png?resize=318%2C356&#038;ssl=1\" alt=\"inwizards\" width=\"318\" height=\"356\" srcset=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/5.png?resize=268%2C300&amp;ssl=1 268w, https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/5.png?w=313&amp;ssl=1 313w\" sizes=\"(max-width: 318px) 100vw, 318px\" data-recalc-dims=\"1\" \/><\/p>\n<p><strong>6:- Add a new file<\/strong> &#8211; right click on file and click on Tortoise svn -&gt; Add<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-661\" src=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/6.png?resize=384%2C330&#038;ssl=1\" alt=\"inwizards\" width=\"384\" height=\"330\" srcset=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/6.png?resize=300%2C258&amp;ssl=1 300w, https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/6.png?w=474&amp;ssl=1 474w\" sizes=\"(max-width: 384px) 100vw, 384px\" data-recalc-dims=\"1\" \/><\/p>\n<p>7:- How to remove conflict and compare file. Right click on the file you want to diff<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-662\" src=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/7.png?resize=384%2C261&#038;ssl=1\" alt=\"inwizards\" width=\"384\" height=\"261\" srcset=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/7.png?resize=300%2C204&amp;ssl=1 300w, https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/7.png?w=566&amp;ssl=1 566w\" sizes=\"(max-width: 384px) 100vw, 384px\" data-recalc-dims=\"1\" \/><\/p>\n<p>It will be red one our side and show yellow in other side<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-663\" src=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/8.png?resize=476%2C230&#038;ssl=1\" alt=\"inwizards\" width=\"476\" height=\"230\" srcset=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/8.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/8.png?w=644&amp;ssl=1 644w\" sizes=\"(max-width: 476px) 100vw, 476px\" data-recalc-dims=\"1\" \/><\/p>\n<p><b>You can use the green arrows to navigate through the differences<\/b><\/p>\n<p>8:- To see the log changes Right click on file folder and jut click on svn log<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-664\" src=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/9.png?resize=372%2C321&#038;ssl=1\" alt=\"inwizards\" width=\"372\" height=\"321\" srcset=\"https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/9.png?resize=300%2C259&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/9.png?w=385&amp;ssl=1 385w\" sizes=\"(max-width: 372px) 100vw, 372px\" data-recalc-dims=\"1\" \/><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-665\" src=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/10.png?resize=472%2C279&#038;ssl=1\" alt=\"inwizards\" width=\"472\" height=\"279\" srcset=\"https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/10.png?resize=300%2C177&amp;ssl=1 300w, https:\/\/i1.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/10.png?w=647&amp;ssl=1 647w\" sizes=\"(max-width: 472px) 100vw, 472px\" data-recalc-dims=\"1\" \/><\/p>\n<p style=\"text-align: justify;\">The left column is the version number. It can be entered in the Checkout dialog to get that version instead of the \u201cHead\u201d version.<\/p>\n<p style=\"text-align: justify;\">The bottom shows all the files added\/modified\/deleted in that revision<\/p>\n<p style=\"text-align: justify;\"><strong>9:- By Mistake bad commit done<\/strong><\/p>\n<p style=\"text-align: justify;\"><strong>a)<\/strong> Update your local repository<\/p>\n<p style=\"text-align: justify;\"><strong>b)<\/strong> Checkout the last working commit code<\/p>\n<p style=\"text-align: justify;\"><strong>9.1:<\/strong>&#8211; How checkout last version commit code &#8211; click on svn checkout and check revision radio button and enter commit revision number.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-666\" src=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/11.png?resize=369%2C261&#038;ssl=1\" alt=\"\" width=\"369\" height=\"261\" srcset=\"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/11.png?resize=300%2C212&amp;ssl=1 300w, https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/11.png?w=553&amp;ssl=1 553w\" sizes=\"(max-width: 369px) 100vw, 369px\" data-recalc-dims=\"1\" \/><\/p>\n<p>After working commit this version .<\/p>\n<p><strong>Some Rules on using SVN<\/strong><\/p>\n<p>1- Carefully test your code before commit<\/p>\n<p>2 &#8211; Before start working take update<\/p>\n<p>3 &#8211; If possible always commit only indivisible file you modified<\/p>\n<p>4 &#8211; Always enter proper comments<\/p>\n<p>5 &#8211; Always use your user to commit and clone<\/p>\n<p>By &#8211; Sameer khare<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are learning how to commit code on svn server on windows client. 1. We need to install svn client- Tortoise svn on client side 2. How to check out:-\u00a0Right click on folder and select svn checkout option. We<\/p>\n","protected":false},"author":1,"featured_media":670,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/www.inwizards.com\/blog\/wp-content\/uploads\/2018\/06\/icon.png?fit=400%2C226&ssl=1","_links":{"self":[{"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/posts\/653"}],"collection":[{"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/comments?post=653"}],"version-history":[{"count":8,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":1974,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/posts\/653\/revisions\/1974"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/media\/670"}],"wp:attachment":[{"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/media?parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/categories?post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inwizards.com\/blog\/wp-json\/wp\/v2\/tags?post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}