Author: lslezak Date: Thu Sep 30 19:45:17 2010 New Revision: 62519 URL: http://svn.opensuse.org/viewcvs/yast?rev=62519&view=rev Log: - don't use spaces in repo alias (bnc#596950) - 2.20.1 Modified: trunk/pkg-bindings/VERSION trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Source_Create.cc Modified: trunk/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=62519&r1=62518&r2=62519&view=diff ============================================================================== --- trunk/pkg-bindings/VERSION (original) +++ trunk/pkg-bindings/VERSION Thu Sep 30 19:45:17 2010 @@ -1 +1 @@ -2.20.0 +2.20.1 Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=62519&r1=62518&r2=62519&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Thu Sep 30 19:45:17 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Sep 30 17:32:48 UTC 2010 - lslezak@suse.cz + +- don't use spaces in repo alias (bnc#596950) +- 2.20.1 + +------------------------------------------------------------------- Thu Sep 30 16:23:06 UTC 2010 - lslezak@suse.cz - don't preselect locked patches (bnc#627316) Modified: trunk/pkg-bindings/src/Source_Create.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Create.cc?rev=62519&r1=62518&r2=62519&view=diff ============================================================================== --- trunk/pkg-bindings/src/Source_Create.cc (original) +++ trunk/pkg-bindings/src/Source_Create.cc Thu Sep 30 19:45:17 2010 @@ -654,7 +654,11 @@ try { - RepoId id = createManagedSource(url, it->_dir, type, it->_name, pkgprogress, subprogrcv); + // don't use spaces in alias + std::string alias(it->_name); + zypp::str::replaceAll(alias, " ", "-"); + + RepoId id = createManagedSource(url, it->_dir, type, alias, pkgprogress, subprogrcv); new_repos.push_back(id); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org