143
142
except errors.NotBranchError:
144
143
error_dialog(_('Directory is not a branch'),
145
144
_('You can perform this action only in a branch.'))
148
146
except errors.DivergedBranches:
149
147
error_dialog(_('Branches have been diverged'),
150
148
_('You cannot push if branches have diverged. Use the\noverwrite option if you want to push anyway.'))