diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:51:23 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:51:23 +0000 |
commit | d5f5e01951b405c645ee8c1aa497b0c6893e9da1 (patch) | |
tree | fb43e5486e617ba483d8c8986aef371d8536bbb1 /debian | |
parent | 201e064fa7eb89ec1aacf265c4c07fef037c87d7 (diff) |
dgit: Move canonicalise_suite into fetch()
fetchpullargs has to run before we have dealt with multisuites, which
cannot be straightforwardly canonicalised.
Move the canonicalisation out of fetchpullargs. Previously,
fetchpullargs would always call canonicalise_suite if it wasn't going
to fail. In one of the cases it would print a message, but we have
just changed canonicalise_suite to print a message too, so the one
from fetchpullargs was redundant.
fetchpullargs is called right before fetch, in cmd_fetch; and, in
cmd_pull. In cmd_pull the split brain check intervenes between
fetchpullargs and pull which calls fetch. So overall there is now no
functional change other than the loss of the now-redundant message.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions