aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-20 15:59:40 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-20 17:10:17 +0000
commit519382831287501084a67bc25be2e50fca275d58 (patch)
tree486fba6ceb2237bab3fa5832c548ade29b68d401 /paludis/repositories/e/ebuild_id.hh
parentd4a242b1691f34bcdb8ceb0a7785e5029e0baf22 (diff)
downloadpaludis-519382831287501084a67bc25be2e50fca275d58.tar.gz
paludis-519382831287501084a67bc25be2e50fca275d58.tar.xz
Track SCM revision for installed packages
Diffstat (limited to 'paludis/repositories/e/ebuild_id.hh')
-rw-r--r--paludis/repositories/e/ebuild_id.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild_id.hh b/paludis/repositories/e/ebuild_id.hh
index 8691c21fa..5f1c7b844 100644
--- a/paludis/repositories/e/ebuild_id.hh
+++ b/paludis/repositories/e/ebuild_id.hh
@@ -24,6 +24,7 @@
#include <paludis/metadata_key.hh>
#include <paludis/repositories/e/eapi-fwd.hh>
#include <paludis/repositories/e/e_repository_id.hh>
+#include <paludis/util/exception.hh>
namespace paludis
{
@@ -97,6 +98,7 @@ namespace paludis
virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_hidden_key() const;
virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > defined_phases_key() const;
virtual const std::shared_ptr<const MetadataSpecTreeKey<RequiredUseSpecTree> > required_use_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<std::string> > scm_revision_key() const;
virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
@@ -168,6 +170,8 @@ namespace paludis
virtual void purge_invalid_cache() const;
bool might_be_binary() const;
+
+ virtual void set_scm_revision(const std::string &) const;
};
}
}