~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 4070.11.16 15 years ago Martin Pool Fix copyrights and remove assert statement from do 987 bytes Diff Download File
autodoc_bash_completion.py 4070.11.16 15 years ago Martin Pool Fix copyrights and remove assert statement from do 1.5 KB Diff Download File
autodoc_man.py 4070.11.16 15 years ago Martin Pool Fix copyrights and remove assert statement from do 6.8 KB Diff Download File
autodoc_rstx.py 4557.3.4 15 years ago Ian Clatworthy Get User Reference and Release Notes working 5.8 KB Diff Download File