Commits

Matthew Turk committed 0a26485

A few more items about DVCS

  • Participants
  • Parent commits 05a223b

Comments (0)

Files changed (1)

 \usetheme{default}
 \usepackage{relsize}
 \newcommand{\yt}{{\larger\texttt{yt}}}
+\newcommand{\hg}{{\larger\hg{}}}
 
 \usepackage[english]{babel}
 % or whatever
 
 \mediumslide{2009 \yt{} began using hg on top of svn, moved there full time in 2011.}
 
-\begin{frame}[t]{Advantages}
+\mediumsimple{On top of \hg{}, \yt{} hosts its repositories on BitBucket.org.}
+
+\begin{frame}[t]{}
 \vspace{1in}
 \begin{itemize}
 \item Network effect: Enzo uses it
 \item Nice and easy API
 \item Easy to learn
 \item Few dependencies
+\item Extensions!  Python!
 \end{itemize}
 \end{frame}
 
 A complete history of the changes in a project.
 }
 
-\mediumsimple{\yt{} uses \texttt{hg}, and it comes with the installation.}
+\mediumsimple{\yt{} uses \hg{}, and it comes with the installation.}
 
 \begin{frame}[t]{Try it:}
 \texttt{\$ cd \$YT\_DEST/src/yt-hg}\\
 \texttt{\$ hg log -r 91619245def3}
 \end{frame}
 
-\begin{frame}[fragile,t]{Let's try it together.}
-\tiny
-<<d['scripts/hginit.shx|fn|bashx|pyg|l']>>
-\end{frame}
-
 % Cover hg whoami and bootstrap_dev
 
 \begin{frame}[fragile,t]{Bootstrap}
 \vspace{1in}
 The command \texttt{yt bootstrap} will set up an environment.
 \begin{itemize}
-\itm 
+\item Set up an \hg{} username
+\item Set up a BitBucket.org username
+\item Set up \hg{} extensions
 \end{itemize}
 \end{frame}
 
+\mediumsimple{Give it a shot.\\\texttt{yt bootstrap}}
 
-\begin{frame}[fragile, t]{Committing to yt}
+\begin{frame}[fragile,t]{Let's try it together.}
+\tiny
+<<d['scripts/hginit.shx|fn|bashx|pyg|l']>>
+\end{frame}
+
+\begin{frame}[t]{\hg{} Cheat Sheet}
+\smfont{}
+\begin{center}
+\begin{tabular}{l|p{2.5in}}                
+\texttt{init} & Create a new repo in current directory\\[9pt]
+\texttt{add} & Track a new file\\[9pt]
+\texttt{rm} & Remove a file from tracking \\[9pt]
+\texttt{commit} & Create a new changeset with current directory \\[9pt] 
+\texttt{update} & Change working directory to another revision \\[9pt]
+\texttt{pull} & Retrieve new changesets from repository \\[9pt]
+\texttt{push} & Share new changesets with repository \\[9pt]
+\texttt{merge} & Reduce the number of heads by one \\[9pt]
+\multicolumn{2}{c}{http://hginit.com/}
+\multicolumn{2}{c}{http://mercurial.selenic.com/}
+\end{tabular}                                                                            
+\end{center} 
+\end{frame} 
+
 
 \end{document}