aboutsummaryrefslogtreecommitdiff
path: root/bdep/utility.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-09 09:48:07 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-27 14:23:07 +0300
commit07fdebdbb02fde71d6e656ddd46b967347417502 (patch)
tree594c2f352499aaac0756e3071a4b7ce2aee0fd34 /bdep/utility.cxx
parent8a87a8bc08f0d692f53a0373da3a0a959de13e52 (diff)
Implement publish command for publishing packages to archive repositories
Diffstat (limited to 'bdep/utility.cxx')
-rw-r--r--bdep/utility.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/bdep/utility.cxx b/bdep/utility.cxx
index 11e77f8..2600de9 100644
--- a/bdep/utility.cxx
+++ b/bdep/utility.cxx
@@ -109,23 +109,6 @@ namespace bdep
: "bpkg" BDEP_EXE_SUFFIX;
}
- void
- finish_bpkg (const common_options& co, process& pr, bool io)
- {
- if (!pr.wait ())
- {
- const process_exit& e (*pr.exit);
-
- if (e.normal ())
- throw failed (); // Assume the child issued diagnostics.
-
- fail << "process " << name_bpkg (co) << " " << e;
- }
-
- if (io)
- fail << "error reading " << name_bpkg (co) << " output";
- }
-
const char*
name_b (const common_options& co)
{