aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-01-15 23:17:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-01-15 23:17:30 +0300
commit2862f91f6016bd07fd9adc0a0f518258a32aa274 (patch)
tree79c9e69f8e5e60955ac0c3f1962d88307d0a6220 /bpkg/rep-add.cxx
parent42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (diff)
Adapt to adding type prefix for repository canonical name
Diffstat (limited to 'bpkg/rep-add.cxx')
-rw-r--r--bpkg/rep-add.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/bpkg/rep-add.cxx b/bpkg/rep-add.cxx
index d18536f..7adb843 100644
--- a/bpkg/rep-add.cxx
+++ b/bpkg/rep-add.cxx
@@ -56,9 +56,7 @@ namespace bpkg
shared_ptr<repository> root (db.load<repository> (""));
if (!root->complements.insert (lazy_shared_ptr<repository> (db, r)).second)
- {
fail << rn << " is already a repository of this configuration";
- }
db.update (root);
t.commit ();