hgbook
changeset 946:1f2044943861
Oops, overwrite some of my translation by adding Hugues works... Corrected.
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Mon Feb 16 18:51:52 2009 +0100 (2009-02-16) |
parents | 5016d2b44950 |
children | f2670f1d13f1 |
files | fr/tour-basic.tex |
line diff
1.1 --- a/fr/tour-basic.tex Mon Feb 16 18:44:54 2009 +0100 1.2 +++ b/fr/tour-basic.tex Mon Feb 16 18:51:52 2009 +0100 1.3 @@ -278,30 +278,31 @@ 1.4 1.5 \subsection{Informations détaillées} 1.6 1.7 -While the summary information printed by \hgcmd{log} is useful if you 1.8 -already know what you're looking for, you may need to see a complete 1.9 -description of the change, or a list of the files changed, if you're 1.10 -trying to decide whether a changeset is the one you're looking for. 1.11 -The \hgcmd{log} command's \hggopt{-v} (or \hggopt{--verbose}) 1.12 -option gives you this extra detail. 1.13 -\interaction{tour.log-v} 1.14 - 1.15 -If you want to see both the description and content of a change, add 1.16 -the \hgopt{log}{-p} (or \hgopt{log}{--patch}) option. This displays 1.17 -the content of a change as a \emph{unified diff} (if you've never seen 1.18 -a unified diff before, see section~\ref{sec:mq:patch} for an overview). 1.19 -\interaction{tour.log-vp} 1.20 - 1.21 -\section{All about command options} 1.22 - 1.23 -Let's take a brief break from exploring Mercurial commands to discuss 1.24 -a pattern in the way that they work; you may find this useful to keep 1.25 -in mind as we continue our tour. 1.26 - 1.27 -Mercurial has a consistent and straightforward approach to dealing 1.28 -with the options that you can pass to commands. It follows the 1.29 -conventions for options that are common to modern Linux and Unix 1.30 -systems. 1.31 +Si le résumé affiché par \hgcmd{log} est utile si vous savez déjà ce 1.32 +que vous cherchez. Vous aurez probablement besoin de voir un description 1.33 +complète du changement, ou une liste des fichiers modifiés. Si vous 1.34 +cherchez à déterminer si ce \textit{changeset} est bien celui que vous 1.35 +recherchez. L'option \hgopt{-v} de la commande \hgcmd{log} (ou 1.36 +\hgopt{--verbose}) vous donne des informations supplémentaires. 1.37 + 1.38 +Si vous voulez voir à la fois la description et le contenu d'une 1.39 +modification, ajouter l'option \hgopt{log}{-p} (ou \hgopt{log}{--patch}). 1.40 +Ceci affiche le contenu d'une modification comme un \emph{diff unifié} 1.41 +\footnote{NdT: \textit{unified diff}} (si vous n'avez jamais vu de diff 1.42 +unifié avant, consulter la section~\ref{sec:mq:patch} pour rapide 1.43 +survol). 1.44 + 1.45 + 1.46 +\section{Tout sur les options de commandes} 1.47 + 1.48 +Avant d'aller plus loin sur le fonctionnement des commandes de Mercurial, 1.49 +étudions un moment comment elles fonctionnent de manière générale, vous 1.50 +trouverez ça probablement utile pour la suite de notre parcours. 1.51 + 1.52 +Mercurial a une manière approche directe et cohérente pour interpréter 1.53 +les options que vous passez aux commandes. Il suit une convention commune 1.54 +à la plupart des systèmes Unix et Linux modernes. 1.55 + 1.56 \begin{itemize} 1.57 \item Every option has a long name. For example, as we've already 1.58 seen, the \hgcmd{log} command accepts a \hgopt{log}{--rev} option.