aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:19:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:19:16 +0200
commit8049a4de3a5d77d28f9dbc6b2d712b280548a08a (patch)
tree2ade1611947f617120380f22647cdf4d3df1c0ff /bpkg/rep-fetch.cxx
parent8aa9fd02fdbe7b2de9cbd02564431d74b620b1d9 (diff)
Implement archive fetching, complete pkg-fetch
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r--bpkg/rep-fetch.cxx6
1 files changed, 3 insertions, 3 deletions
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<repository_count> ().result;
- pcount = db.query_value<available_package_count> ().result;
+ rcount = db.query_value<repository_count> ();
+ pcount = db.query_value<available_package_count> ();
}
t.commit ();