# HG changeset patch # User Martin Geisler # Date 1250417311 -7200 # Node ID 60b3fbefbd0e8636c50cb3cda78b1a8b2359e989 # Parent d474c4216b3b0a679c2b2fa2a47f2c597c5f0abc Use full command name. diff --git a/mercurial.tex b/mercurial.tex --- a/mercurial.tex +++ b/mercurial.tex @@ -1,11 +1,9 @@ \documentclass[t,noamsthm]{beamer} \usepackage{listings} - \lstdefinelanguage{hgshell}{ moredelim=[l][\bfseries\color{green!50!black}]{\%}, } - \lstset{ language=hgshell, basicstyle=\footnotesize\ttfamily, @@ -435,7 +433,7 @@ Mercurial will list the file as changed: \begin{lstlisting} -% hg stat +% hg status M hello.c \end{lstlisting} and can list the change: