From 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 23 Dec 2017 19:05:22 +0300 Subject: Add repository type detection --- bpkg/manifest-utility.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/manifest-utility.hxx') diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index afa93f5..f4dadb4 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -34,12 +34,12 @@ namespace bpkg version parse_package_version (const char*); - // First use the passed location as is. If the result is relative, - // then assume this is a relative path to the repository directory - // and complete it based on the current working directory. + // If the passed location is a relative local path, then assume this is a + // relative path to the repository directory and complete it based on the + // current working directory. Diagnose invalid locations and throw failed. // repository_location - parse_location (const char*); + parse_location (const char*, optional); } #endif // BPKG_MANIFEST_UTILITY_HXX -- cgit v1.1