hgbook
diff fr/examples/template.svnstyle @ 973:1df99de46e39
Finishing works to adapt already existing translations to new xdoc fmt - also add a couple new translations to follow recent modification from Bryan.
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Tue Sep 01 17:00:12 2009 +0200 (2009-09-01) |
parents | 5ffee9123bbf 547d3aa25ef0 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fr/examples/template.svnstyle Tue Sep 01 17:00:12 2009 +0200 1.3 @@ -0,0 +1,71 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +svn() { 1.7 + cat $EXAMPLE_DIR/svn-short.txt 1.8 +} 1.9 + 1.10 +#$ name: short 1.11 + 1.12 +svn log -r9653 1.13 + 1.14 +#$ name: 1.15 + 1.16 +hg init myrepo 1.17 +cd myrepo 1.18 + 1.19 +echo hello > hello 1.20 +hg commit -Am'added hello' 1.21 + 1.22 +echo hello >> hello 1.23 +echo goodbye > goodbye 1.24 +echo ' added line to end of <<hello>> file.' > ../msg 1.25 +echo '' >> ../msg 1.26 +echo 'in addition, added a file with the helpful name (at least i hope that some might consider it so) of goodbye.' >> ../msg 1.27 + 1.28 +hg commit -Al../msg 1.29 + 1.30 +hg tag mytag 1.31 +hg tag v0.1 1.32 + 1.33 +echo 'changeset = "{node|short}\n"' > svn.style 1.34 + 1.35 +#$ name: id 1.36 + 1.37 +hg log -r0 --template '{node}' 1.38 + 1.39 +#$ name: simplest 1.40 +#$ ignore: \d+-\d+-\d+ \d+:\d+ \+.* 1.41 + 1.42 +cat svn.style 1.43 +hg log -r1 --style svn.style 1.44 + 1.45 +#$ name: 1.46 + 1.47 +echo 'changeset =' > broken.style 1.48 + 1.49 +#$ name: syntax.input 1.50 + 1.51 +cat broken.style 1.52 + 1.53 +#$ name: syntax.error 1.54 + 1.55 +hg log -r1 --style broken.style 1.56 + 1.57 +#$ name: 1.58 + 1.59 +cp $EXAMPLE_DIR/svn.style . 1.60 +cp $EXAMPLE_DIR/svn.template . 1.61 + 1.62 +#$ name: template 1.63 + 1.64 +cat svn.template 1.65 + 1.66 +#$ name: style 1.67 + 1.68 +cat svn.style 1.69 + 1.70 +#$ name: result 1.71 +#$ ignore: \| 200[78].* 1.72 + 1.73 +hg log -r1 --style svn.style 1.74 +