90
91
# Remove added files recursively
92
93
wt, path = WorkingTree.open_containing(directory)
94
94
except errors.NotBranchError:
95
95
self.dialog.error_dialog(_('Directory is not a branch'),
96
96
_('You can perform this action only in a branch.'))
97
97
self.comm.set_busy(self.window, False)
100
105
dialog.warning_dialog(_('No matching files'),
101
106
_('No added files were found in the working tree.'))
102
107
self.comm.set_busy(self.window, False)
106
111
# This should really never happen.