hgbook
diff es/tour-merge.tex @ 496:2de9cda0c7f8
merged work from ikks
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Wed Jan 07 23:42:24 2009 -0500 (2009-01-07) |
parents | 53b4a0d0052e |
children | 9da096de3c52 |
line diff
1.1 --- a/es/tour-merge.tex Sun Nov 02 21:34:16 2008 -0500 1.2 +++ b/es/tour-merge.tex Wed Jan 07 23:42:24 2009 -0500 1.3 @@ -253,51 +253,54 @@ 1.4 % siendo necesario 1.5 \interaction{tour-merge-conflict.commit} 1.6 1.7 -\section{Simplifying the pull-merge-commit sequence} 1.8 +\section{Simplificar el ciclo jalar-fusionar-consignar} 1.9 \label{sec:tour-merge:fetch} 1.10 1.11 -The process of merging changes as outlined above is straightforward, 1.12 -but requires running three commands in sequence. 1.13 +El proceso de fusionar cambios delineado anteriomente es directo, pero 1.14 +requiere la ejecución de tres comandos en sucesión. 1.15 \begin{codesample2} 1.16 hg pull 1.17 hg merge 1.18 - hg commit -m 'Merged remote changes' 1.19 + hg commit -m 'Fusionados cambios remotos' 1.20 \end{codesample2} 1.21 -In the case of the final commit, you also need to enter a commit 1.22 -message, which is almost always going to be a piece of uninteresting 1.23 -``boilerplate'' text. 1.24 - 1.25 -It would be nice to reduce the number of steps needed, if this were 1.26 -possible. Indeed, Mercurial is distributed with an extension called 1.27 -\hgext{fetch} that does just this. 1.28 - 1.29 -Mercurial provides a flexible extension mechanism that lets people 1.30 -extend its functionality, while keeping the core of Mercurial small 1.31 -and easy to deal with. Some extensions add new commands that you can 1.32 -use from the command line, while others work ``behind the scenes,'' 1.33 -for example adding capabilities to the server. 1.34 - 1.35 -The \hgext{fetch} extension adds a new command called, not 1.36 -surprisingly, \hgcmd{fetch}. This extension acts as a combination of 1.37 -\hgcmd{pull}, \hgcmd{update} and \hgcmd{merge}. It begins by pulling 1.38 -changes from another repository into the current repository. If it 1.39 -finds that the changes added a new head to the repository, it begins a 1.40 -merge, then commits the result of the merge with an 1.41 -automatically-generated commit message. If no new heads were added, 1.42 -it updates the working directory to the new tip changeset. 1.43 - 1.44 -Enabling the \hgext{fetch} extension is easy. Edit your 1.45 -\sfilename{.hgrc}, and either go to the \rcsection{extensions} section 1.46 -or create an \rcsection{extensions} section. Then add a line that 1.47 -simply reads ``\Verb+fetch +''. 1.48 +En la consignación final usted debe proveer un mensaje adecuado, que 1.49 +casi siempre es un fragmento de texto ``de relleno'' carente de valor 1.50 +particular. 1.51 + 1.52 +Sería agradable reducir la cantidad de pasos necesarios, si fuera 1.53 +posible. De hecho, Mercurial es distribuido junto con una extensión 1.54 +llamada \hgext{fetch}\ndt{Descargar, traer.} que hace precisamente 1.55 +esto. 1.56 + 1.57 +Mercurial cuenta con un mecanismo de extensión flexible que le permite 1.58 +% TODO lets people => permite a usuarios 1.59 +a sus usuarios extender su funcionalidad, manteniendo el núcleo de 1.60 +Mercurial pequeño y fácil de manejar. Algunas extensiones añaden 1.61 +nuevos comandos que usted puede usar desde la línea de comandos, 1.62 +mientras que otros funcionan ``tras bambalinas'', por ejemplo, 1.63 +añadiendo funcionalidad al servidor. 1.64 + 1.65 +La extensión \hgext{fetch} añade un comando llamado, no 1.66 +sorpresivamente, \hgcmd{fetch}. Esta extensión actúa como una 1.67 +combinación de \hgcmd{pull}, \hgcmd{update} y \hgcmd{merge}. Empieza 1.68 +jalando cambios de otro repositorio al repositorio actual. Si 1.69 +encuentra que los cambios añaden un nuevo frente en el repositorio 1.70 +actual, inicia una fusión, y luego consigna el resultado de la misma 1.71 +con un mensaje generado automáticamente. Si no se añadieron nuevos 1.72 +frentes, actualiza el directorio de trabajo con el nuevo conjunto de 1.73 +cambios de punta. 1.74 + 1.75 +Activar la extensión \hgext{fetch} es fácil. Edite su 1.76 +\sfilename{.hgrc}, y vaya a (o cree) la sección 1.77 +\rcsection{extensions}. Luego añada una línea que diga simplemente 1.78 +``\Verb+fetch +''. 1.79 \begin{codesample2} 1.80 [extensions] 1.81 fetch = 1.82 \end{codesample2} 1.83 -(Normally, on the right-hand side of the ``\texttt{=}'' would appear 1.84 -the location of the extension, but since the \hgext{fetch} extension 1.85 -is in the standard distribution, Mercurial knows where to search for 1.86 -it.) 1.87 +(Normalmente, a la derecha del ``\texttt{=}'' debería aparecer la 1.88 +ubicación de la extensión, pero como el comando \hgext{fetch} es parte 1.89 +de la distribución estándar, Mercurial sabe dónde buscarla.) 1.90 1.91 %%% Local Variables: 1.92 %%% mode: latex