From 738050f2a71b2f0d094a692cc48c94653b82287f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Sep 2015 13:41:54 +0200 Subject: Implement rep-fetch command --- bpkg/rep-create.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bpkg/rep-create.cxx') diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index 4546224..6ee0e87 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -5,8 +5,6 @@ #include #include -#include // pair, move() -#include #include #include #include @@ -145,6 +143,10 @@ namespace bpkg // Load the 'repositories' file to make sure it is there and // is valid. // + // @@ The same code as in rep-fetch. + // @@ Should we check for duplicates? Or should this be done at + // the manifest level? + // path rf (d / path ("repositories")); if (!exists (rf)) -- cgit v1.1