Mailinglist Archive: zypp-commit (223 mails)

< Previous Next >
[zypp-commit] r10703 - in /trunk/zypper/src: callbacks/repo.h info.cc solve-commit.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Thu, 31 Jul 2008 07:21:51 -0000
  • Message-id: <20080731072152.1FBF224AC3@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Thu Jul 31 09:21:50 2008
New Revision: 10703

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10703&view=rev
Log:
- s/installsize/installSize/g

Modified:
trunk/zypper/src/callbacks/repo.h
trunk/zypper/src/info.cc
trunk/zypper/src/solve-commit.cc

Modified: trunk/zypper/src/callbacks/repo.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/callbacks/repo.h?rev=10703&r1=10702&r2=10703&view=diff
==============================================================================
--- trunk/zypper/src/callbacks/repo.h (original)
+++ trunk/zypper/src/callbacks/repo.h Thu Jul 31 09:21:50 2008
@@ -164,7 +164,7 @@
if (ro) {
s << ", " << ro->downloadSize () << " "
// TranslatorExplanation %s is package size like "5.6 M"
- << boost::format(_("(%s unpacked)")) % ro->installsize();
+ << boost::format(_("(%s unpacked)")) % ro->installSize();
}
zypper.out().info(s.str());
}

Modified: trunk/zypper/src/info.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/info.cc?rev=10703&r1=10702&r2=10703&view=diff
==============================================================================
--- trunk/zypper/src/info.cc (original)
+++ trunk/zypper/src/info.cc Thu Jul 31 09:21:50 2008
@@ -166,7 +166,7 @@
else
cout << _("not installed") << endl;

- cout << _("Installed Size: ") << theone.resolvable()->installsize() << endl;
+ cout << _("Installed Size: ") << theone.resolvable()->installSize() << endl;

printSummaryDesc(theone.resolvable());
}

Modified: trunk/zypper/src/solve-commit.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/solve-commit.cc?rev=10703&r1=10702&r2=10703&view=diff
==============================================================================
--- trunk/zypper/src/solve-commit.cc (original)
+++ trunk/zypper/src/solve-commit.cc Thu Jul 31 09:21:50 2008
@@ -652,7 +652,7 @@
tochangevendor[res->kind()].insert(res);
}

- new_installed_size += res->installsize() - (*rmit)->installsize();
+ new_installed_size += res->installSize() - (*rmit)->installSize();

to_be_removed[res->kind()].erase(*rmit);
upgrade_downgrade = true;
@@ -663,7 +663,7 @@
if (!upgrade_downgrade)
{
toinstall[res->kind()].insert(res);
- new_installed_size += res->installsize();
+ new_installed_size += res->installSize();
}

download_size += res->downloadSize();
@@ -684,7 +684,7 @@
toremove_by_solver = true;
}*/
toremove[it->first].insert(*resit);
- new_installed_size -= (*resit)->installsize();
+ new_installed_size -= (*resit)->installSize();
}

for (list<SrcPackage::constPtr>::const_iterator it =
zypper.runtimeData().srcpkgs_to_install.begin();

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages