hgbook

diff es/mq-ref.tex @ 495:dfa2890d9b30

translated most of section 13.8
author Javier Rojas <jerojasro@devnull.li>
date Wed Jan 07 23:38:40 2009 -0500 (2009-01-07)
parents f8614aad2cbb
children 26fb9b724588
line diff
     1.1 --- a/es/mq-ref.tex	Tue Jan 06 22:40:18 2009 -0500
     1.2 +++ b/es/mq-ref.tex	Wed Jan 07 23:38:40 2009 -0500
     1.3 @@ -25,7 +25,7 @@
     1.4  
     1.5  Esta orden es un atajo para \hgcmdargs{commit}{--cwd .hg/patches}.
     1.6  
     1.7 -\subsection{\hgxcmd{mq}{qdelete}---elimina un parche del fichero
     1.8 +\subsection{\hgxcmd{mq}{qdelete}---eliminar un parche del fichero
     1.9    \sfilename{series}}
    1.10  
    1.11  La orden \hgxcmd{mq}{qdelete} elimina la entrada del fichero
    1.12 @@ -45,7 +45,7 @@
    1.13  La orden \hgxcmd{mq}{qdiff} imprime un diff del parche más
    1.14  recientemente aplicado.  Es equivalente a \hgcmdargs{diff}{-r-2:-1}.
    1.15  
    1.16 -\subsection{\hgxcmd{mq}{qfold}---fusionar (``fold'') varios parches en
    1.17 +\subsection{\hgxcmd{mq}{qfold}---fusionar (``integrar'') varios parches en
    1.18    uno solo}
    1.19  
    1.20  La orden \hgxcmd{mq}{qfold} fusiona muchos parches en el último parche
    1.21 @@ -58,7 +58,7 @@
    1.22  significativo; \hgcmdargs{qfold}{a b} significa ``aplique el parche
    1.23  más reciente, seguido de \texttt{a}, y seguido de \texttt{b}''.
    1.24  
    1.25 -Los comentarios de los parches plegados se colocan al final de los
    1.26 +Los comentarios de los parches integrados se colocan al final de los
    1.27  comentarios del parche destino, con cada bloque de comentarios
    1.28  separado con tres asteriscos(``\texttt{*}'').  Se usa la opción
    1.29  \hgxopt{mq}{qfold}{-e} para editar el mensaje de consignación para el
    1.30 @@ -67,69 +67,74 @@
    1.31  Opciones:
    1.32  \begin{itemize}
    1.33  \item[\hgxopt{mq}{qfold}{-e}] Edita el mensaje de consignación y la
    1.34 -  descripción del parche del parche que se ha plegado.
    1.35 +  descripción del parche del parche que se ha integrado.
    1.36  \item[\hgxopt{mq}{qfold}{-l}] Usa los contenidos del fichero dado como
    1.37    el nuevo mensaje de consignación y descripción del parche para el
    1.38 -  parche a plegar.
    1.39 +  parche a integrar.
    1.40  \item[\hgxopt{mq}{qfold}{-m}] Usa el texto dado como el mensaje de
    1.41 -  consignación y descripción del parche para el parche plegado.
    1.42 -\end{itemize}
    1.43 -
    1.44 -\subsection{\hgxcmd{mq}{qheader}---display the header/description of a patch}
    1.45 -
    1.46 -The \hgxcmd{mq}{qheader} command prints the header, or description, of a
    1.47 -patch.  By default, it prints the header of the topmost applied patch.
    1.48 -Given an argument, it prints the header of the named patch.
    1.49 -
    1.50 -\subsection{\hgxcmd{mq}{qimport}---import a third-party patch into the queue}
    1.51 -
    1.52 -The \hgxcmd{mq}{qimport} command adds an entry for an external patch to the
    1.53 -\sfilename{series} file, and copies the patch into the
    1.54 -\sdirname{.hg/patches} directory.  It adds the entry immediately after
    1.55 -the topmost applied patch, but does not push the patch.
    1.56 -
    1.57 -If the \sdirname{.hg/patches} directory is a repository,
    1.58 -\hgxcmd{mq}{qimport} automatically does an \hgcmd{add} of the imported
    1.59 -patch.
    1.60 -
    1.61 -\subsection{\hgxcmd{mq}{qinit}---prepare a repository to work with MQ}
    1.62 -
    1.63 -The \hgxcmd{mq}{qinit} command prepares a repository to work with MQ.  It
    1.64 -creates a directory called \sdirname{.hg/patches}.
    1.65 -
    1.66 -Options:
    1.67 -\begin{itemize}
    1.68 -\item[\hgxopt{mq}{qinit}{-c}] Create \sdirname{.hg/patches} as a repository
    1.69 -  in its own right.  Also creates a \sfilename{.hgignore} file that
    1.70 -  will ignore the \sfilename{status} file.
    1.71 -\end{itemize}
    1.72 -
    1.73 -When the \sdirname{.hg/patches} directory is a repository, the
    1.74 -\hgxcmd{mq}{qimport} and \hgxcmd{mq}{qnew} commands automatically \hgcmd{add}
    1.75 -new patches.
    1.76 -
    1.77 -\subsection{\hgxcmd{mq}{qnew}---create a new patch}
    1.78 -
    1.79 -The \hgxcmd{mq}{qnew} command creates a new patch.  It takes one mandatory
    1.80 -argument, the name to use for the patch file.  The newly created patch
    1.81 -is created empty by default.  It is added to the \sfilename{series}
    1.82 -file after the current topmost applied patch, and is immediately
    1.83 -pushed on top of that patch.
    1.84 -
    1.85 -If \hgxcmd{mq}{qnew} finds modified files in the working directory, it will
    1.86 -refuse to create a new patch unless the \hgxopt{mq}{qnew}{-f} option is
    1.87 -used (see below).  This behaviour allows you to \hgxcmd{mq}{qrefresh} your
    1.88 -topmost applied patch before you apply a new patch on top of it.
    1.89 -
    1.90 -Options:
    1.91 -\begin{itemize}
    1.92 -\item[\hgxopt{mq}{qnew}{-f}] Create a new patch if the contents of the
    1.93 -  working directory are modified.  Any outstanding modifications are
    1.94 -  added to the newly created patch, so after this command completes,
    1.95 -  the working directory will no longer be modified.
    1.96 -\item[\hgxopt{mq}{qnew}{-m}] Use the given text as the commit message.
    1.97 -  This text will be stored at the beginning of the patch file, before
    1.98 -  the patch data.
    1.99 +  consignación y descripción del parche para el parche integrado.
   1.100 +\end{itemize}
   1.101 +
   1.102 +\subsection{\hgxcmd{mq}{qheader}---desplegar el encabezado/descripción
   1.103 +  de un parche}
   1.104 +
   1.105 +La orden \hgxcmd{mq}{qheader} imprime el encabezado o descripción de
   1.106 +un parche.  De forma predeterminada, imprime el encabezado del último
   1.107 +parche aplicado. Si se da un argumento, imprime el encabezado del
   1.108 +parche referenciado.
   1.109 +
   1.110 +\subsection{\hgxcmd{mq}{qimport}---importar el parche de un tercero en
   1.111 +  la cola}
   1.112 +
   1.113 +La orden \hgxcmd{mq}{qimport} añade una entrada de un parche externo
   1.114 +al fichero \sfilename{series} y copia el parche en el directorio
   1.115 +\sdirname{.hg/patches}.  Añade la entrada inmediatamente después del
   1.116 +último parche aplicado, pero no introduce el parche.
   1.117 +
   1.118 +Si el directorio \sdirname{.hg/patches} es un repositorio, 
   1.119 +\hgxcmd{mq}{qimport} automáticamente hace un \hgcmd{add} del parche
   1.120 +importado.
   1.121 +
   1.122 +\subsection{\hgxcmd{mq}{qinit}---preparar un repositorio para trabajar
   1.123 +  con MQ}
   1.124 +
   1.125 +La orden \hgxcmd{mq}{qinit} prepara un repositorio para trabajar con
   1.126 +MQ.  Crea un directorio llamado \sdirname{.hg/patches}.
   1.127 +
   1.128 +Opciones:
   1.129 +\begin{itemize}
   1.130 +\item[\hgxopt{mq}{qinit}{-c}] Crea \sdirname{.hg/patches} como un
   1.131 +  repositorio por sí mismo.  También crea un fichero
   1.132 +  \sfilename{.hgignore} que ignorará el fichero \sfilename{status}.
   1.133 +\end{itemize}
   1.134 +
   1.135 +Cuando el directorio \sdirname{.hg/patches} es un repositorio, las órdenes
   1.136 +\hgxcmd{mq}{qimport} y \hgxcmd{mq}{qnew} hacen \hgcmd{add}
   1.137 +automáticamente a los parches nuevos.
   1.138 +
   1.139 +\subsection{\hgxcmd{mq}{qnew}---crear un parche nuevo}
   1.140 +
   1.141 +La orden \hgxcmd{mq}{qnew} crea un parche nuevo.  Exige un argumento,
   1.142 +el nombre que se usará para tal parche.  El parche recién creado está
   1.143 +vacío inicialmente.   Se añade al fichero \sfilename{series} después
   1.144 +del último parche aplicado, y se introduce en el tope de ese parche.
   1.145 +
   1.146 +Si \hgxcmd{mq}{qnew} encuentra ficheros modificados en el directorio
   1.147 +de trabajo, rehusará crear un parche nuevo a meos que se emplee
   1.148 +\hgxopt{mq}{qnew}{-f} la opción(ver más adelante).  Este
   1.149 +comportamiento le permite hacer \hgxcmd{mq}{qrefresh} al último parche
   1.150 +aplicado antes de aplicar un parche nuevo encima de este.
   1.151 +
   1.152 +Opciones:
   1.153 +\begin{itemize}
   1.154 +\item[\hgxopt{mq}{qnew}{-f}] Crea un parche nuevo si los contenidos
   1.155 +  del directorio actual han sido modificados.  Cualquier modificación
   1.156 +  significativa se añade al parche recientemente creado,  de tal forma
   1.157 +  que al finalizar la orden, el directorio de trabajo no lucirá
   1.158 +  modificado.
   1.159 +\item[\hgxopt{mq}{qnew}{-m}] Usa el texto dado como el mensaje de
   1.160 +  consignación.  Este texto se almacenará al principio del fichero del
   1.161 +  parche, antes de los datos del parche.
   1.162  \end{itemize}
   1.163  
   1.164  \subsection{\hgxcmd{mq}{qnext}---print the name of the next patch}