chiark / gitweb /
dgit: Abolish move_dsc_to_bpd
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 12:08:25 +0000 (13:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 12:10:02 +0000 (13:10 +0100)
commit7646c04136bd156af29671bd1081378f6a398aff
tree50456141b6716d108af44317a7b7d0a57405eb10
parent0fba7acedc2d9e29109451001e53c15a6d81a5d3
dgit: Abolish move_dsc_to_bpd

This subroutine only has one caller.  It also contains a bit of
duplication both within itself and compared to its caller - the calls
to mv and its error handling - which is annoying to remove as it is.

Instead, put its code into build_source, and break out a private
subroutine $mv for the rename.

No functional change other than to messages.

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