Mercurial > hgsubversion
comparison tests/run.py @ 169:f1919e1c35bf
fetch_command: cancel patching when encountering binary diffs
Mercurial patching code does not support hunks with embedded nul characters.
| author | Patrick Mezard <pmezard@gmail.com> |
|---|---|
| date | Tue, 30 Dec 2008 20:33:56 -0600 |
| parents | 4f26fa049452 |
| children | f80132c5fea5 |
comparison
equal
deleted
inserted
replaced
| 168:4f26fa049452 | 169:f1919e1c35bf |
|---|---|
| 2 import sys | 2 import sys |
| 3 import unittest | 3 import unittest |
| 4 | 4 |
| 5 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | 5 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) |
| 6 | 6 |
| 7 import test_binaryfiles | |
| 7 import test_diff | 8 import test_diff |
| 8 import test_fetch_branches | 9 import test_fetch_branches |
| 9 import test_fetch_command | 10 import test_fetch_command |
| 10 import test_fetch_command_regexes | 11 import test_fetch_command_regexes |
| 11 import test_fetch_exec | 12 import test_fetch_exec |
| 20 import test_rebuildmeta | 21 import test_rebuildmeta |
| 21 import test_tags | 22 import test_tags |
| 22 import test_utility_commands | 23 import test_utility_commands |
| 23 | 24 |
| 24 def suite(): | 25 def suite(): |
| 25 return unittest.TestSuite([test_diff.suite(), | 26 return unittest.TestSuite([test_binaryfiles.suite(), |
| 27 test_diff.suite(), | |
| 26 test_fetch_branches.suite(), | 28 test_fetch_branches.suite(), |
| 27 test_fetch_command.suite(), | 29 test_fetch_command.suite(), |
| 28 test_fetch_command_regexes.suite(), | 30 test_fetch_command_regexes.suite(), |
| 29 test_fetch_exec.suite(), | 31 test_fetch_exec.suite(), |
| 30 test_fetch_mappings.suite(), | 32 test_fetch_mappings.suite(), |
