hgbook

changeset 487:f8614aad2cbb

chapter taken to translate to spanish
author Igor Támara <igor@tamarapatino.org>
date Tue Jan 06 22:40:18 2009 -0500 (2009-01-06)
parents d1962e8a986f
children 419853691d11
files es/Leame.1st es/mq-ref.tex
line diff
     1.1 --- a/es/Leame.1st	Mon Jan 05 23:57:11 2009 -0500
     1.2 +++ b/es/Leame.1st	Tue Jan 06 22:40:18 2009 -0500
     1.3 @@ -110,7 +110,7 @@
     1.4  || hgext.tex       || Igor Támara   ||    100%    || 13/12/2008 ||  16/12/2008 ||
     1.5  || template.tex    || Igor Támara   ||    100%    || 27/12/2008 ||  01/01/2009 ||
     1.6  || mq-collab.tex   || Javier Rojas  ||     20%    || 04/01/2009 ||             ||
     1.7 -|| mq-ref.tex      ||               ||            ||            ||             ||
     1.8 +|| mq-ref.tex      || Igor Támara   ||     14%    || 06/01/2009 ||             ||
     1.9  || cmdref.tex      || Igor Támara   ||    100%    || 01/01/2009 ||  01/01/2009 ||
    1.10  || license.tex     || Igor Támara   ||    100%    || 16/12/2008 ||  16/12/2008 ||
    1.11  || srcinstall.tex  || Igor Támara   ||    100%    || 01/01/2009 ||  01/01/2009 ||
     2.1 --- a/es/mq-ref.tex	Mon Jan 05 23:57:11 2009 -0500
     2.2 +++ b/es/mq-ref.tex	Tue Jan 06 22:40:18 2009 -0500
     2.3 @@ -1,72 +1,78 @@
     2.4 -\chapter{Mercurial Queues reference}
     2.5 +\chapter{Referencia de las Colas de Mercurial}
     2.6  \label{chap:mqref}
     2.7  
     2.8 -\section{MQ command reference}
     2.9 +\section{Referencia de órdenes MQ}
    2.10  \label{sec:mqref:cmdref}
    2.11  
    2.12 -For an overview of the commands provided by MQ, use the command
    2.13 +Si desea dar un vistazo a las órdenes que ofrece MQ, use la orden
    2.14  \hgcmdargs{help}{mq}.
    2.15  
    2.16 -\subsection{\hgxcmd{mq}{qapplied}---print applied patches}
    2.17 -
    2.18 -The \hgxcmd{mq}{qapplied} command prints the current stack of applied
    2.19 -patches.  Patches are printed in oldest-to-newest order, so the last
    2.20 -patch in the list is the ``top'' patch.
    2.21 -
    2.22 -\subsection{\hgxcmd{mq}{qcommit}---commit changes in the queue repository}
    2.23 -
    2.24 -The \hgxcmd{mq}{qcommit} command commits any outstanding changes in the
    2.25 -\sdirname{.hg/patches} repository.  This command only works if the
    2.26 -\sdirname{.hg/patches} directory is a repository, i.e.~you created the
    2.27 -directory using \hgcmdargs{qinit}{\hgxopt{mq}{qinit}{-c}} or ran
    2.28 -\hgcmd{init} in the directory after running \hgxcmd{mq}{qinit}.
    2.29 -
    2.30 -This command is shorthand for \hgcmdargs{commit}{--cwd .hg/patches}.
    2.31 -
    2.32 -\subsection{\hgxcmd{mq}{qdelete}---delete a patch from the
    2.33 -  \sfilename{series} file}
    2.34 -
    2.35 -The \hgxcmd{mq}{qdelete} command removes the entry for a patch from the
    2.36 -\sfilename{series} file in the \sdirname{.hg/patches} directory.  It
    2.37 -does not pop the patch if the patch is already applied.  By default,
    2.38 -it does not delete the patch file; use the \hgxopt{mq}{qdel}{-f} option to
    2.39 -do that.
    2.40 -
    2.41 -Options:
    2.42 -\begin{itemize}
    2.43 -\item[\hgxopt{mq}{qdel}{-f}] Delete the patch file.
    2.44 -\end{itemize}
    2.45 -
    2.46 -\subsection{\hgxcmd{mq}{qdiff}---print a diff of the topmost applied patch}
    2.47 -
    2.48 -The \hgxcmd{mq}{qdiff} command prints a diff of the topmost applied patch.
    2.49 -It is equivalent to \hgcmdargs{diff}{-r-2:-1}.
    2.50 -
    2.51 -\subsection{\hgxcmd{mq}{qfold}---merge (``fold'') several patches into one}
    2.52 -
    2.53 -The \hgxcmd{mq}{qfold} command merges multiple patches into the topmost
    2.54 -applied patch, so that the topmost applied patch makes the union of
    2.55 -all of the changes in the patches in question.
    2.56 -
    2.57 -The patches to fold must not be applied; \hgxcmd{mq}{qfold} will exit with
    2.58 -an error if any is.  The order in which patches are folded is
    2.59 -significant; \hgcmdargs{qfold}{a b} means ``apply the current topmost
    2.60 -patch, followed by \texttt{a}, followed by \texttt{b}''.
    2.61 -
    2.62 -The comments from the folded patches are appended to the comments of
    2.63 -the destination patch, with each block of comments separated by three
    2.64 -asterisk (``\texttt{*}'') characters.  Use the \hgxopt{mq}{qfold}{-e}
    2.65 -option to edit the commit message for the combined patch/changeset
    2.66 -after the folding has completed.
    2.67 -
    2.68 -Options:
    2.69 -\begin{itemize}
    2.70 -\item[\hgxopt{mq}{qfold}{-e}] Edit the commit message and patch description
    2.71 -  for the newly folded patch.
    2.72 -\item[\hgxopt{mq}{qfold}{-l}] Use the contents of the given file as the new
    2.73 -  commit message and patch description for the folded patch.
    2.74 -\item[\hgxopt{mq}{qfold}{-m}] Use the given text as the new commit message
    2.75 -  and patch description for the folded patch.
    2.76 +\subsection{\hgxcmd{mq}{qapplied}---imprimir los parches aplicados}
    2.77 +
    2.78 +La orden \hgxcmd{mq}{qapplied} imprime la pila actual de parches
    2.79 +aplicados.  Los parches se imprimen en orden de antigüedad, primero
    2.80 +los más antiguos y después los más recientes, por lo tanto el último
    2.81 +parche de la lista es el que está en el ``tope''.
    2.82 +
    2.83 +\subsection{\hgxcmd{mq}{qcommit}---consignar cambios en la cola del repositorio}
    2.84 +
    2.85 +La orden \hgxcmd{mq}{qcommit} consigna cualquier cambio sobresaliente
    2.86 +en el repositorio \sdirname{.hg/patches}.  Esta orden solamente
    2.87 +funciona si el directorio \sdirname{.hg/patches} es un repositorio,
    2.88 +p.e.~usted creó el directorio con
    2.89 +\hgcmdargs{qinit}{\hgxopt{mq}{qinit}{-c}} o ejecutó
    2.90 +\hgcmd{init} en el directorio después de correr \hgxcmd{mq}{qinit}.
    2.91 +
    2.92 +Esta orden es un atajo para \hgcmdargs{commit}{--cwd .hg/patches}.
    2.93 +
    2.94 +\subsection{\hgxcmd{mq}{qdelete}---elimina un parche del fichero
    2.95 +  \sfilename{series}}
    2.96 +
    2.97 +La orden \hgxcmd{mq}{qdelete} elimina la entrada del fichero
    2.98 +\sfilename{series} para el parche en el directorio
    2.99 +\sdirname{.hg/patches}.  No sca el parche si ha sido aplicado.  De
   2.100 +forma predeterminada no borra el fichero del parche; use la opción
   2.101 +\hgxopt{mq}{qdel}{-f} para hacerlo.
   2.102 +
   2.103 +Opciones:
   2.104 +\begin{itemize}
   2.105 +\item[\hgxopt{mq}{qdel}{-f}] Elimina el fichero del parche.
   2.106 +\end{itemize}
   2.107 +
   2.108 +\subsection{\hgxcmd{mq}{qdiff}---imprimir la diferencia del último
   2.109 +  parche aplicado}
   2.110 +
   2.111 +La orden \hgxcmd{mq}{qdiff} imprime un diff del parche más
   2.112 +recientemente aplicado.  Es equivalente a \hgcmdargs{diff}{-r-2:-1}.
   2.113 +
   2.114 +\subsection{\hgxcmd{mq}{qfold}---fusionar (``fold'') varios parches en
   2.115 +  uno solo}
   2.116 +
   2.117 +La orden \hgxcmd{mq}{qfold} fusiona muchos parches en el último parche
   2.118 +aplicado, de tal forma que el último parche aplicado es la unión de
   2.119 +todos los cambios de los parches en cuestión.
   2.120 +
   2.121 +Los parches a fusionar no deben haber sido aplicados;
   2.122 +\hgxcmd{mq}{qfold} saldrá indicando un error si alguno ha sido
   2.123 +aplicado.  El orden en el cual los parches se pliegan es
   2.124 +significativo; \hgcmdargs{qfold}{a b} significa ``aplique el parche
   2.125 +más reciente, seguido de \texttt{a}, y seguido de \texttt{b}''.
   2.126 +
   2.127 +Los comentarios de los parches plegados se colocan al final de los
   2.128 +comentarios del parche destino, con cada bloque de comentarios
   2.129 +separado con tres asteriscos(``\texttt{*}'').  Se usa la opción
   2.130 +\hgxopt{mq}{qfold}{-e} para editar el mensaje de consignación para el
   2.131 +conjunto de cambios/parches después de completarse el pliegue.
   2.132 +
   2.133 +Opciones:
   2.134 +\begin{itemize}
   2.135 +\item[\hgxopt{mq}{qfold}{-e}] Edita el mensaje de consignación y la
   2.136 +  descripción del parche del parche que se ha plegado.
   2.137 +\item[\hgxopt{mq}{qfold}{-l}] Usa los contenidos del fichero dado como
   2.138 +  el nuevo mensaje de consignación y descripción del parche para el
   2.139 +  parche a plegar.
   2.140 +\item[\hgxopt{mq}{qfold}{-m}] Usa el texto dado como el mensaje de
   2.141 +  consignación y descripción del parche para el parche plegado.
   2.142  \end{itemize}
   2.143  
   2.144  \subsection{\hgxcmd{mq}{qheader}---display the header/description of a patch}