diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-19 17:37:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-29 18:20:03 +0300 |
commit | 53c2aa8e382dd50d09b385285bc3fa0b645ace0a (patch) | |
tree | 6d23d091bc57c0aa8d8a529e63ec2f2f22322a3a /bpkg/pkg-fetch.cxx | |
parent | a4b29effed15b0a3e9309a4633a3ada37f3081e6 (diff) |
Support system packages
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r-- | bpkg/pkg-fetch.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx index 0534e65..0ff1199 100644 --- a/bpkg/pkg-fetch.cxx +++ b/bpkg/pkg-fetch.cxx @@ -71,6 +71,7 @@ namespace bpkg move (n), move (v), package_state::fetched, + package_substate::none, false, // hold package false, // hold version move (rl), @@ -115,7 +116,9 @@ namespace bpkg diag_record dr (fail); dr << "package " << n << " already exists in configuration " << c << - info << "version: " << p->version << ", state: " << p->state; + info << "version: " << p->version_string () + << ", state: " << p->state + << ", substate: " << p->substate; if (s) // Suitable state for replace? dr << info << "use 'pkg-fetch --replace|-r' to replace"; @@ -285,7 +288,7 @@ namespace bpkg } if (verb) - text << "fetched " << p->name << " " << p->version; + text << "fetched " << *p; return 0; } |