hgbook

changeset 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 dfa2890d9b30 26fb9b724588
children 58dbbfef964f
files es/Leame.1st
line diff
     1.1 --- a/es/Leame.1st	Wed Jan 07 23:38:40 2009 -0500
     1.2 +++ b/es/Leame.1st	Wed Jan 07 23:42:24 2009 -0500
     1.3 @@ -109,8 +109,8 @@
     1.4  || mq.tex          || Igor Támara   ||    100%    || 06/12/2008 ||  13/12/2008 ||
     1.5  || hgext.tex       || Igor Támara   ||    100%    || 13/12/2008 ||  16/12/2008 ||
     1.6  || template.tex    || Igor Támara   ||    100%    || 27/12/2008 ||  01/01/2009 ||
     1.7 -|| mq-collab.tex   || Javier Rojas  ||     48%    || 04/01/2009 ||             ||
     1.8 -|| mq-ref.tex      || Igor Támara   ||     30%    || 06/01/2009 ||             ||
     1.9 +|| mq-collab.tex   || Javier Rojas  ||     69%    || 04/01/2009 ||             ||
    1.10 +|| mq-ref.tex      || Igor Támara   ||     48%    || 06/01/2009 ||             ||
    1.11  || cmdref.tex      || Igor Támara   ||    100%    || 01/01/2009 ||  01/01/2009 ||
    1.12  || license.tex     || Igor Támara   ||    100%    || 16/12/2008 ||  16/12/2008 ||
    1.13  || srcinstall.tex  || Igor Támara   ||    100%    || 01/01/2009 ||  01/01/2009 ||
     2.1 --- a/es/mq-ref.tex	Wed Jan 07 23:38:40 2009 -0500
     2.2 +++ b/es/mq-ref.tex	Wed Jan 07 23:42:24 2009 -0500
     2.3 @@ -137,57 +137,61 @@
     2.4    parche, antes de los datos del parche.
     2.5  \end{itemize}
     2.6  
     2.7 -\subsection{\hgxcmd{mq}{qnext}---print the name of the next patch}
     2.8 -
     2.9 -The \hgxcmd{mq}{qnext} command prints the name name of the next patch in
    2.10 -the \sfilename{series} file after the topmost applied patch.  This
    2.11 -patch will become the topmost applied patch if you run \hgxcmd{mq}{qpush}.
    2.12 -
    2.13 -\subsection{\hgxcmd{mq}{qpop}---pop patches off the stack}
    2.14 -
    2.15 -The \hgxcmd{mq}{qpop} command removes applied patches from the top of the
    2.16 -stack of applied patches.  By default, it removes only one patch.
    2.17 -
    2.18 -This command removes the changesets that represent the popped patches
    2.19 -from the repository, and updates the working directory to undo the
    2.20 -effects of the patches.
    2.21 -
    2.22 -This command takes an optional argument, which it uses as the name or
    2.23 -index of the patch to pop to.  If given a name, it will pop patches
    2.24 -until the named patch is the topmost applied patch.  If given a
    2.25 -number, \hgxcmd{mq}{qpop} treats the number as an index into the entries in
    2.26 -the series file, counting from zero (empty lines and lines containing
    2.27 -only comments do not count).  It pops patches until the patch
    2.28 -identified by the given index is the topmost applied patch.
    2.29 -
    2.30 -The \hgxcmd{mq}{qpop} command does not read or write patches or the
    2.31 -\sfilename{series} file.  It is thus safe to \hgxcmd{mq}{qpop} a patch that
    2.32 -you have removed from the \sfilename{series} file, or a patch that you
    2.33 -have renamed or deleted entirely.  In the latter two cases, use the
    2.34 -name of the patch as it was when you applied it.
    2.35 -
    2.36 -By default, the \hgxcmd{mq}{qpop} command will not pop any patches if the
    2.37 -working directory has been modified.  You can override this behaviour
    2.38 -using the \hgxopt{mq}{qpop}{-f} option, which reverts all modifications in
    2.39 -the working directory.
    2.40 -
    2.41 -Options:
    2.42 -\begin{itemize}
    2.43 -\item[\hgxopt{mq}{qpop}{-a}] Pop all applied patches.  This returns the
    2.44 -  repository to its state before you applied any patches.
    2.45 -\item[\hgxopt{mq}{qpop}{-f}] Forcibly revert any modifications to the
    2.46 -  working directory when popping.
    2.47 -\item[\hgxopt{mq}{qpop}{-n}] Pop a patch from the named queue.
    2.48 -\end{itemize}
    2.49 -
    2.50 -The \hgxcmd{mq}{qpop} command removes one line from the end of the
    2.51 -\sfilename{status} file for each patch that it pops.
    2.52 -
    2.53 -\subsection{\hgxcmd{mq}{qprev}---print the name of the previous patch}
    2.54 -
    2.55 -The \hgxcmd{mq}{qprev} command prints the name of the patch in the
    2.56 -\sfilename{series} file that comes before the topmost applied patch.
    2.57 -This will become the topmost applied patch if you run \hgxcmd{mq}{qpop}.
    2.58 +\subsection{\hgxcmd{mq}{qnext}---imprimir el nombre del próximo parche}
    2.59 +
    2.60 +La orden \hgxcmd{mq}{qnext} imprime el nombre del siguiente parche en
    2.61 +el fichero \sfilename{series} a continuación del último parche
    2.62 +aplicado.  Este parche sería el próximo parche a aplicar si se
    2.63 +ejecutara la orden \hgxcmd{mq}{qpush}.
    2.64 +
    2.65 +\subsection{\hgxcmd{mq}{qpop}---sustraer parches de la pila}
    2.66 +
    2.67 +La orden \hgxcmd{mq}{qpop} elimina los parches aplicados del tope de
    2.68 +la pila de parches aplicados.  De forma predeterminada solamente
    2.69 +remueve un parche.
    2.70 +
    2.71 +Esta orden elimina los conjuntos de cambios que representan los
    2.72 +parches sustraídos del repositorio, y actualiza el directorio de
    2.73 +trabajo para deshacer los efectos de los parches.
    2.74 +
    2.75 +Esta orden toma un argumento opcional, que usa como el nombre o el
    2.76 +índice del parche que desea sustraer.  Si se da el nombre, sustraerá
    2.77 +los parches hasta que el parche nombrado sea el último parche
    2.78 +aplicado.  Si se da un número, \hgxcmd{mq}{qpop} lo trata como un
    2.79 +índice dentro del fichero \sfilename{series},  contando desde
    2.80 +cero(no cuenta las líneas vacías o aquellas que sean únicamente
    2.81 +comentarios).  Sustrae los parches hasta que el parche identificado
    2.82 +por el índice sea el último parche aplicado.
    2.83 +
    2.84 +La orden \hgxcmd{mq}{qpop} no lee o escribe parches en el fichero
    2.85 +\sfilename{series}.  \hgxcmd{mq}{qpop} se constituye por tanto en una
    2.86 +forma segura de sustraer un parche del fichero \sfilename{series} o un
    2.87 +parche que ha eliminado o renombrado completamente.  En los dos
    2.88 +últimos casos, use el nombre del parche tal como lo hizo cuando lo
    2.89 +aplicó.
    2.90 +
    2.91 +De forma predeterminada, la orden \hgxcmd{mq}{qpop} no sustraerá
    2.92 +parche alguno si el directorio de trabajo ha sido modificado.  Puede
    2.93 +modificar este comportamiento con la opción \hgxopt{mq}{qpop}{-f}, que
    2.94 +revierte todas las modificaciones del directorio de trabajo.
    2.95 +
    2.96 +Opciones:
    2.97 +\begin{itemize}
    2.98 +\item[\hgxopt{mq}{qpop}{-a}] Sustrae todos los parches aplicados.
    2.99 +  Restaura el repositorio al estado antes de haber aplicado parche alguno.
   2.100 +\item[\hgxopt{mq}{qpop}{-f}] Revertir forzadamente cualquier
   2.101 +  modificación del directorio de trabajo cuando se hace sustracciones.
   2.102 +\item[\hgxopt{mq}{qpop}{-n}] Sustraer un parche de la cola dado un nombre.
   2.103 +\end{itemize}
   2.104 +
   2.105 +La orden \hgxcmd{mq}{qpop} elimina una línea del final del fichero
   2.106 +\sfilename{status} por cada parche que se sustrae.
   2.107 +
   2.108 +\subsection{\hgxcmd{mq}{qprev}---imprimir el nombre del parche anterior}
   2.109 +
   2.110 +La orden \hgxcmd{mq}{qprev} imprime el nombre del parche en el fichero
   2.111 +\sfilename{series} que está antes del último parche aplicado.   Este
   2.112 +se volverá el último parche aplicado si ejecuta \hgxcmd{mq}{qpop}.
   2.113  
   2.114  \subsection{\hgxcmd{mq}{qpush}---push patches onto the stack}
   2.115  \label{sec:mqref:cmd:qpush}