hgbook

diff en/examples/hook.ws.better.out @ 144:006bbad1f190

Add expected output files.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 06 21:44:56 2007 -0800 (2007-03-06)
parents
children 8cf40d4d9377
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/examples/hook.ws.better.out	Tue Mar 06 21:44:56 2007 -0800
     1.3 @@ -0,0 +1,106 @@
     1.4 +$ \textbf{cat .hg/hgrc}
     1.5 +[hooks]
     1.6 +pretxncommit.whitespace = check_whitespace.py
     1.7 +$ \textbf{echo 'a ' >> a}
     1.8 +$ \textbf{hg commit -A -m 'add new line with trailing whitespace'}
     1.9 +adding check_whitespace.py
    1.10 +a, line 2: trailing whitespace added
    1.11 +check_whitespace.py, line 1: trailing whitespace added
    1.12 +check_whitespace.py, line 2: trailing whitespace added
    1.13 +check_whitespace.py, line 3: trailing whitespace added
    1.14 +check_whitespace.py, line 4: trailing whitespace added
    1.15 +check_whitespace.py, line 5: trailing whitespace added
    1.16 +check_whitespace.py, line 6: trailing whitespace added
    1.17 +check_whitespace.py, line 7: trailing whitespace added
    1.18 +check_whitespace.py, line 8: trailing whitespace added
    1.19 +check_whitespace.py, line 9: trailing whitespace added
    1.20 +check_whitespace.py, line 10: trailing whitespace added
    1.21 +check_whitespace.py, line 11: trailing whitespace added
    1.22 +check_whitespace.py, line 12: trailing whitespace added
    1.23 +check_whitespace.py, line 13: trailing whitespace added
    1.24 +check_whitespace.py, line 14: trailing whitespace added
    1.25 +check_whitespace.py, line 15: trailing whitespace added
    1.26 +check_whitespace.py, line 16: trailing whitespace added
    1.27 +check_whitespace.py, line 17: trailing whitespace added
    1.28 +check_whitespace.py, line 18: trailing whitespace added
    1.29 +check_whitespace.py, line 19: trailing whitespace added
    1.30 +check_whitespace.py, line 20: trailing whitespace added
    1.31 +check_whitespace.py, line 21: trailing whitespace added
    1.32 +check_whitespace.py, line 22: trailing whitespace added
    1.33 +check_whitespace.py, line 23: trailing whitespace added
    1.34 +check_whitespace.py, line 24: trailing whitespace added
    1.35 +check_whitespace.py, line 25: trailing whitespace added
    1.36 +check_whitespace.py, line 26: trailing whitespace added
    1.37 +check_whitespace.py, line 27: trailing whitespace added
    1.38 +check_whitespace.py, line 28: trailing whitespace added
    1.39 +check_whitespace.py, line 29: trailing whitespace added
    1.40 +check_whitespace.py, line 30: trailing whitespace added
    1.41 +check_whitespace.py, line 31: trailing whitespace added
    1.42 +check_whitespace.py, line 32: trailing whitespace added
    1.43 +check_whitespace.py, line 33: trailing whitespace added
    1.44 +check_whitespace.py, line 34: trailing whitespace added
    1.45 +check_whitespace.py, line 35: trailing whitespace added
    1.46 +check_whitespace.py, line 36: trailing whitespace added
    1.47 +check_whitespace.py, line 37: trailing whitespace added
    1.48 +check_whitespace.py, line 38: trailing whitespace added
    1.49 +check_whitespace.py, line 39: trailing whitespace added
    1.50 +check_whitespace.py, line 40: trailing whitespace added
    1.51 +check_whitespace.py, line 41: trailing whitespace added
    1.52 +check_whitespace.py, line 42: trailing whitespace added
    1.53 +check_whitespace.py, line 43: trailing whitespace added
    1.54 +check_whitespace.py, line 44: trailing whitespace added
    1.55 +commit message saved to .hg/commit.save
    1.56 +abort: pretxncommit.whitespace hook exited with status 1
    1.57 +transaction abort!
    1.58 +rollback completed
    1.59 +$ \textbf{perl -pi -e 's,\textbackslash{}s+$,,' a}
    1.60 +$ \textbf{hg commit -A -m 'trimmed trailing whitespace'}
    1.61 +a, line 1: trailing whitespace added
    1.62 +check_whitespace.py, line 1: trailing whitespace added
    1.63 +check_whitespace.py, line 2: trailing whitespace added
    1.64 +check_whitespace.py, line 3: trailing whitespace added
    1.65 +check_whitespace.py, line 4: trailing whitespace added
    1.66 +check_whitespace.py, line 5: trailing whitespace added
    1.67 +check_whitespace.py, line 6: trailing whitespace added
    1.68 +check_whitespace.py, line 7: trailing whitespace added
    1.69 +check_whitespace.py, line 8: trailing whitespace added
    1.70 +check_whitespace.py, line 9: trailing whitespace added
    1.71 +check_whitespace.py, line 10: trailing whitespace added
    1.72 +check_whitespace.py, line 11: trailing whitespace added
    1.73 +check_whitespace.py, line 12: trailing whitespace added
    1.74 +check_whitespace.py, line 13: trailing whitespace added
    1.75 +check_whitespace.py, line 14: trailing whitespace added
    1.76 +check_whitespace.py, line 15: trailing whitespace added
    1.77 +check_whitespace.py, line 16: trailing whitespace added
    1.78 +check_whitespace.py, line 17: trailing whitespace added
    1.79 +check_whitespace.py, line 18: trailing whitespace added
    1.80 +check_whitespace.py, line 19: trailing whitespace added
    1.81 +check_whitespace.py, line 20: trailing whitespace added
    1.82 +check_whitespace.py, line 21: trailing whitespace added
    1.83 +check_whitespace.py, line 22: trailing whitespace added
    1.84 +check_whitespace.py, line 23: trailing whitespace added
    1.85 +check_whitespace.py, line 24: trailing whitespace added
    1.86 +check_whitespace.py, line 25: trailing whitespace added
    1.87 +check_whitespace.py, line 26: trailing whitespace added
    1.88 +check_whitespace.py, line 27: trailing whitespace added
    1.89 +check_whitespace.py, line 28: trailing whitespace added
    1.90 +check_whitespace.py, line 29: trailing whitespace added
    1.91 +check_whitespace.py, line 30: trailing whitespace added
    1.92 +check_whitespace.py, line 31: trailing whitespace added
    1.93 +check_whitespace.py, line 32: trailing whitespace added
    1.94 +check_whitespace.py, line 33: trailing whitespace added
    1.95 +check_whitespace.py, line 34: trailing whitespace added
    1.96 +check_whitespace.py, line 35: trailing whitespace added
    1.97 +check_whitespace.py, line 36: trailing whitespace added
    1.98 +check_whitespace.py, line 37: trailing whitespace added
    1.99 +check_whitespace.py, line 38: trailing whitespace added
   1.100 +check_whitespace.py, line 39: trailing whitespace added
   1.101 +check_whitespace.py, line 40: trailing whitespace added
   1.102 +check_whitespace.py, line 41: trailing whitespace added
   1.103 +check_whitespace.py, line 42: trailing whitespace added
   1.104 +check_whitespace.py, line 43: trailing whitespace added
   1.105 +check_whitespace.py, line 44: trailing whitespace added
   1.106 +commit message saved to .hg/commit.save
   1.107 +abort: pretxncommit.whitespace hook exited with status 1
   1.108 +transaction abort!
   1.109 +rollback completed