/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to merge.py

  • Committer: Jasper Groenewegen
  • Date: 2008-07-25 15:42:45 UTC
  • mto: This revision was merged to the branch mainline in revision 572.
  • Revision ID: colbrac@xs4all.nl-20080725154245-afay6pt3eb7rvxu6
Add gmerge command and change MergeDialog to set parent as default if available

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self.wt = wt
47
47
        self.wtpath = wtpath
48
48
        
49
 
        directory = os.path.dirname(self.wt.abspath(self.wtpath))
 
49
        if default_branch_path and os.path.isdir(default_branch_path.partition('file://')[2]):
 
50
            directory = default_branch_path.partition('file://')[2]
 
51
        else:
 
52
            directory = os.path.dirname(self.wt.abspath(self.wtpath))
50
53
        
51
54
        # Create widgets
52
55
        self._hbox = gtk.HBox()