Convenience function to take a snapshot from the repository's
configuration. The contents of this snapshot will not change,
even if the underlying config files are modified.
The configuration file must be freed once it's no longer
being used by the user.
@param out_ Pointer to store the loaded configuration
@param repo the repository
@return 0, or an error code
Get a snapshot of the repository's configuration
Convenience function to take a snapshot from the repository's configuration. The contents of this snapshot will not change, even if the underlying config files are modified.
The configuration file must be freed once it's no longer being used by the user.
@param out_ Pointer to store the loaded configuration @param repo the repository @return 0, or an error code