327
333
def changes_planned(self):
328
334
"""Return True if changes are planned, False otherwise"""
335
341
"""Raise if reconfiguration would destroy local changes"""
336
342
if self._destroy_tree and self.tree.has_changes():
338
344
if self._create_reference and self.local_branch is not None:
339
345
reference_branch = branch.Branch.open(self._select_bind_location())
342
348
raise UnsyncedBranches(self.controldir, reference_branch)
344
350
def _select_bind_location(self):