aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild.cc')
-rw-r--r--paludis/repositories/e/ebuild.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild.cc b/paludis/repositories/e/ebuild.cc
index e2863c2..e73b453 100644
--- a/paludis/repositories/e/ebuild.cc
+++ b/paludis/repositories/e/ebuild.cc
@@ -681,6 +681,13 @@ EbuildMetadataCommand::load(const std::shared_ptr<const EbuildID> & id)
id->load_remote_ids(m.remote_ids(), value);
}
+ if (id->eapi()->supported()->is_pbin() && ! m.scm_revision()->name().empty())
+ {
+ std::string value(get(keys, m.scm_revision()->name()));
+ if (! value.empty())
+ id->load_scm_revision(m.scm_revision()->name(), m.scm_revision()->description(), value);
+ }
+
if (! m.defined_phases()->name().empty())
{
std::set<std::string> defined_phases, raw_values, ebuild_functions;