Patchwork D201: tests: clarify that duplicate flag processors is not an error

login
register
mail settings
Submitter phabricator
Date Aug. 1, 2017, 7:57 p.m.
Message ID <552f0aa170b5ac8c8616a435807ca488@localhost.localdomain>
Download mbox | patch
Permalink /patch/22605/
State Not Applicable
Headers show

Comments

phabricator - Aug. 1, 2017, 7:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG41081364addb: tests: clarify that duplicate flag processors is not an error (authored by martinvonz).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D201?vs=469&id=479

REVISION DETAIL
  https://phab.mercurial-scm.org/D201

AFFECTED FILES
  tests/test-flagprocessor.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/tests/test-flagprocessor.t b/tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t
+++ b/tests/test-flagprocessor.t
@@ -152,6 +152,8 @@ 
   $ hg commit -Aqm 'fail+base64+gzip+noop'
   abort: missing processor for flag '0x1'!
   [255]
+  $ hg forget fail-base64-gzip-noop
+  $ rm fail-base64-gzip-noop
 
 # TEST: ensure we cannot register several flag processors on the same flag
   $ cat >> .hg/hgrc << EOF
@@ -162,8 +164,6 @@ 
   $ echo 'this should fail' > file
   $ hg commit -Aqm 'add file'
   *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
-  abort: missing processor for flag '0x1'!
-  [255]
 
   $ cd ..