aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-03 18:50:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-05 12:26:23 +0300
commit0d3525d80fbeee78ae49384f2d722de20127a040 (patch)
tree6e60603e396c7cd0e781806782dfa31cb13980cf /bpkg/manifest-utility.cxx
parent87841c9288561a3ad580ae23bb288ff3d3d39719 (diff)
Rename bpkg repository type to pkg
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 77baafb..6162c21 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -87,7 +87,7 @@ namespace bpkg
// Guess the repository type to construct the repository location:
//
// 1. If type is specified as an option use that (but validate
- // incompatible scheme/type e.g., git/bpkg).
+ // incompatible scheme/type e.g., git/pkg).
//
// 2. See guess_type() function description in libbpkg/manifest.hxx for
// the algorithm details.
@@ -106,10 +106,10 @@ namespace bpkg
dr << fail << "invalid " << t << " repository location '" << u << "': "
<< e;
- // If the bpkg repository type was guessed, then suggest the user to
+ // If the pkg repository type was guessed, then suggest the user to
// specify the type explicitly.
//
- if (!ot && t == repository_type::bpkg)
+ if (!ot && t == repository_type::pkg)
dr << info << "consider using --type to specify repository type";
dr << endf;
@@ -133,7 +133,7 @@ namespace bpkg
{
switch (l.type ())
{
- case repository_type::bpkg: return dir_path (); // No state.
+ case repository_type::pkg: return dir_path (); // No state.
case repository_type::git:
{
return dir_path (sha256 (l.canonical_name ()).abbreviated_string (16));