hgbook

changeset 84:43b9793b4e38

Begin tour chapter.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed Oct 04 13:11:40 2006 -0700 (2006-10-04)
parents b476081a9c04
children b7c69a68b0cc
files en/00book.tex en/Makefile en/tour.tex
line diff
     1.1 --- a/en/00book.tex	Tue Oct 03 13:03:42 2006 -0700
     1.2 +++ b/en/00book.tex	Wed Oct 04 13:11:40 2006 -0700
     1.3 @@ -38,6 +38,7 @@
     1.4  \include{preface}
     1.5  \include{intro}
     1.6  %\include{concepts}
     1.7 +\include{tour}
     1.8  \include{daily}
     1.9  \include{hook}
    1.10  \include{template}
     2.1 --- a/en/Makefile	Tue Oct 03 13:03:42 2006 -0700
     2.2 +++ b/en/Makefile	Wed Oct 04 13:11:40 2006 -0700
     2.3 @@ -13,7 +13,8 @@
     2.4  	intro.tex \
     2.5  	mq.tex \
     2.6  	preface.tex \
     2.7 -	template.tex
     2.8 +	template.tex \
     2.9 +	tour.tex
    2.10  
    2.11  image-sources := \
    2.12  	mq-stack.svg
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/en/tour.tex	Wed Oct 04 13:11:40 2006 -0700
     3.3 @@ -0,0 +1,79 @@
     3.4 +\chapter{A lightning tour of Mercurial}
     3.5 +\label{chap:tour}
     3.6 +
     3.7 +\section{Installing Mercurial on your system}
     3.8 +\label{sec:tour:install}
     3.9 +
    3.10 +\subsection{Linux}
    3.11 +
    3.12 +All major Linux distributions provide a prebuilt Mercurial package.
    3.13 +Because each Linux distribution has its own packaging tools, policies,
    3.14 +and rate of development, it's difficult to give a comprehensive set of
    3.15 +instructions on how to install Mercurial binaries, and the version of
    3.16 +Mercurial that you will end up with can vary widely.  
    3.17 +
    3.18 +To keep things simple, I will focus on installing Mercurial from the
    3.19 +command line under the most popular Linux distributions.  Most of
    3.20 +these distributions provide graphical package managers that will let
    3.21 +you install Mercurial with a single click; the package name to look
    3.22 +for is \texttt{mercurial}.
    3.23 +
    3.24 +\subsubsection{Debian}
    3.25 +
    3.26 +\begin{codesample2}
    3.27 +  apt-get install mercurial
    3.28 +\end{codesample2}
    3.29 +
    3.30 +\subsubsection{Fedora Core}
    3.31 +
    3.32 +\begin{codesample2}
    3.33 +  yum install mercurial
    3.34 +\end{codesample2}
    3.35 +
    3.36 +\subsubsection{Gentoo}
    3.37 +
    3.38 +\begin{codesample2}
    3.39 +  emerge mercurial
    3.40 +\end{codesample2}
    3.41 +
    3.42 +\subsubsection{OpenSUSE}
    3.43 +
    3.44 +\begin{codesample2}
    3.45 +  yum install mercurial
    3.46 +\end{codesample2}
    3.47 +
    3.48 +\subsubsection{Ubuntu}
    3.49 +
    3.50 +\begin{codesample2}
    3.51 +  apt-get install mercurial
    3.52 +\end{codesample2}
    3.53 +
    3.54 +\subsection{Mac OS X}
    3.55 +
    3.56 +Lee Cantey publishes an installer of Mercurial for Mac OS~X at
    3.57 +\url{http://mercurial.berkwood.com}.  This package works on both
    3.58 +Intel- and Power-based Macs, but requires you to install Universal
    3.59 +Python before you can use it.  This is easy to do; simply follow the
    3.60 +instructions on Lee's site.
    3.61 +
    3.62 +\subsection{Solaris}
    3.63 +
    3.64 +XXX.
    3.65 +
    3.66 +\subsection{Windows}
    3.67 +
    3.68 +Lee Cantey publishes an installer of Mercurial for Windows at
    3.69 +\url{http://mercurial.berkwood.com}.  This package has no external
    3.70 +dependencies; it ``just works''.
    3.71 +
    3.72 +\begin{note}
    3.73 +  The Windows version of Mercurial does not automatically convert line
    3.74 +  endings between Windows and Unix styles.  If you want to share work
    3.75 +  with Unix users, you must do a little additional configuration
    3.76 +  work. XXX Flesh this out.
    3.77 +\end{note}
    3.78 +
    3.79 +%%% Local Variables: 
    3.80 +%%% mode: latex
    3.81 +%%% TeX-master: "00book"
    3.82 +%%% End: