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