123
126
self.check_create.get_active())
124
127
except errors.NotBranchError:
125
128
dialog.error_dialog('Directory is not a branch.')
127
131
except errors.NonExistingParent, errmsg:
128
132
dialog.error_dialog('Parent directory doesn\'t exist: %s', errmsg)
130
135
except errors.DivergedBranchesError:
131
136
dialog.error_dialog('Branches have been diverged.')
133
139
except errors.PathPrefixNotCreated:
134
140
dialog.error_dialog('Path prefix couldn\'t be created.')