105
105
def planned_changes(self):
106
107
return (self.unbind or self.bind or self.destroy_tree
107
108
or self.create_tree or self.destroy_reference
108
109
or self.create_branch or self.create_repository)
112
114
changes = self.tree.changes_from(self.tree.basis_tree())
113
115
if changes.has_changed():
114
116
raise errors.UncommittedChanges(self.tree)
116
118
def _select_bind_location(self):
117
130
if self.local_branch is not None:
118
131
old_bound = self.local_branch.get_old_bound_location()
119
132
if old_bound is not None: