-
Committer:
Vincent Ladeuil
-
Date:
2009-12-01 16:53:42 UTC
-
mto:
(4850.1.1 integration)
-
mto:
This revision was merged to the branch mainline in
revision
4851.
-
Revision ID:
v.ladeuil+lp@free.fr-20091201165342-dlwehwo3cdfu59br
Mix BZR_CONCURRENCY and --concurrency so both are available.
* bzrlib/tests/test_osutils.py:
(TestConcurrency.setUp): Simplified.
(TestConcurrency.test_local_concurrency_environment_variable):
Restore the env varible tests.
(TestConcurrency.test_option_concurrency): Test the global option.
* bzrlib/tests/__init__.py:
(TestCase._cleanEnvironment): Add BZR_CONCURRENCY.
* bzrlib/osutils.py:
(local_concurrency): Simplify implementation: environment variable
overrides OS specific definition.
* bzrlib/help_topics/__init__.py:
(_env_variables): Restore the documentation.
* bzrlib/commands.py:
(run_bzr): Simplify --concurrency handling: it just overrides the
environment variable.