aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unwritten/unwritten_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unwritten/unwritten_id.cc')
-rw-r--r--paludis/repositories/unwritten/unwritten_id.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/unwritten/unwritten_id.cc b/paludis/repositories/unwritten/unwritten_id.cc
index d6cacb2..01710c4 100644
--- a/paludis/repositories/unwritten/unwritten_id.cc
+++ b/paludis/repositories/unwritten/unwritten_id.cc
@@ -126,6 +126,10 @@ UnwrittenID::canonical_form(const PackageIDCanonicalForm f) const
case idcf_version:
return stringify(_imp->version);
+ case idcf_no_name:
+ return stringify(_imp->version) +
+ ":" + stringify(slot_key()->value()) + "::" + stringify(_imp->repo->name());
+
case last_idcf:
break;
}