SCons: Fix the polarity on the --ignore-style check.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 4 Mar 2011 08:11:02 +0000 (00:11 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 4 Mar 2011 08:11:02 +0000 (00:11 -0800)
SConstruct

index 89036c31f1cde9a760f2c6dc8eee856c8f0bdf08..8f049e7492ee4c3b1d4d41c108573fb73ab6107c 100755 (executable)
@@ -239,7 +239,7 @@ if hgdir.exists():
     # 2) Ensure that the style hook is in place.
     try:
         ui = None
-        if GetOption('ignore_style'):
+        if not GetOption('ignore_style'):
             from mercurial import ui
             ui = ui.ui()
     except ImportError: