diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-04 15:41:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-06 11:53:45 +0300 |
commit | 03c40ed68ce10b26a5f9f509e914b1b54f060215 (patch) | |
tree | 42e79327baa90f4cfdee1ba04dba98250293fcfd /bpkg/cfg-unlink.cxx | |
parent | 22165c649ca2c5ef216ae3f99fbfb2dc0fff99ab (diff) |
Add --backlink, --dangling, and --recursive options to cfg-info
Diffstat (limited to 'bpkg/cfg-unlink.cxx')
-rw-r--r-- | bpkg/cfg-unlink.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bpkg/cfg-unlink.cxx b/bpkg/cfg-unlink.cxx index e29d949..52d8969 100644 --- a/bpkg/cfg-unlink.cxx +++ b/bpkg/cfg-unlink.cxx @@ -69,7 +69,7 @@ namespace bpkg // Unlink the configuration in the in-memory model, so we can evaluate // if the dependent configurations are still linked with it. // - // Note that we don't remove the back-link here, since this is not + // Note that we don't remove the backlink here, since this is not // required for the check. // if (!priv) @@ -162,7 +162,7 @@ namespace bpkg // assert (uc != nullptr); - // Implicit back-link. + // Implicit backlink. // shared_ptr<configuration> cc ( udb.query_one<configuration> (query::uuid == mdb.uuid.string ())); @@ -172,7 +172,7 @@ namespace bpkg // assert (cc != nullptr); - // If the back-link turns out to be explicit, then, unless the + // If the backlink turns out to be explicit, then, unless the // configuration being unlinked is private, we just turn the explicit // link into an implicit one rather then remove the direct and back // links. @@ -181,7 +181,7 @@ namespace bpkg { info << "configurations " << udb.config_orig << " and " << mdb.config_orig << " are mutually linked, turning the link " - << "to " << udb.config_orig << " into implicit back-link"; + << "to " << udb.config_orig << " into implicit backlink"; uc->expl = false; mdb.update (uc); @@ -237,7 +237,7 @@ namespace bpkg if (!exists (c.effective_path (db.config))) { if (verb > 1) - text << "removing dangling implicit back-link " << c.path; + text << "removing dangling implicit backlink " << c.path; db.erase (c); ++count; @@ -247,7 +247,7 @@ namespace bpkg t.commit (); if (verb && !o.no_result ()) - text << "removed " << count << " dangling implicit back-link(s)"; + text << "removed " << count << " dangling implicit backlink(s)"; return 0; } |