~bzr-pqm/bzr/bzr.dev

Better redirection handling.

* bzrlib/tests/test_script.py:
(TestRedirections): Explicit tests for redirections including the
cases used by Maritza Mendez in the #425510 and $426410 reports.

* bzrlib/tests/script.py:
(_scan_redirection_options.redirected_file_name): Factor out
redirection file name handling.
(_scan_redirection_options): Handle the case where the redirection
is specified with 2 arguments instead of one.
(ScriptRunner.run_command): Tweak error message.
(ScriptRunner.do_cat, ScriptRunner.do_echo): Catch redirection
errors.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4189.1.1 15 years ago Martin Pool merge update to FSF address 7.5 KB Diff Download File
format_custom.py 4250.1.1 15 years ago Jelmer Vernooij Fix version-info in empty branches. 3.3 KB Diff Download File
format_python.py 4250.1.1 15 years ago Jelmer Vernooij Fix version-info in empty branches. 3.2 KB Diff Download File
format_rio.py 4216.4.4 15 years ago Jelmer Vernooij Set 'revision' hook as introduced in 1.15. 3.2 KB Diff Download File