hgbook
diff it/examples/template.simple.manyfilters.it @ 999:a6b81cd31cfd
adding complete.xml - which generated but Bryan did add it also - as I have absolutly no personnality I do as he does
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Sat Sep 12 20:53:36 2009 +0200 (2009-09-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/it/examples/template.simple.manyfilters.it Sat Sep 12 20:53:36 2009 +0200 1.3 @@ -0,0 +1,65 @@ 1.4 +<!-- BEGIN template.simple.manyfilters --> 1.5 +<screen><prompt>$</prompt> <userinput>hg log -r1 --template '{author}\n'</userinput> 1.6 +Bryan O'Sullivan <bos@serpentine.com> 1.7 +<prompt>$</prompt> <userinput>hg log -r1 --template '{author|domain}\n'</userinput> 1.8 +serpentine.com 1.9 +<prompt>$</prompt> <userinput>hg log -r1 --template '{author|email}\n'</userinput> 1.10 +bos@serpentine.com 1.11 +<prompt>$</prompt> <userinput>hg log -r1 --template '{author|obfuscate}\n' | cut -c-76</userinput> 1.12 +&#66;&#114;&#121;&#97;&#110;&#32;&#79;&#39;&#83;&#117;&#108;&#108;&#105;&#11 1.13 +<prompt>$</prompt> <userinput>hg log -r1 --template '{author|person}\n'</userinput> 1.14 +Bryan O'Sullivan 1.15 +<prompt>$</prompt> <userinput>hg log -r1 --template '{author|user}\n'</userinput> 1.16 +bos 1.17 +<prompt>$</prompt> <userinput>hg log -r1 --template 'sembra quasi giusta, ma in realtà è inutilizzabile: {date}\n'</userinput> 1.18 +sembra quasi giusta, ma in realtà è inutilizzabile: 1244217084.00 1.19 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|age}\n'</userinput> 1.20 +10 secondi 1.21 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|date}\n'</userinput> 1.22 +Fri Jun 05 15:51:24 2009 +0000 1.23 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|hgdate}\n'</userinput> 1.24 +1244217084 0 1.25 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|isodate}\n'</userinput> 1.26 +2009-06-05 15:51 +0000 1.27 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|rfc822date}\n'</userinput> 1.28 +Fri, 05 Jun 2009 15:51:24 +0000 1.29 +<prompt>$</prompt> <userinput>hg log -r1 --template '{date|shortdate}\n'</userinput> 1.30 +2009-06-05 1.31 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc}\n' | cut -c-76</userinput> 1.32 +Aggiunta una riga alla fine del file <<hello>>. 1.33 + 1.34 +In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno 1.35 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|addbreaks}\n' | cut -c-76</userinput> 1.36 +Aggiunta una riga alla fine del file <<hello>>.<br/> 1.37 +<br/> 1.38 +In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno 1.39 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|escape}\n' | cut -c-76</userinput> 1.40 +Aggiunta una riga alla fine del file &lt;&lt;hello&gt;&gt;. 1.41 + 1.42 +In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno 1.43 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|fill68}\n'</userinput> 1.44 +Aggiunta una riga alla fine del file <<hello>>. 1.45 + 1.46 +In più, aggiunto un file con il nome indicativo (almeno spero che 1.47 +qualcuno possa considerarlo tale) di goodbye. 1.48 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|fill76}\n'</userinput> 1.49 +Aggiunta una riga alla fine del file <<hello>>. 1.50 + 1.51 +In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno 1.52 +possa considerarlo tale) di goodbye. 1.53 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|firstline}\n'</userinput> 1.54 +Aggiunta una riga alla fine del file <<hello>>. 1.55 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|strip}\n' | cut -c-76</userinput> 1.56 +Aggiunta una riga alla fine del file <<hello>>. 1.57 + 1.58 +In più, aggiunto un file con il nome indicativo (almeno spero che qualcuno 1.59 +<prompt>$</prompt> <userinput>hg log -r1 --template '{desc|tabindent}\n' | expand | cut -c-76</userinput> 1.60 +Aggiunta una riga alla fine del file <<hello>>. 1.61 + 1.62 + In più, aggiunto un file con il nome indicativo (almeno spero che qu 1.63 +<prompt>$</prompt> <userinput>hg log -r1 --template '{node}\n'</userinput> 1.64 +fb5e3583537ab9d278f45d18bcb07262af1e7226 1.65 +<prompt>$</prompt> <userinput>hg log -r1 --template '{node|short}\n'</userinput> 1.66 +fb5e3583537a 1.67 +</screen> 1.68 +<!-- END template.simple.manyfilters -->