def local_merge():
 model = main.model()
 cfg = gitcfg.current()
 view = MergeView(cfg, model, qtutils.active_window())
 view.show()
 view.raise_()
 return view

def local_merge ( ) : model = main . model ( ) cfg = gitcfg . current ( ) view = MergeView ( cfg , model , qtutils . active_window ( ) ) view . show ( ) view . raise_ ( ) return view
provides a dialog for merging branches .