Railway lines in Christchurch will be closed for an entire weekend in February while planned maintenance work is carried out.