comparison tests/test_push_command.py @ 80:83179a183927

test_push_command: fix test_push_existing_file_newly_execute() under Windows
author Patrick Mezard <pmezard@gmail.com>
date Fri, 14 Nov 2008 16:18:24 -0600
parents 072010a271c6
children 71de43e9f614
comparison
equal deleted inserted replaced
79:2e47623fa174 80:83179a183927
337 'author', 337 'author',
338 '2008-10-29 21:26:00 -0500', 338 '2008-10-29 21:26:00 -0500',
339 {'branch': 'default', }) 339 {'branch': 'default', })
340 new_hash = repo.commitctx(ctx) 340 new_hash = repo.commitctx(ctx)
341 hg.update(repo, repo['tip'].node()) 341 hg.update(repo, repo['tip'].node())
342 push_cmd.push_revisions_to_subversion(ui.ui(), repo=self.repo, 342 self.pushrevisions()
343 hg_repo_path=self.wc_path,
344 svn_url='file://' + self.repo_path)
345 tip = self.repo['tip'] 343 tip = self.repo['tip']
346 self.assertNotEqual(tip.node(), new_hash) 344 self.assertNotEqual(tip.node(), new_hash)
347 self.assertEqual(tip['newdir/subdir/gamma'].data(), 'foo') 345 self.assertEqual(tip['newdir/subdir/gamma'].data(), 'foo')
348 346
349 347