3344
3344
if local and not bound_location:
3345
3345
raise errors.LocalRequiresBoundBranch()
3348
3357
if not local and bound_location and not source_is_master:
3349
3358
# not pulling from master, so we need to update master.
3350
3359
master_branch = self.target.get_master_branch(possible_transports)