From 8049a4de3a5d77d28f9dbc6b2d712b280548a08a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Sep 2015 15:19:16 +0200 Subject: Implement archive fetching, complete pkg-fetch --- bpkg/rep-fetch.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/rep-fetch.cxx') diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index e112bf7..641efb2 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -166,7 +166,7 @@ namespace bpkg const auto& ua (root->complements); // User-added repositories. if (ua.empty ()) - fail << "configuration has no repositories" << + fail << "configuration " << c << " has no repositories" << info << "use 'bpkg rep-add' to add a repository"; // Clean repositories and available packages. At the end only @@ -206,8 +206,8 @@ namespace bpkg size_t rcount, pcount; if (verb) { - rcount = db.query_value ().result; - pcount = db.query_value ().result; + rcount = db.query_value (); + pcount = db.query_value (); } t.commit (); -- cgit v1.1