diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:41:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:41:54 +0200 |
commit | 738050f2a71b2f0d094a692cc48c94653b82287f (patch) | |
tree | 874b79e5017be0aefde4f9427ecf6fc95cbe36be /bpkg/rep-create.cxx | |
parent | 221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 (diff) |
Implement rep-fetch command
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r-- | bpkg/rep-create.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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 <bpkg/rep-create> #include <map> -#include <utility> // pair, move() -#include <cassert> #include <fstream> #include <iostream> #include <system_error> @@ -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)) |