Changeset 621c8ae5acb1…
Parent 55b9af63c5cc…
by
Changes to one file · Browse files at 621c8ae5acb1 Showing diff from parent 55b9af63c5cc Diff from another changeset...
@@ -79,8 +79,11 @@ self.mergelabel = lbl
self.action_area.add(lbl)
self.action_area.add(combo)
+ prev = False
for tool in hglib.mergetools(repo.ui):
- vlist.append((hglib.toutf(tool), False))
+ cur = tool.startswith('internal:')
+ vlist.append((hglib.toutf(tool), prev != cur))
+ prev = cur
mtool = repo.ui.config('ui', 'merge', None)
if mtool:
combo.child.set_text(hglib.toutf(mtool))
|
Loading...