Mercurial > hg > mercurial-talk
comparison query-languages.tex @ 351:36ac1f9e0265
There is actually no eol fileset predicate
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Wed, 20 Jun 2012 17:29:05 +0200 |
parents | e22ae1638567 |
children | 99d91cd13622 |
comparison
equal
deleted
inserted
replaced
350:e22ae1638567 | 351:36ac1f9e0265 |
---|---|
456 \begin{lstlisting} | 456 \begin{lstlisting} |
457 $ hg locate "set:glob('**.py') and not encoding('UTF-8')" | 457 $ hg locate "set:glob('**.py') and not encoding('UTF-8')" |
458 src/foo.py | 458 src/foo.py |
459 \end{lstlisting} | 459 \end{lstlisting} |
460 | 460 |
461 \item \cmd{eol()}: line-ending type, Unix (LF) or DOS (CRLF) | |
462 \end{itemize} | 461 \end{itemize} |
463 \end{frame} | 462 \end{frame} |
464 | 463 |
465 \begin{frame}{Adding New Predicates} | 464 \begin{frame}{Adding New Predicates} |
466 The feature will be extensible, some possible future extensions: | 465 The feature will be extensible, some possible future extensions: |
467 \begin{itemize} | 466 \begin{itemize} |
467 \item \cmd{eol()}: line-ending type, Unix (LF) or DOS (CRLF) | |
468 \item \cmd{magic()}: recognize files based on file content, like the | 468 \item \cmd{magic()}: recognize files based on file content, like the |
469 \cmd{file} program in Unix | 469 \cmd{file} program in Unix |
470 \item \cmd{locked()}: files locked for exclusive access by my | 470 \item \cmd{locked()}: files locked for exclusive access by my |
471 \ext{lock} extension | 471 \ext{lock} extension |
472 \end{itemize} | 472 \end{itemize} |