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:
72acf2b
)
Disambiguate aliases when loading testsetup repos.
author
Michael Andres
<ma@suse.de>
Wed, 9 Sep 2009 13:22:28 +0000
(15:22 +0200)
committer
Michael Andres
<ma@suse.de>
Wed, 9 Sep 2009 13:22:28 +0000
(15:22 +0200)
tests/lib/TestSetup.h
patch
|
blob
|
history
diff --git
a/tests/lib/TestSetup.h
b/tests/lib/TestSetup.h
index
1161de1
..
86ceac3
100644
(file)
--- a/
tests/lib/TestSetup.h
+++ b/
tests/lib/TestSetup.h
@@
-136,9
+136,8
@@
class TestSetup
{
RepoManager rmanager( repomanager() );
if ( rmanager.hasRepo( nrepo ) )
- rmanager.modifyRepository( nrepo );
- else
- rmanager.addRepository( nrepo );
+ nrepo.setAlias( RepoManager::makeStupidAlias( nrepo.url() ) );
+ rmanager.addRepository( nrepo );
rmanager.buildCache( nrepo );
rmanager.loadFromCache( nrepo );
}