Commits

Steve Borho  committed 7e34888

gdialog: check for missing extdiff configuration

  • Participants
  • Parent commits 29f03b0

Comments (0)

Files changed (1)

File hggtk/gdialog.py

             extdiff.dodiff(self.ui, self.repo, self.diffcmd, self.diffopts,
                             [self.repo.wjoin(file)], self.opts)
 
-        if self.diffcmd == 'diff':
+        if not self.diffcmd or self.diffcmd == 'diff':
             Prompt('No visual diff configured',
                     'Please select a visual diff application.', self).run()
             dlg = ConfigDialog(self.repo.root, False)