# HG changeset patch # User Patrick Mezard # Date 1226701104 21600 # Node ID 83179a18392746a342c43cf87f712ae226dd64d2 # Parent 2e47623fa174123067c6d3d5b9d23ea6988c9374 test_push_command: fix test_push_existing_file_newly_execute() under Windows diff --git a/tests/test_push_command.py b/tests/test_push_command.py --- a/tests/test_push_command.py +++ b/tests/test_push_command.py @@ -339,9 +339,7 @@ class PushTests(unittest.TestCase): {'branch': 'default', }) new_hash = repo.commitctx(ctx) hg.update(repo, repo['tip'].node()) - push_cmd.push_revisions_to_subversion(ui.ui(), repo=self.repo, - hg_repo_path=self.wc_path, - svn_url='file://' + self.repo_path) + self.pushrevisions() tip = self.repo['tip'] self.assertNotEqual(tip.node(), new_hash) self.assertEqual(tip['newdir/subdir/gamma'].data(), 'foo')