Mercurial > hg > mercurial-talk
view svn-branching.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 (2012-12-19) |
parents | 90fc2363399a |
children |
line wrap: on
line source
\begin{frame}{Branches in SVN} Subversion knows nothing about branches! \begin{itemize} \item but SVN has a cheap copy mechanism \item used for tags and branches \end{itemize} \begin{tikzpicture} \node<2->[working copy, below, text width=20mm, label=above:r10] (a) at (0, 0) { trunk/\\ \quad hello.c\\ \quad Makefile\\ branches/\\ tags/ }; \node<3->[working copy, below, text width=25mm, label=above:r11] (b) at (3.5, 0) { trunk/\\ \quad hello.c\\ \quad Makefile\\ branches/\\ \quad \alert<3>{goodbye/}\\ \qquad \alert<3>{hello.c}\\ \qquad \alert<3>{Makefile}\\ tags/ }; \node<4->[working copy, below, text width=30mm, label=above:r12] (c) at (7.5, 0) { trunk/\\ \quad hello.c\\ \quad Makefile\\ branches/\\ \quad goodbye/\\ \qquad hello.c\\ \qquad \alert<4>{goodbye.c}\\ \qquad Makefile\\ tags/ }; \tikzstyle{s}=[yshift=-5mm] \tikzstyle{every pin edge}=[draw, red, <-] \draw<3->[->, short] ([s] a.north east) -- ([s] b.north west); \draw<4->[->, short] ([s] b.north east) -- ([s] c.north west); \end{tikzpicture} \end{frame}