diff tests/test_single_dir_clone.py @ 813:f07bfd66db13

test_util: handle dispatch.dispatch() taking a request This was introduced in hg.08bfec2ef031
author Patrick Mezard <pmezard@gmail.com>
date Wed, 15 Jun 2011 14:44:14 +0200
parents e698be84c22d
children e9af7eba88db
line wrap: on
line diff
--- a/tests/test_single_dir_clone.py
+++ b/tests/test_single_dir_clone.py
@@ -4,7 +4,6 @@ import errno
 import shutil
 import unittest
 
-from mercurial import dispatch
 from mercurial import commands
 from mercurial import context
 from mercurial import hg
@@ -236,7 +235,7 @@ class TestSingleDir(test_util.TestBase):
         if stupid:
             cmd.append('--stupid')
         cmd += [test_util.fileurl(self.repo_path), self.wc_path]
-        dispatch.dispatch(cmd)
+        test_util.dispatch(cmd)
 
         def file_callback(repo, memctx, path):
             if path == 'adding_file':