Commits

Matthew Turk committed 05a223b

Updating the presentation.

Comments (0)

Files changed (3)

     },
    "*.sh|fn|bash|pyg|l" : {},
    "*.sh|fn|bash" : {},
+   "*.shx|fn|bashx|pyg|l" : {},
    "*.sh|fn|pyg|l" : {},
    "*.py|fn|py|pyg|l" : {},
    "*.py|fn|pyg|l" : {}
  \titlepage
 \end{frame}
 
+\mediumsimple{Codes change with time.}
+\bigsimple{Track changes}
+\bigsimple{Distribute changes}
+
 \defslide{Version Control}{
 Systematic method of identifying and governing changes to a set of files.
 }
 
 \defslide{Changeset}{
 (or ``hash'' or ``revision'')\\
-Some identifiable, atomic location in the history of the code.
+Some identifiable, atomic location in the history of the code.  Numbers are
+local, SHAs are global.
 }
 
 \fullimage{hg_graph.png}
 
 \bigslide{Why hg?}
 
+\mediumslide{2009 \yt{} began using hg on top of svn, moved there full time in 2011.}
 
+\begin{frame}[t]{Advantages}
+\vspace{1in}
+\begin{itemize}
+\item Network effect: Enzo uses it
+\item Immutable history
+\item Nice and easy API
+\item Easy to learn
+\item Few dependencies
+\end{itemize}
+\end{frame}
+
+\defslide{Repository}{
+A complete history of the changes in a project.
+}
+
+\mediumsimple{\yt{} uses \texttt{hg}, and it comes with the installation.}
+
+\begin{frame}[t]{Try it:}
+\texttt{\$ cd \$YT\_DEST/src/yt-hg}\\
+\texttt{\$ hg log}\\
+\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 
+\end{itemize}
+\end{frame}
+
+
+\begin{frame}[fragile, t]{Committing to yt}
 
 \end{document}

scripts/hginit.shx

+mkdir new_repo
+cd new_repo
+hg init
+echo "Hi there" > README
+hg add README
+hg commit -m "First commit!"
+hg log