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:
689f620
)
- do not always jump to first repo
author
Michael Schroeder
<mls@suse.de>
Fri, 7 Nov 2008 11:27:30 +0000
(11:27 +0000)
committer
Michael Schroeder
<mls@suse.de>
Fri, 7 Nov 2008 11:27:30 +0000
(11:27 +0000)
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index
4991e45
..
8466a7b
100644
(file)
--- a/
src/repodata.c
+++ b/
src/repodata.c
@@
-987,7
+987,8
@@
dataiterator_init(Dataiterator *di, Pool *pool, Repo *repo, Id p, Id keyname, co
dataiterator_jump_to_solvid(di, p);
else
{
- di->repo = pool->repos[0];
+ if (!di->repo)
+ di->repo = pool->repos[0];
di->state = di_enterrepo;
}
return 0;