Mercurial > hgbook
comparison es/tour-merge.tex @ 483:7f1572c365d2
translated up to section 2.1.1, included
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Fri, 31 Oct 2008 00:19:04 -0500 |
parents | 772b30049b80 |
children | 0abd3d78172e |
comparison
equal
deleted
inserted
replaced
482:772b30049b80 | 483:7f1572c365d2 |
---|---|
43 \end{figure} | 43 \end{figure} |
44 | 44 |
45 Ya sabemos que jalar los cambios desde nuestro repositorio | 45 Ya sabemos que jalar los cambios desde nuestro repositorio |
46 \dirname{my-hello} no tendrá efecto en el directorio de trabajo. | 46 \dirname{my-hello} no tendrá efecto en el directorio de trabajo. |
47 \interaction{tour.merge.pull} | 47 \interaction{tour.merge.pull} |
48 However, the \hgcmd{pull} command says something about ``heads''. | 48 Sin embargo, el comando \hgcmd{pull} dice algo acerca de |
49 | 49 ``frentes''\ndt{El autor se refiere a \emph{heads} aquí.}. |
50 \subsection{Head changesets} | 50 |
51 | 51 \subsection{Conjuntos de cambios de frentes} |
52 A head is a change that has no descendants, or children, as they're | 52 |
53 also known. The tip revision is thus a head, because the newest | 53 Un frente es un cambio que no tiene descendientes, o hijos, como |
54 revision in a repository doesn't have any children, but a repository | 54 también se les conoce. La revisión de punta es, por tanto, un frente, |
55 can contain more than one head. | 55 porque la revisión más reciente en un repositorio no tiene ningún |
56 % TODO cambio en la redacción de la frase, pero espero que conserve el | |
57 % sentido. Querido human@, apruebe o corrija :D | |
58 hijo. Sin embargo, un repositorio puede contener más de un frente. | |
56 | 59 |
57 \begin{figure}[ht] | 60 \begin{figure}[ht] |
58 \centering | 61 \centering |
59 \grafix{tour-merge-pull} | 62 \grafix{tour-merge-pull} |
60 \caption{Repository contents after pulling from \dirname{my-hello} into | 63 \caption{Contenidos del repositorio después de jalar |
61 \dirname{my-new-hello}} | 64 \dirname{my-hello} a \dirname{my-new-hello}} |
62 \label{fig:tour-merge:pull} | 65 \label{fig:tour-merge:pull} |
63 \end{figure} | 66 \end{figure} |
64 | 67 |
65 In figure~\ref{fig:tour-merge:pull}, you can see the effect of the | 68 En la figura~\ref{fig:tour-merge:pull} usted puede ver el efecto que |
66 pull from \dirname{my-hello} into \dirname{my-new-hello}. The history | 69 tiene jalar los cambios de \dirname{my-hello} a \dirname{my-new-hello}. |
67 that was already present in \dirname{my-new-hello} is untouched, but a | 70 El historial que ya existía en \dirname{my-new-hello} se mantiene |
68 new revision has been added. By referring to | 71 intacto, pero fue añadida una nueva revisión. Refiriéndonos a la |
69 figure~\ref{fig:tour-merge:sep-repos}, we can see that the | 72 figura~\ref{fig:tour-merge:sep-repos}, podemos ver que el \emph{ID del |
70 \emph{changeset ID} remains the same in the new repository, but the | 73 conjunto de cambios} se mantiene igual en el nuevo repositorio, pero |
71 \emph{revision number} has changed. (This, incidentally, is a fine | 74 el \emph{número de revisión} ha cambiado. (Incidentalmente, éste es un |
72 example of why it's not safe to use revision numbers when discussing | 75 buen ejemplo de porqué no es seguro usar números de revisión cuando se |
73 changesets.) We can view the heads in a repository using the | 76 habla de conjuntos de cambios). Podemos ver los frentes en un |
74 \hgcmd{heads} command. | 77 repositorio usando el comando \hgcmd{heads}\ndt{Frentes.}. |
75 \interaction{tour.merge.heads} | 78 \interaction{tour.merge.heads} |
76 | 79 |
77 \subsection{Performing the merge} | 80 \subsection{Performing the merge} |
78 | 81 |
79 What happens if we try to use the normal \hgcmd{update} command to | 82 What happens if we try to use the normal \hgcmd{update} command to |