Mercurial > hg
comparison tests/test-flagprocessor.t @ 31838:c39e7c4b535c
test-flagprocessor: remove unnecessary greps
The "2>&1 | egrep ..." code is used for removing uninteresting parts from
tracebacks. Now the test does not dump tracebacks, they can be removed.
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 06 Apr 2017 19:01:51 -0700 |
parents | 37e793918c07 |
children | a418c5837bc0 |
comparison
equal
deleted
inserted
replaced
31837:37e793918c07 | 31838:c39e7c4b535c |
---|---|
185 $ hg commit -q -m branching | 185 $ hg commit -q -m branching |
186 | 186 |
187 $ hg bundle --base 1 bundle.hg | 187 $ hg bundle --base 1 bundle.hg |
188 4 changesets found | 188 4 changesets found |
189 $ hg --config extensions.strip= strip -r 2 --no-backup --force -q | 189 $ hg --config extensions.strip= strip -r 2 --no-backup --force -q |
190 $ hg -R bundle.hg log --stat -T '{rev} {desc}\n' base64 2>&1 | egrep -v '^(\*\*| )' | 190 $ hg -R bundle.hg log --stat -T '{rev} {desc}\n' base64 |
191 5 branching | 191 5 branching |
192 base64 | 2 +- | 192 base64 | 2 +- |
193 1 files changed, 1 insertions(+), 1 deletions(-) | 193 1 files changed, 1 insertions(+), 1 deletions(-) |
194 | 194 |
195 4 base64-4 | 195 4 base64-4 |
211 0 base64-0 | 211 0 base64-0 |
212 base64 | 1 + | 212 base64 | 1 + |
213 1 files changed, 1 insertions(+), 0 deletions(-) | 213 1 files changed, 1 insertions(+), 0 deletions(-) |
214 | 214 |
215 | 215 |
216 $ hg bundle -R bundle.hg --base 1 bundle-again.hg -q 2>&1 | egrep -v '^(\*\*| )' | 216 $ hg bundle -R bundle.hg --base 1 bundle-again.hg -q |
217 [1] | 217 $ hg -R bundle-again.hg log --stat -T '{rev} {desc}\n' base64 |
218 $ hg -R bundle-again.hg log --stat -T '{rev} {desc}\n' base64 2>&1 | egrep -v '^(\*\*| )' | |
219 5 branching | 218 5 branching |
220 base64 | 2 +- | 219 base64 | 2 +- |
221 1 files changed, 1 insertions(+), 1 deletions(-) | 220 1 files changed, 1 insertions(+), 1 deletions(-) |
222 | 221 |
223 4 base64-4 | 222 4 base64-4 |