Mercurial > hg
comparison tests/test-globalopts.t @ 34443:f2268edf38d5
test-globalopts: make the test compatible with chg
The test fails when run with the '--chg' option. Therefore, this
commit modifies the test to make it compatible with chg.
Test Plan:
Ran 'test-globalopts.t' with and without the '--chg' option.
Differential Revision: https://phab.mercurial-scm.org/D913
author | Saurabh Singh <singhsrb@fb.com> |
---|---|
date | Tue, 03 Oct 2017 11:10:03 -0700 |
parents | 2b130e26c3a4 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
34442:73d8a5283f87 | 34443:f2268edf38d5 |
---|---|
261 | 261 |
262 | 262 |
263 | 263 |
264 Testing --traceback: | 264 Testing --traceback: |
265 | 265 |
266 #if no-chg | |
266 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' | 267 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' |
267 Traceback (most recent call last): | 268 Traceback (most recent call last): |
269 #else | |
270 Traceback for '--config' errors not supported with chg. | |
271 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' | |
272 [1] | |
273 #endif | |
268 | 274 |
269 Testing --time: | 275 Testing --time: |
270 | 276 |
271 $ hg --cwd a --time id | 277 $ hg --cwd a --time id |
272 8580ff50825a tip | 278 8580ff50825a tip |