Show More
@@ -71,6 +71,7 b' testpats = [' | |||||
71 | (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), |
|
71 | (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), | |
72 | (r'^stop\(\)', "don't use 'stop' as a shell function name"), |
|
72 | (r'^stop\(\)', "don't use 'stop' as a shell function name"), | |
73 | (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), |
|
73 | (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), | |
|
74 | (r'^alias\b.*=', "don't use alias, use a function"), | |||
74 | ], |
|
75 | ], | |
75 | # warnings |
|
76 | # warnings | |
76 | [] |
|
77 | [] |
@@ -107,17 +107,6 b' 0 lines of context hunk header matches g' | |||||
107 | > c3 |
|
107 | > c3 | |
108 | > c4 |
|
108 | > c4 | |
109 | > EOF |
|
109 | > EOF | |
110 | $ diff -U0 f1 f2 |
|
|||
111 | --- f1 * (glob) |
|
|||
112 | +++ f2 * (glob) |
|
|||
113 | @@ -0,0 +1 @@ |
|
|||
114 | +c1 |
|
|||
115 | @@ -1,0 +3 @@ |
|
|||
116 | +c3 |
|
|||
117 | @@ -3 +4,0 @@ |
|
|||
118 | -c5 |
|
|||
119 | [1] |
|
|||
120 |
|
||||
121 | $ mv f2 f1 |
|
110 | $ mv f2 f1 | |
122 | $ hg diff -U0 --nodates |
|
111 | $ hg diff -U0 --nodates | |
123 | diff -r 55d8ff78db23 f1 |
|
112 | diff -r 55d8ff78db23 f1 |
@@ -2,7 +2,7 b'' | |||||
2 | > [extensions] |
|
2 | > [extensions] | |
3 | > graphlog= |
|
3 | > graphlog= | |
4 | > EOF |
|
4 | > EOF | |
5 |
$ |
|
5 | $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; } | |
6 |
|
6 | |||
7 | $ mkcommit() { |
|
7 | $ mkcommit() { | |
8 | > echo "$1" > "$1" |
|
8 | > echo "$1" > "$1" |
General Comments 0
You need to be logged in to leave comments.
Login now