rename the new initTarget to initializeTarget,
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 7 Aug 2006 15:58:56 +0000 (15:58 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 7 Aug 2006 15:58:56 +0000 (15:58 +0000)
leave the old one as is, but deprecate it.

testsuite/solver/src/deptestomatic.cc
testsuite/source/tests/source-read-test.cc
testsuite/target/tests/storagetargettest.cc

index b5288d9..f2610cc 100644 (file)
@@ -451,7 +451,7 @@ print_solution (ResolverContext_Ptr context, int *count, ChecksumList & checksum
     if (mediaorder) {
        cout << endl;
        RESULT << "Media Order:" << endl << endl;
-       God->initTarget("/");                   // init, but don't populate pool
+       God->initializeTarget("/");                     // init, but don't populate pool
        Target::PoolItemList dellist;
        Target::PoolItemList inslist;
        Target::PoolItemList srclist;
index b1cbb7c..1cc12de 100644 (file)
@@ -65,7 +65,7 @@ int main( int argc, char * argv[] )
        cerr << "Can't aquire ZYPP lock" << endl;
        return 1;
     }
-    God->initTarget("/");
+    God->initializeTarget("/");
     int argpos = 1;
 
     while ( argpos  < argc - 1 )
index 00aacda..d1b7d71 100644 (file)
@@ -496,7 +496,7 @@ struct StorageTargetTest
 
 int main()
 { 
-  getZYpp()->initTarget("/");
+  getZYpp()->initializeTarget("/");
   try
   {  
     //RUN_TEST(armstrong_yum_source_source_read);