expoweb/handbook/tortoise/tortoise-win.htm

77 lines
3.7 KiB
HTML
Raw Normal View History

<html>
<head>
<title>Cambridge University Caving Club Expedition Handbook.</title>
</head>
<body>
<h1>Windows 7 How-to No.1:<br>TortoiseHg and Putty</h1>
<p>Struggling to get TortoiseHg to work on Windows (Service Pack 1,
32-bit)? Heres a quick guide which I hope explains how to sort it all
out.</p>
<p>You first want to ascertain that both <a href="http://tortoisehg.bitbucket.org/">TortoiseHg</a> and <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a> are nicely installed. Then run Putty;</p>
<h2>Putty:</h2>
<p>Upon opening putty, youll be greeted with a screen similar to this;</p>
<div style="text-align: center">
<img src="expoPuttyscreen.png" alt="Putty Configuration Screen" />
<p class="caption">Putty Configuration Screen</p></div>
<p>Type <tt>expo@expo.survex.com</tt> into the box under Host Name, and type a
name into the box under 'Saved Sessions' then click 'Save' (in the
above case called 'Expo' this means you dont have to type in
expo@expo.survex.com each time you use Putty. You simply click on
'Expo' then 'Load'). Then click 'Open'.</p>
<p><b>Please note that when connecting to the tatty hut in Austria, you will need to log onto a different server. In this case, type:<tt>expo@expo.potato.hut</tt>, and follow the instructions above.</b></p>
<p>You will then see the following screen:</p>
<div style="text-align: center">
<img src="expoPuttyscreen2b.png" alt="Putty Login Screen" />
<p class="caption">Putty Login Screen</p></div>
<p>Dont worry if you cant see anything happening onscreen as you type in the password, this is whats supposed to happen; so just type in the password and press the return/enter key.</p>
<p>Done! At some point you may come across a Windows popup which asks
you to verify the address you're attempting to log into (at which
point you select 'hells-to-the-yeah', or equivalent). You have now made sure that your computer is happy to log on using TortoiseHg. To log out of Putty, type 'logout', then press the return/enter key.</p>
<h2>TortoiseHg:</h2>
<p>To open up TortoiseHg, simply open a folder somewhere on your desktop (you can make a new folder if you want, to keep things neat), and right click in the folder and select “Hg Workbench”</p>
<div style="text-align: center">
<img src="expoWorkbenchopen.png" alt="Accessing the Workbench" />
<p class="caption">Accessing the Hg Workbench</p></div>
<p>Once this opens up, go to File>Clone Repository, and you should get the following;</p>
<div style="text-align: center">
<img src="expoRepositoryScreen.png" width="75%" height="50%" alt="Hg Workbench" />
<p class="caption">Hg Workbench</p></div>
<p>At which point type <tt>ssh://expo@expo.survex.com/loser</tt> into
the 'Source' box (in this case I have specified a particular folder on
the server; 'loser', I suggest you do the same for now). You may also
choose where you want the repository to be created by clicking
'Browse' next to the 'Destination' box. As far as I recall, you don't
need to edit anything in the box where it says 'Hg command'. Click 'Clone'!</p>
<p><b>Again, if logging on from the tatty hut, type:<tt>ssh://expo@expo/loser</tt>to get things to work.</b></p>
<p>Voila! If you're now looking at the following screen or similar,</p>
<div style="text-align: center">
<img src="expoRepositoryScreen2.png" width="75%" height="50%" alt="Hg Workbench Linked" />
<p class="caption">Hg Workbench Linked</p></div>
<p>All is well.</p>
<p>If anything seems unclear, please email me at elmo2058@gmail.com, and I will reinstall things on my own machine to see where things get confusing. Watch this space for another webpage/update with how to install/use WINSCP for straightforward file transfers.</p>
<hr />
</body>
</html>