104
104
        except errors.DivergedBranches:
 
105
105
            response = question_dialog(_('Branches have been diverged'),
 
106
106
                                       _('You cannot push if branches have diverged.\nOverwrite?'))
 
108
108
                revs = do_push(self.branch, location=location, overwrite=True)
 
110
111
        self._history.add_entry(location)
 
111
112
        info_dialog(_('Push successful'),