Mercurial > hgsubversion
view tests/run.py @ 120:f508c1fa19a5
hg_delta_editor: do not assume branches are copied from trunk by default
Here is what happen in jquery repository:
- kelvin-dev branch is created in r1617 with an empty directory for the
datePicker plugin
- commits are done
- datePicker plugin is merged in trunk
Before the fix, the converter assumed the initial empty commit had for parent
some other commit of trunk, therefore adding all its files, which was wrong.
And we ended with 'alignDemo.html' in converted trunk@5946 while it was not in
the source revision.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 11:25:01 -0600 |
parents | 3afe404042a3 |
children | c35f59aa200e |
line wrap: on
line source
import os import sys import unittest sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import test_fetch_branches import test_fetch_command import test_fetch_command_regexes import test_fetch_renames import test_fetch_truncated import test_push_command import test_push_renames import test_push_dirs import test_push_eol import test_tags def suite(): return unittest.TestSuite([test_fetch_branches.suite(), test_fetch_command.suite(), test_fetch_command_regexes.suite(), test_fetch_renames.suite(), test_fetch_truncated.suite(), test_push_command.suite(), test_push_renames.suite(), test_push_dirs.suite(), test_push_eol.suite(), test_tags.suite(), ]) if __name__ == '__main__': runner = unittest.TextTestRunner() runner.run(suite())