##// END OF EJS Templates
check-code: fix check for trailing whitespace on empty lines...
Mads Kiilerich -
r17346:2944a6d3 default
parent child Browse files
Show More
@@ -91,7 +91,7 b' testfilters = ['
91 uprefix = r"^ \$ "
91 uprefix = r"^ \$ "
92 utestpats = [
92 utestpats = [
93 [
93 [
94 (r'^(\S| \$ ).*(\S[ \t]+|^[ \t]+)\n', "trailing whitespace on non-output"),
94 (r'^(\S.*|| \$ .*)[ \t]\n', "trailing whitespace on non-output"),
95 (uprefix + r'.*\|\s*sed[^|>\n]*\n',
95 (uprefix + r'.*\|\s*sed[^|>\n]*\n',
96 "use regex test output patterns instead of sed"),
96 "use regex test output patterns instead of sed"),
97 (uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"),
97 (uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"),
@@ -33,7 +33,7 b' Verify that updating to revision 0 via c'
33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
34 $ hg identify -n
34 $ hg identify -n
35 0
35 0
36
36
37
37
38 Poke around at hashes:
38 Poke around at hashes:
39
39
@@ -260,7 +260,7 b' hgweb'
260 Z 2:0d2164f0ce0d
260 Z 2:0d2164f0ce0d
261 foo -1:000000000000
261 foo -1:000000000000
262 foobar 1:9b140be10808
262 foobar 1:9b140be10808
263
263
264 $ cd ..
264 $ cd ..
265
265
266 Pushing a bookmark should only push the changes required by that
266 Pushing a bookmark should only push the changes required by that
@@ -68,5 +68,5 b' Filename with spaces git diffstat:'
68 $ hg diff --stat --git
68 $ hg diff --stat --git
69 file with spaces | Bin
69 file with spaces | Bin
70 1 files changed, 0 insertions(+), 0 deletions(-)
70 1 files changed, 0 insertions(+), 0 deletions(-)
71
71
72 $ cd ..
72 $ cd ..
@@ -248,5 +248,5 b' Test roundtrip encoding of lookup tables'
248
248
249 $ HGENCODING=latin-1 hg up `cat latin-1-tag`
249 $ HGENCODING=latin-1 hg up `cat latin-1-tag`
250 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
250 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
251
251
252 $ cd ..
252 $ cd ..
@@ -80,7 +80,7 b' Test status, subdir and unknown files'
80 $ rm sub/unknown
80 $ rm sub/unknown
81
81
82 Remove both largefiles and normal files.
82 Remove both largefiles and normal files.
83
83
84 $ hg remove normal1 large1
84 $ hg remove normal1 large1
85 $ hg status large1
85 $ hg status large1
86 R large1
86 R large1
@@ -23,7 +23,7 b' Create a repo with several bookmarks'
23 adding b
23 adding b
24 $ hg book 'X'
24 $ hg book 'X'
25 $ hg book 'Y'
25 $ hg book 'Y'
26
26
27 $ echo c > c
27 $ echo c > c
28 $ hg ci -Am C
28 $ hg ci -Am C
29 adding c
29 adding c
@@ -47,7 +47,7 b' Create a repo with several bookmarks'
47 |/
47 |/
48 o 0: 'A' bookmarks:
48 o 0: 'A' bookmarks:
49
49
50
50
51 Move only rebased bookmarks
51 Move only rebased bookmarks
52
52
53 $ cd ..
53 $ cd ..
@@ -100,7 +100,7 b' debugsub output for main and sub1'
100 revision 53dd3430bcaf5ab4a7c48262bcad6d441f510487
100 revision 53dd3430bcaf5ab4a7c48262bcad6d441f510487
101
101
102 Check that deep archiving works
102 Check that deep archiving works
103
103
104 $ cd cloned
104 $ cd cloned
105 $ echo 'test' > sub1/sub2/test.txt
105 $ echo 'test' > sub1/sub2/test.txt
106 $ hg --config extensions.largefiles=! add sub1/sub2/test.txt
106 $ hg --config extensions.largefiles=! add sub1/sub2/test.txt
General Comments 0
You need to be logged in to leave comments. Login now