A repository's id, in precedence order: an id: stated in the config, else
the id its origin URL gives, else local/<name>, where the name is the
config entry's name or else the directory's basename (§6, R1).
Throws RepositoryIdError when the result breaks the rules above, naming
what the operator can change.
A repository's id, in precedence order: an
id:stated in the config, else the id its origin URL gives, elselocal/<name>, where the name is the config entry'snameor else the directory's basename (§6, R1).Throws
RepositoryIdErrorwhen the result breaks the rules above, naming what the operator can change.