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