chiark / gitweb /
dgit: $isuite fixes: defer pushing and rpush_handle_protovsn_bothends in rpush
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 16:03:45 +0000 (16:03 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 16:05:21 +0000 (16:05 +0000)
commit1837d3b05b891491c548a4a3b869f5ed24239886
tree88f1121274b41ea4494d3d90c60ae25fe732cba8
parent3dadcb8d2d02e528c5bd817f706dd181e6326e39
dgit: $isuite fixes: defer pushing and rpush_handle_protovsn_bothends in rpush

We mustn't call pushing until we have parsed the arguments enough to
find $isuite.  So remove the call to pushing from
cmd_remote_push_build_host.  Now we rely on cmd_push's call to
pushing, which it does after the argument parsing.

We then need to move rpush_handle_protovsn_bothends (which implicitly
calls accesss_*) too, until we have got $isuite and called pushing().
We can move that into dopush.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit