Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp> master : Immediately update RepoInfos.
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 6 Nov 2009 19:59:11 +0100
  • Message-id: <E1N6WCT-0006BN-Qx@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit a82524259bc92423daf45fd56cdb5d70856d7ee4
Author: Michael Andres <ma@xxxxxxx>
Date: Fri Nov 6 19:59:11 2009 +0100

Immediately update RepoInfos.
---
zypp/RepoInfo.cc | 3 +++
zypp/RepoManager.cc | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/zypp/RepoInfo.cc b/zypp/RepoInfo.cc
index 0567ad7..29924d3 100644
--- a/zypp/RepoInfo.cc
+++ b/zypp/RepoInfo.cc
@@ -382,6 +382,9 @@ namespace zypp
if (!metadataPath().empty())
str << "- metadataPath: " << metadataPath() << std::endl;

+ if (!packagesPath().empty())
+ str << "- packagesPath: " << packagesPath() << std::endl;
+
return str;
}

diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc
index c817854..7ec5bbb 100644
--- a/zypp/RepoManager.cc
+++ b/zypp/RepoManager.cc
@@ -1352,6 +1352,9 @@ namespace zypp

tosave.dumpAsIniOn(file);
tosave.setFilepath(repofile);
+ tosave.setMetadataPath( metadataPath( tosave ) );
+ tosave.setPackagesPath( packagesPath( tosave ) );
+
_pimpl->repos.insert(tosave);

progress.set(90);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages