/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 olive/checkout.py

  • Committer: Jelmer Vernooij
  • Date: 2006-09-27 21:05:19 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060927210519-7bc2662211808af5
Bunch of other small updates, add more items to 
the TODO list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        checkbutton_lightweight = self.glade.get_widget('checkbutton_checkout_lightweight')
71
71
        lightweight = checkbutton_lightweight.get_active()
72
72
        
73
 
        self.comm.set_busy(self.window)
74
73
        try:
75
74
            source = Branch.open(location)
76
75
            
111
110
        except errors.NotBranchError, errmsg:
112
111
            error_dialog(_('Location is not a branch'),
113
112
                                     _('The specified location has to be a branch.'))
114
 
            self.comm.set_busy(self.window, False)
115
113
            return
116
114
        except errors.TargetAlreadyExists, errmsg:
117
115
            error_dialog(_('Target already exists'),
118
116
                                     _('Target directory (%s)\nalready exists. Please select another target.') % errmsg)
119
 
            self.comm.set_busy(self.window, False)
120
117
            return
121
118
        except errors.NonExistingParent, errmsg:
122
119
            error_dialog(_('Non existing parent directory'),
123
120
                                     _("The parent directory (%s)\ndoesn't exist.") % errmsg)
124
 
            self.comm.set_busy(self.window, False)
125
121
            return
126
122
        
127
123
        self.close()