When loading a repository, the absolutized path will start with \ instead of /, so I changed It to use std::path::MAIN_SEPARATOR_STR. This allows me to use the Repository struct on Windows properly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
347 (somewhat, I think)
Description of changes:
When loading a repository, the absolutized path will start with \ instead of /, so I changed It to use
std::path::MAIN_SEPARATOR_STR
. This allows me to use the Repository struct on Windows properly.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.