testsolv: support '-s' option to take solutions
[platform/upstream/libsolv.git] / ext / repo_repomdxml.c
index 860f32e..1d1197e 100644 (file)
@@ -382,7 +382,7 @@ endElement(void *userData, const char *name)
       break;
     case STATE_REVISION:
       if (*pd->content)
-       repodata_add_poolstr_array(pd->data, SOLVID_META, REPOSITORY_REVISION, pd->content);
+       repodata_set_str(pd->data, SOLVID_META, REPOSITORY_REVISION, pd->content);
       break;
     case STATE_DISTRO:
       /* distro tag is used in repomd.xml to say the product this repo is