[zypp-commit] r11353 - /trunk/sat-solver/src/repodata.c
Author: mlschroe Date: Wed Oct 15 13:08:26 2008 New Revision: 11353 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11353&view=rev Log: - implement SEARCH_ALL_REPOS Modified: trunk/sat-solver/src/repodata.c Modified: trunk/sat-solver/src/repodata.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repodata.c?rev=11353&r1=11352&r2=11353&view=diff ============================================================================== --- trunk/sat-solver/src/repodata.c (original) +++ trunk/sat-solver/src/repodata.c Wed Oct 15 13:08:26 2008 @@ -960,8 +960,10 @@ if (p) flags |= SEARCH_THISSOLVID; di->flags = flags; - if (repo) + if (repo && !(flags & SEARCH_ALL_REPOS)) di->repoid = -1; + else + di->repo = di->pool->repos[0]; if (match) datamatcher_init(&di->matcher, di->pool, match, flags); if (p == SOLVID_POS) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlschroe@svn.opensuse.org