hgbook

diff es/mq-ref.tex @ 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 7e52f0cc4516
children 419853691d11
line diff
     1.1 --- a/es/mq-ref.tex	Sat Oct 18 15:44:41 2008 -0500
     1.2 +++ b/es/mq-ref.tex	Tue Jan 06 22:40:18 2009 -0500
     1.3 @@ -1,72 +1,78 @@
     1.4 -\chapter{Mercurial Queues reference}
     1.5 +\chapter{Referencia de las Colas de Mercurial}
     1.6  \label{chap:mqref}
     1.7  
     1.8 -\section{MQ command reference}
     1.9 +\section{Referencia de órdenes MQ}
    1.10  \label{sec:mqref:cmdref}
    1.11  
    1.12 -For an overview of the commands provided by MQ, use the command
    1.13 +Si desea dar un vistazo a las órdenes que ofrece MQ, use la orden
    1.14  \hgcmdargs{help}{mq}.
    1.15  
    1.16 -\subsection{\hgxcmd{mq}{qapplied}---print applied patches}
    1.17 -
    1.18 -The \hgxcmd{mq}{qapplied} command prints the current stack of applied
    1.19 -patches.  Patches are printed in oldest-to-newest order, so the last
    1.20 -patch in the list is the ``top'' patch.
    1.21 -
    1.22 -\subsection{\hgxcmd{mq}{qcommit}---commit changes in the queue repository}
    1.23 -
    1.24 -The \hgxcmd{mq}{qcommit} command commits any outstanding changes in the
    1.25 -\sdirname{.hg/patches} repository.  This command only works if the
    1.26 -\sdirname{.hg/patches} directory is a repository, i.e.~you created the
    1.27 -directory using \hgcmdargs{qinit}{\hgxopt{mq}{qinit}{-c}} or ran
    1.28 -\hgcmd{init} in the directory after running \hgxcmd{mq}{qinit}.
    1.29 -
    1.30 -This command is shorthand for \hgcmdargs{commit}{--cwd .hg/patches}.
    1.31 -
    1.32 -\subsection{\hgxcmd{mq}{qdelete}---delete a patch from the
    1.33 -  \sfilename{series} file}
    1.34 -
    1.35 -The \hgxcmd{mq}{qdelete} command removes the entry for a patch from the
    1.36 -\sfilename{series} file in the \sdirname{.hg/patches} directory.  It
    1.37 -does not pop the patch if the patch is already applied.  By default,
    1.38 -it does not delete the patch file; use the \hgxopt{mq}{qdel}{-f} option to
    1.39 -do that.
    1.40 -
    1.41 -Options:
    1.42 -\begin{itemize}
    1.43 -\item[\hgxopt{mq}{qdel}{-f}] Delete the patch file.
    1.44 -\end{itemize}
    1.45 -
    1.46 -\subsection{\hgxcmd{mq}{qdiff}---print a diff of the topmost applied patch}
    1.47 -
    1.48 -The \hgxcmd{mq}{qdiff} command prints a diff of the topmost applied patch.
    1.49 -It is equivalent to \hgcmdargs{diff}{-r-2:-1}.
    1.50 -
    1.51 -\subsection{\hgxcmd{mq}{qfold}---merge (``fold'') several patches into one}
    1.52 -
    1.53 -The \hgxcmd{mq}{qfold} command merges multiple patches into the topmost
    1.54 -applied patch, so that the topmost applied patch makes the union of
    1.55 -all of the changes in the patches in question.
    1.56 -
    1.57 -The patches to fold must not be applied; \hgxcmd{mq}{qfold} will exit with
    1.58 -an error if any is.  The order in which patches are folded is
    1.59 -significant; \hgcmdargs{qfold}{a b} means ``apply the current topmost
    1.60 -patch, followed by \texttt{a}, followed by \texttt{b}''.
    1.61 -
    1.62 -The comments from the folded patches are appended to the comments of
    1.63 -the destination patch, with each block of comments separated by three
    1.64 -asterisk (``\texttt{*}'') characters.  Use the \hgxopt{mq}{qfold}{-e}
    1.65 -option to edit the commit message for the combined patch/changeset
    1.66 -after the folding has completed.
    1.67 -
    1.68 -Options:
    1.69 -\begin{itemize}
    1.70 -\item[\hgxopt{mq}{qfold}{-e}] Edit the commit message and patch description
    1.71 -  for the newly folded patch.
    1.72 -\item[\hgxopt{mq}{qfold}{-l}] Use the contents of the given file as the new
    1.73 -  commit message and patch description for the folded patch.
    1.74 -\item[\hgxopt{mq}{qfold}{-m}] Use the given text as the new commit message
    1.75 -  and patch description for the folded patch.
    1.76 +\subsection{\hgxcmd{mq}{qapplied}---imprimir los parches aplicados}
    1.77 +
    1.78 +La orden \hgxcmd{mq}{qapplied} imprime la pila actual de parches
    1.79 +aplicados.  Los parches se imprimen en orden de antigüedad, primero
    1.80 +los más antiguos y después los más recientes, por lo tanto el último
    1.81 +parche de la lista es el que está en el ``tope''.
    1.82 +
    1.83 +\subsection{\hgxcmd{mq}{qcommit}---consignar cambios en la cola del repositorio}
    1.84 +
    1.85 +La orden \hgxcmd{mq}{qcommit} consigna cualquier cambio sobresaliente
    1.86 +en el repositorio \sdirname{.hg/patches}.  Esta orden solamente
    1.87 +funciona si el directorio \sdirname{.hg/patches} es un repositorio,
    1.88 +p.e.~usted creó el directorio con
    1.89 +\hgcmdargs{qinit}{\hgxopt{mq}{qinit}{-c}} o ejecutó
    1.90 +\hgcmd{init} en el directorio después de correr \hgxcmd{mq}{qinit}.
    1.91 +
    1.92 +Esta orden es un atajo para \hgcmdargs{commit}{--cwd .hg/patches}.
    1.93 +
    1.94 +\subsection{\hgxcmd{mq}{qdelete}---elimina un parche del fichero
    1.95 +  \sfilename{series}}
    1.96 +
    1.97 +La orden \hgxcmd{mq}{qdelete} elimina la entrada del fichero
    1.98 +\sfilename{series} para el parche en el directorio
    1.99 +\sdirname{.hg/patches}.  No sca el parche si ha sido aplicado.  De
   1.100 +forma predeterminada no borra el fichero del parche; use la opción
   1.101 +\hgxopt{mq}{qdel}{-f} para hacerlo.
   1.102 +
   1.103 +Opciones:
   1.104 +\begin{itemize}
   1.105 +\item[\hgxopt{mq}{qdel}{-f}] Elimina el fichero del parche.
   1.106 +\end{itemize}
   1.107 +
   1.108 +\subsection{\hgxcmd{mq}{qdiff}---imprimir la diferencia del último
   1.109 +  parche aplicado}
   1.110 +
   1.111 +La orden \hgxcmd{mq}{qdiff} imprime un diff del parche más
   1.112 +recientemente aplicado.  Es equivalente a \hgcmdargs{diff}{-r-2:-1}.
   1.113 +
   1.114 +\subsection{\hgxcmd{mq}{qfold}---fusionar (``fold'') varios parches en
   1.115 +  uno solo}
   1.116 +
   1.117 +La orden \hgxcmd{mq}{qfold} fusiona muchos parches en el último parche
   1.118 +aplicado, de tal forma que el último parche aplicado es la unión de
   1.119 +todos los cambios de los parches en cuestión.
   1.120 +
   1.121 +Los parches a fusionar no deben haber sido aplicados;
   1.122 +\hgxcmd{mq}{qfold} saldrá indicando un error si alguno ha sido
   1.123 +aplicado.  El orden en el cual los parches se pliegan es
   1.124 +significativo; \hgcmdargs{qfold}{a b} significa ``aplique el parche
   1.125 +más reciente, seguido de \texttt{a}, y seguido de \texttt{b}''.
   1.126 +
   1.127 +Los comentarios de los parches plegados se colocan al final de los
   1.128 +comentarios del parche destino, con cada bloque de comentarios
   1.129 +separado con tres asteriscos(``\texttt{*}'').  Se usa la opción
   1.130 +\hgxopt{mq}{qfold}{-e} para editar el mensaje de consignación para el
   1.131 +conjunto de cambios/parches después de completarse el pliegue.
   1.132 +
   1.133 +Opciones:
   1.134 +\begin{itemize}
   1.135 +\item[\hgxopt{mq}{qfold}{-e}] Edita el mensaje de consignación y la
   1.136 +  descripción del parche del parche que se ha plegado.
   1.137 +\item[\hgxopt{mq}{qfold}{-l}] Usa los contenidos del fichero dado como
   1.138 +  el nuevo mensaje de consignación y descripción del parche para el
   1.139 +  parche a plegar.
   1.140 +\item[\hgxopt{mq}{qfold}{-m}] Usa el texto dado como el mensaje de
   1.141 +  consignación y descripción del parche para el parche plegado.
   1.142  \end{itemize}
   1.143  
   1.144  \subsection{\hgxcmd{mq}{qheader}---display the header/description of a patch}