\begin{frame}[fragile]{Importing a Code Drop}
  Mercurial can help you:
\begin{lstlisting}
$ rm -r lib/libfoo
$ unzip libfoo-2.0.zip -d lib/libfoo
$ hg status
M lib/libfoo/modified.txt
! lib/libfoo/deleted.txt
? lib/libfoo/new.txt
\end{lstlisting}

\pause

Question: has \ext{deleted.txt} been renamed to \ext{new.txt}?
\begin{lstlisting}
$ hg addremove --similarity 90
removing deleted.txt
adding new.txt
recording removal of deleted.txt as rename to new.txt (94% similar)
\end{lstlisting}
\end{frame}
