Changeset cc468c0 in tol
- Timestamp:
- Oct 19, 2010, 9:40:19 AM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 522fbed
- Parents:
- 08d3a10
- File:
-
- 1 edited
-
tol/stdlib/general/TolPackage/client.tol (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/TolPackage/client.tol
r08d3a10 rcc468c0 438 438 ////////////////////////////////////////////////////////////////////////////// 439 439 { 440 Text _MID = "TolPackage::Client::[RemoteUpdatePackSyncInfo] \n";440 Text _MID = "TolPackage::Client::[RemoteUpdatePackSyncInfo] "; 441 441 If(TolConfigManager::Config::Upgrading::TolPackage::LocalOnly, 0, { 442 442 Set repositories = … … 480 480 Set _.packForUpdate := Select(_.packSyncInfo, Real(TolPackage::@PackageSynchro pkg) 481 481 { 482 And(pkg->co_last_version_local != "",482 Real need = And(pkg->co_last_version_local != "", 483 483 pkg->co_last_version_local == pkg->co_last_version_remote, 484 pkg->dh_release_date_local < pkg->dh_release_date_remote) 484 pkg->dh_release_date_local < pkg->dh_release_date_remote); 485 If(And(showWarnings,need), 486 { 487 WriteLn(" Local package "+pkg->co_last_version_local+ 488 " created at "<<pkg->dh_release_date_local+ 489 " could be updated to newer remote patch since "+pkg->dh_release_date_remote) 490 }); 491 need 485 492 }); 486 493 If(And(showWarnings,Card(_.packForUpdate)), 487 494 { 488 WriteLn(_MID+"There are "<<Card(_.packForUpdate)+" packages that you c anupdate "489 "from remote repositories to new releases of the same version.\n"495 WriteLn(_MID+"There are "<<Card(_.packForUpdate)+" packages that you could update " 496 "from remote repositories to new patches of the same version.\n" 490 497 "You can view them at:\n " 491 498 " Set TolPackage::Client::_.packForUpdate\n" 492 "You c anupdate all them running this TOL sentence: \n"499 "You could update all them running this TOL sentence: \n" 493 500 " Set TolPackage::Client::RemoteUpdateAll(0)\n", 494 501 "W") … … 496 503 Set _.packForUpgrade := Select(_.packSyncInfo, Real(TolPackage::@PackageSynchro pkg) 497 504 { 498 And(pkg->co_last_version_local != "", 499 pkg->co_last_version_local < pkg->co_last_version_remote) 505 Real need = And(pkg->co_last_version_local != "", 506 pkg->co_last_version_local < pkg->co_last_version_remote); 507 If(And(showWarnings,need), 508 { 509 WriteLn(" Local package "+pkg->co_last_version_local+ 510 " could be upgraded to "<<pkg->co_last_version_remote) 511 }); 512 need 500 513 }); 501 514 If(And(showWarnings,Card(_.packForUpgrade)), 502 515 { 503 WriteLn(_MID+"There are "<<Card(_.packForUpgrade)+" packages that you c anupgrade "516 WriteLn(_MID+"There are "<<Card(_.packForUpgrade)+" packages that you could upgrade " 504 517 "from remote repositories to new versions.\n" 505 518 "You can view them at:\n "
Note: See TracChangeset
for help on using the changeset viewer.
