projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb6583
)
Immediately update RepoInfos.
author
Michael Andres
<ma@suse.de>
Fri, 6 Nov 2009 18:59:11 +0000
(19:59 +0100)
committer
Michael Andres
<ma@suse.de>
Fri, 6 Nov 2009 18:59:11 +0000
(19:59 +0100)
zypp/RepoInfo.cc
patch
|
blob
|
history
zypp/RepoManager.cc
patch
|
blob
|
history
diff --git
a/zypp/RepoInfo.cc
b/zypp/RepoInfo.cc
index
0567ad7
..
29924d3
100644
(file)
--- 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
(file)
--- 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);