3466
3466
if local and not bound_location:
3467
3467
raise errors.LocalRequiresBoundBranch()
3470
3479
if not local and bound_location and not source_is_master:
3471
3480
# not pulling from master, so we need to update master.
3472
3481
master_branch = self.target.get_master_branch(possible_transports)