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