hgbook-it / it / examples /

<!-- BEGIN template.simple.keywords -->
<screen><prompt>$</prompt> <userinput>hg log -r1 --template 'autore: {author}\n'</userinput>
autore: Bryan O'Sullivan &lt;;
<prompt>$</prompt> <userinput>hg log -r1 --template 'desc:\n{desc}\n'</userinput>
Aggiunta una riga alla fine del file &lt;&lt;hello&gt;&gt;.

In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno possa considerarlo tale) di goodbye.
<prompt>$</prompt> <userinput>hg log -r1 --template 'file: {files}\n'</userinput>
file: goodbye hello
<prompt>$</prompt> <userinput>hg log -r1 --template 'file aggiunti: {file_adds}\n'</userinput>
file aggiunti: goodbye
<prompt>$</prompt> <userinput>hg log -r1 --template 'file rimossi: {file_dels}\n'</userinput>
file rimossi: 
<prompt>$</prompt> <userinput>hg log -r1 --template 'nodo: {node}\n'</userinput>
nodo: fb5e3583537ab9d278f45d18bcb07262af1e7226
<prompt>$</prompt> <userinput>hg log -r1 --template 'genitori: {parents}\n'</userinput>
<prompt>$</prompt> <userinput>hg log -r1 --template 'revisione: {rev}\n'</userinput>
revisione: 1
<prompt>$</prompt> <userinput>hg log -r1 --template 'etichette: {tags}\n'</userinput>
etichette: miaetichetta
<!-- END template.simple.keywords -->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.