diff tests/test_fetch_truncated.py @ 241:4950b18cf949

Move fetch_command.fetch_revisions() to svncommands.pull().
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Apr 2009 17:49:30 +0200
parents 3b60f223893a
children ffccf0080e54
line wrap: on
line diff
--- a/tests/test_fetch_truncated.py
+++ b/tests/test_fetch_truncated.py
@@ -3,7 +3,7 @@ import unittest
 from mercurial import hg
 from mercurial import ui
 
-import fetch_command
+import svncommands
 import test_util
 
 class TestFetchTruncatedHistory(test_util.TestBase):
@@ -11,10 +11,8 @@ class TestFetchTruncatedHistory(test_uti
         # Test repository does not follow the usual layout
         test_util.load_svndump_fixture(self.repo_path, 'truncatedhistory.svndump')
         svn_url = test_util.fileurl(self.repo_path + '/project2')
-        fetch_command.fetch_revisions(ui.ui(),
-                                      svn_url=svn_url,
-                                      hg_repo_path=self.wc_path,
-                                      stupid=stupid)
+        svncommands.pull(ui.ui(), svn_url=svn_url,
+                         hg_repo_path=self.wc_path, stupid=stupid)
         repo = hg.repository(ui.ui(), self.wc_path)
 
         # We are converting /project2/trunk coming from: