From 738050f2a71b2f0d094a692cc48c94653b82287f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Sep 2015 13:41:54 +0200 Subject: Implement rep-fetch command --- bpkg/package.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'bpkg/package.cxx') diff --git a/bpkg/package.cxx b/bpkg/package.cxx index 9528288..e955a3f 100644 --- a/bpkg/package.cxx +++ b/bpkg/package.cxx @@ -52,15 +52,7 @@ namespace bpkg available_package::_id_type available_package:: _id () const { - return _id_type { - { - name, - version.epoch (), - version.canonical_upstream (), - version.revision () - }, - version.upstream () - }; + return _id_type {package_version_id (name, version), version.upstream ()}; } void available_package:: -- cgit v1.1