Mercurial > hg
comparison tests/test-flagprocessor.t @ 32724:ea1c2eb7abd3
extensions: catch uisetup and extsetup failures and don't let them break hg
Otherwise users of the patience diff extension will be unable to run
anything at all in hg 4.3 until they figure out what's broken.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 06 Jun 2017 10:09:48 -0400 |
parents | 0ab7f469d386 |
children | 41081364addb |
comparison
equal
deleted
inserted
replaced
32723:b6384b3d4ebe | 32724:ea1c2eb7abd3 |
---|---|
159 > extension=$TESTDIR/flagprocessorext.py | 159 > extension=$TESTDIR/flagprocessorext.py |
160 > duplicate=$TESTDIR/flagprocessorext.py | 160 > duplicate=$TESTDIR/flagprocessorext.py |
161 > EOF | 161 > EOF |
162 $ echo 'this should fail' > file | 162 $ echo 'this should fail' > file |
163 $ hg commit -Aqm 'add file' | 163 $ hg commit -Aqm 'add file' |
164 abort: cannot register multiple processors on flag '0x8'. | 164 *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'. |
165 abort: missing processor for flag '0x1'! | |
165 [255] | 166 [255] |
166 | 167 |
167 $ cd .. | 168 $ cd .. |
168 | 169 |
169 # TEST: bundle repo | 170 # TEST: bundle repo |