assistant: When there are multiple remotes giving different ways to access the same repository, honor remote cost settings and use the cheapest available.

Note that TransferInfo does not always contain the Remote, although
any transfer added to the TransferQueue does have a Remote in its
TransferInfo. The transferkeys command still accepts a UUID, which is
useful to handle upgrades, where an old assistant version runs the new
transferkeys.

This commit was sponsored by Kalle Svensson.
This commit is contained in:
Joey Hess 2014-05-19 16:19:33 -04:00
parent e5bebde345
commit fed509fb3e
6 changed files with 31 additions and 17 deletions

View file

@ -136,3 +136,5 @@ gpg: 68D8501429C42E01: skipped: public key already present
"""]]
[[!meta title="transferkeys protocol needs to include remote name to deal with multiple remotes with same UUID"]]
> [[fixed|done]] --[[Joey]]