<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Arunrocks &#187; tortoisehg</title> <atom:link href="http://www.arunrocks.com/blog/archives/tag/tortoisehg/feed/" rel="self" type="application/rss+xml" /><link>http://www.arunrocks.com/blog</link> <description>Representing Anti-monotonistic Tendencies</description> <lastBuildDate>Tue, 27 Jul 2010 14:41:38 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.8.6</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Managing Creative Assets &#8211; 3: TortoiseHg Tutorial</title><link>http://www.arunrocks.com/blog/archives/2009/12/15/managing-creative-assets-3-tortoisehg-tutorial/</link> <comments>http://www.arunrocks.com/blog/archives/2009/12/15/managing-creative-assets-3-tortoisehg-tutorial/#comments</comments> <pubDate>Wed, 16 Dec 2009 02:24:01 +0000</pubDate> <dc:creator>Arun Bhai</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[creativity]]></category> <category><![CDATA[distributed version control]]></category> <category><![CDATA[featured]]></category> <category><![CDATA[hg]]></category> <category><![CDATA[lifehacks]]></category> <category><![CDATA[mercurial]]></category> <category><![CDATA[productivity]]></category> <category><![CDATA[tortoisehg]]></category> <category><![CDATA[version control]]></category><guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=177</guid> <description><![CDATA[Managing Creative Assets is a multi-part series on how you can manage your creative works such as a novel or even blog post without impairing your creativity. It highlights the importance of using a version control system as an integral part of one&#8217;s creative workflow. Part 1 gives a good introduction to the series which [...]]]></description> <content:encoded><![CDATA[<p><em>Managing Creative Assets is a multi-part series on how you can manage your creative works such as a novel or even blog post without impairing your creativity. It highlights the importance of using a version control system as an integral part of one&#8217;s creative workflow. <a
href="/blog/archives/2009/12/13/managing-creative-assets-1/">Part 1</a> gives a good introduction to the series which is aimed at technology novices</em></p><h2>Getting started with Mercurial: A tutorial</h2><p>The concluding part of this series will be the installation and typical usage of Tortoise Mercurial, a user friendly GUI front-end for Mercurial. It is commonly referred to as TortoiseHg (the chemical symbol for mercury).</p><p>This will be a fairly simple tutorial to follow as each description is followed by a screenshot. These screenshots were taken on Windows XP, but they will be pretty similar in other OSes</p><p>Download Tortoise mercurial from the <a
href="http://tortoisehg.bitbucket.org/">Bitbucket site</a>. There are installables for Windows as well as for Linux. Installation on Windows is fairly straightforward as it is wizard-based.</p><p><span
id="more-177"></span></p><ol><li><p>Create a new folder for keeping your art assets. This will be your project folder. In this screenshot (click for a larger image), I have created a project folder for the purpose of composing this series of blog posts. Simply right-click, and select &#8216;Create Repository here&#8217; under the TortoiseHg sub-menu:</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181869236/" title="010 - Create.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2717/4181869236_49236ff611.jpg" width="500" height="307" alt="010 - Create.png" /></a></p></li><li><p>The defaults in the &#8216;Create Repository&#8217; dialogs are fine. Just click Create.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181105481/" title="020 - Create Dialog.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2533/4181105481_54e6cdc708.jpg" width="500" height="307" alt="020 - Create Dialog.png" /></a></p></li><li><p>The new repository has been created. That was easy, wasn&#8217;t it?</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181870162/" title="030 - Created.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2561/4181870162_5930954fe5.jpg" width="500" height="307" alt="030 - Created.png" /></a></p></li><li><p>Now, enter the project folder and view the changes. On some OSes, you might see nothing here. These files are not intended to be seen or modified, hence they might be hidden. You can safely ignore them.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181106163/" title="040 - Project folder.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2593/4181106163_032fa85c9a.jpg" width="500" height="307" alt="040 - Project folder.png" /></a></p></li><li><p>This is a screenshot of a new file that I am editing (using Emacs editor) inside the project folder. I am ready to check-in this file.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181106501/" title="050 - New File on Emacs.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2642/4181106501_2d51984a2b.jpg" width="500" height="307" alt="050 - New File on Emacs.png" /></a></p></li><li><p>Now, you will need to add this new file to your repository. Let&#8217;s skip that and directly perform a commit. We will be later given a chance to add this file.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181107011/" title="060 - First Commit.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2584/4181107011_abfcdcda18.jpg" width="500" height="307" alt="060 - First Commit.png" /></a></p></li><li><p>Here you can see our newly added file as unchecked. This means that this file is not yet under version control</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181107577/" title="070 - Commit Dialog.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2640/4181107577_1b15f33da9.jpg" width="500" height="307" alt="070 - Commit Dialog.png" /></a></p></li><li><p>Go ahead and mark the check box next to this file</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181872344/" title="080 - Commit Dialog File Added.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2742/4181872344_85b8b75702.jpg" width="500" height="307" alt="080 - Commit Dialog File Added.png" /></a></p></li><li><p>In the edit box above, you can add a short comment about this commit. Since this is the initial commit, my comment is simply &#8216;First Commit&#8217;</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181872914/" title="090 - Commit Dialog Comment Added.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2525/4181872914_5bb16f7ef4.jpg" width="500" height="307" alt="090 - Commit Dialog Comment Added.png" /></a></p></li><li><p>Mercurial acknowledges the successful commit with the name(s) of the committed files</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181873328/" title="100 - Commited.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2787/4181873328_f9b5679aa6.jpg" width="500" height="307" alt="100 - Commited.png" /></a></p></li><li><p>Notice that your file has a green tick icon indicating a successful check-in</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181873800/" title="110 - Overlay Icons Added.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2694/4181873800_a8dba47e66.jpg" width="500" height="307" alt="110 - Overlay Icons Added.png" /></a></p></li><li><p>Many hours and many check-ins later, my post is nearly close to completion. I commit this version as well.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181110111/" title="115 - Emacs Final Screen.png by ArunClickClick, on Flickr"><img
src="http://farm5.static.flickr.com/4046/4181110111_35e674f04e.jpg" width="500" height="307" alt="115 - Emacs Final Screen.png" /></a></p></li><li><p>In the commit dialog, notice the Repository Explorer in the menu.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181110473/" title="120 - Going to repo explorer.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2782/4181110473_ea679486fb.jpg" width="500" height="307" alt="120 - Going to repo explorer.png" /></a></p></li><li><p>You can view the history of changes in reverse chronological order. You can right click on any of them to compare the changes or revert back to an earlier version.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181874988/" title="130 - Repo explorer.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2717/4181874988_7862e514c3.jpg" width="500" height="307" alt="130 - Repo explorer.png" /></a></p></li><li><p>Simply clicking on each version will show the diff (in UNIX format) between the consecutive versions in the lower right window.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181111117/" title="140 - Repo explorer shows changes.png by ArunClickClick, on Flickr"><img
src="http://farm5.static.flickr.com/4037/4181111117_d14c136f13.jpg" width="500" height="307" alt="140 - Repo explorer shows changes.png" /></a></p></li><li><p>You can perform a revert by selecting the Revert option.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181111507/" title="150 - Reverting.png by ArunClickClick, on Flickr"><img
src="http://farm5.static.flickr.com/4047/4181111507_22932a06b3.jpg" width="500" height="307" alt="150 - Reverting.png" /></a></p></li><li><p>As indicated by the warning, your current file will be overwritten to an older version. But subsequently you can revert to the latest version as well, so this is not too much of an issue.</p><p><a
href="http://www.flickr.com/photos/arun_ravindran/4181111829/" title="160 - Revert Confirm.png by ArunClickClick, on Flickr"><img
src="http://farm3.static.flickr.com/2656/4181111829_873917d61a.jpg" width="500" height="307" alt="160 - Revert Confirm.png" /></a></p></li></ol><p>That&#8217;s pretty much all you need to know to use Tortoise Hg. Hope you found this series informative!</p> ]]></content:encoded> <wfw:commentRss>http://www.arunrocks.com/blog/archives/2009/12/15/managing-creative-assets-3-tortoisehg-tutorial/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss><!--
This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 8/11 queries in 0.007 seconds using disk

Served from: mshawking.asmallorange.com @ 2010-07-31 11:10:29 -->