comparison es/mq.tex @ 543:da4d34e0e250

Translated some more mq paragraphs to spanish
author Igor TAmara <igor@tamarapatino.org>
date Mon, 08 Dec 2008 20:37:58 -0500
parents 2daeda01fe98
children 40ba5d8583c7
comparison
equal deleted inserted replaced
542:2daeda01fe98 543:da4d34e0e250
468 para sacar sustraer el parche de la parte fundamental. Arregla el 468 para sacar sustraer el parche de la parte fundamental. Arregla el
469 fallo sobre la parte fundamental, aplique \hgxcmd{mq}{qrefresh} sobre 469 fallo sobre la parte fundamental, aplique \hgxcmd{mq}{qrefresh} sobre
470 el parche fundamental, y aplique \hgxcmd{mq}{qpush} sobre el parche de 470 el parche fundamental, y aplique \hgxcmd{mq}{qpush} sobre el parche de
471 UI para continuar donde había quedado. 471 UI para continuar donde había quedado.
472 472
473 \section{More about patches} 473 \section{Más acerca de parches}
474 \label{sec:mq:adv-patch} 474 \label{sec:mq:adv-patch}
475 475
476 MQ uses the GNU \command{patch} command to apply patches, so it's 476 MQ usa la orden GNU \command{patch} para aplicar los parches, por lo
477 helpful to know a few more detailed aspects of how \command{patch} 477 tanto es útil conocer ciertos detalles de cómo trabaja
478 works, and about patches themselves. 478 \command{patch}, y también acerca de los parches.
479 479
480 \subsection{The strip count} 480 \subsection{La cantidad de franjas}
481 481
482 If you look at the file headers in a patch, you will notice that the 482 Si ve el encabezado de un parche, notará que la ruta al archivo tiene
483 pathnames usually have an extra component on the front that isn't 483 un componente adicional al principio, que no está presente en la
484 present in the actual path name. This is a holdover from the way that 484 ruta. Esta es una traza de cómo generaba anteriormente los parches la
485 people used to generate patches (people still do this, but it's 485 gente(algunos aún lo hacen, pero es raro con las herramientas de
486 somewhat rare with modern revision control tools). 486 control de revisiones del actuales).
487 487
488 Alice would unpack a tarball, edit her files, then decide that she 488 Alicia desempaquetaría un comprimido, editaría sus archivos, y querría
489 wanted to create a patch. So she'd rename her working directory, 489 crear un parche. Por lo tanto ella renombraría su directorio de
490 unpack the tarball again (hence the need for the rename), and use the 490 trabajo, desempacaría el comprimido de nuevo(para lo cual necesitó el
491 \cmdopt{diff}{-r} and \cmdopt{diff}{-N} options to \command{diff} to 491 renombramiento), y usaría las opciones \cmdopt{diff}{-r} y
492 recursively generate a patch between the unmodified directory and the 492 \cmdopt{diff}{-N} de \command{diff} para generar recursivamente un
493 modified one. The result would be that the name of the unmodified 493 parche entre el directorio original y el modificado. El resultado
494 directory would be at the front of the left-hand path in every file 494 sería que el nombre del directorio original estaría al principio de
495 header, and the name of the modified directory would be at the front 495 toda ruta en cada encabezado de fichero, y el nombre del directorio
496 of the right-hand path. 496 modificado estaría al frente de la porción derecha de la ruta del
497 archivo.
497 498
498 Since someone receiving a patch from the Alices of the net would be 499 Since someone receiving a patch from the Alices of the net would be
499 unlikely to have unmodified and modified directories with exactly the 500 unlikely to have unmodified and modified directories with exactly the
500 same names, the \command{patch} command has a \cmdopt{patch}{-p} 501 same names, the \command{patch} command has a \cmdopt{patch}{-p}
501 option that indicates the number of leading path name components to 502 option that indicates the number of leading path name components to