From 377a5d4bf6708425ff5f97b266dec88281522e18 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 11 Aug 2013 20:17:23 -0400 Subject: [PATCH] kde-projects: Use more specific module scm type. The ->isa() checks still work for superclasses, and knowing that a given module originally came from a kde-project module set is useful in the code. In fact this should be considered a regression from the module-set parse refactoring patch. --- modules/ksb/ModuleSet/KDEProjects.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ksb/ModuleSet/KDEProjects.pm b/modules/ksb/ModuleSet/KDEProjects.pm index aadfeed..fc5c406 100644 --- a/modules/ksb/ModuleSet/KDEProjects.pm +++ b/modules/ksb/ModuleSet/KDEProjects.pm @@ -160,6 +160,7 @@ sub _expandModuleCandidates $newModule->setOption('repository', $repo); $newModule->setOption('#xml-full-path', $result->{'fullName'}); $newModule->setOption('#branch:stable', $result->{'branch:stable'}); + $newModule->setScmType('proj'); my $tarball = $result->{'tarball'}; $newModule->setOption('#snapshot-tarball', $tarball) if $tarball;