Mercurial > hg > mercurial-talk
view rename-guessing.tex @ 364:df4a5c5570e7 default tip
some personal tweaks
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 19 Dec 2012 15:35:01 -0500 |
parents | 7788b512c5bd |
children |
line wrap: on
line source
\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/a.txt ! lib/libfoo/b.txt ? lib/libfoo/c.txt \end{lstlisting} \pause Question: has \ext{b.txt} been renamed to \ext{c.txt}? \begin{lstlisting} $ hg addremove --similarity 90 removing b.txt adding c.txt recording removal of b.txt as rename to c.txt (94% similar) \end{lstlisting} \end{frame}