comparison tests/test-commit.t @ 17132:b87acfda5268

tests: reduce spurious failures when run with generaldelta Quite a few tests fail in noisy but meaningless ways when the test suite is run with generaldelta enabled: ./run-tests.py --extra-config-opt=format.generaldelta=1 This reduces the amount of noise introduced by the debugindex command, the main source of differences. In my environment, when testing with generaldelta enabled, this change reduces the number of completely failing tests from 21 to 8.
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 11 Jul 2012 15:03:10 -0700
parents 622aa57a90b1
children 94317c2d53b8
comparison
equal deleted inserted replaced
17119:2e13c1bd34dc 17132:b87acfda5268
298 $ hg ci -m 'cp bar foo; change bar' 298 $ hg ci -m 'cp bar foo; change bar'
299 299
300 $ hg debugrename foo 300 $ hg debugrename foo
301 foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9 301 foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9
302 $ hg debugindex bar 302 $ hg debugindex bar
303 rev offset length base linkrev nodeid p1 p2 303 rev offset length ..... linkrev nodeid p1 p2 (re)
304 0 0 6 0 0 26d3ca0dfd18 000000000000 000000000000 304 0 0 6 ..... 0 26d3ca0dfd18 000000000000 000000000000 (re)
305 1 6 7 1 1 d267bddd54f7 26d3ca0dfd18 000000000000 305 1 6 7 ..... 1 d267bddd54f7 26d3ca0dfd18 000000000000 (re)
306 306
307 $ cd .. 307 $ cd ..