projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f018079
)
do not rewrite the command line repo
author
Michael Schroeder
<mls@suse.de>
Thu, 31 Oct 2013 12:58:12 +0000
(13:58 +0100)
committer
Michael Schroeder
<mls@suse.de>
Thu, 31 Oct 2013 12:58:12 +0000
(13:58 +0100)
examples/solv.c
patch
|
blob
|
history
diff --git
a/examples/solv.c
b/examples/solv.c
index
a440b61
..
6bacc19
100644
(file)
--- a/
examples/solv.c
+++ b/
examples/solv.c
@@
-2320,6
+2320,8
@@
rewrite_repos(Pool *pool, Queue *addedfileprovides, Queue *addedfileprovides_ins
if (repo->nrepodata < 2)
continue;
cinfo = repo->appdata;
+ if (repo != pool->installed && !cinfo)
+ continue;
if (cinfo && cinfo->incomplete)
continue;
data = repo_id2repodata(repo, 1);