/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/errors.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-01-31 23:52:50 UTC
  • mto: (157.1.2 trunk) (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 141.
  • Revision ID: szilveszter.farkas@gmail.com-20070131235250-diu8t5xjk4qizf14
Use the decorator in the Branch dialog code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        except errors.NoSuchFile:
51
51
            error_dialog(_("No diff output"),
52
52
                         _("The selected file hasn't changed."))
 
53
        except errors.NoSuchRevision:
 
54
                error_dialog(_('No such revision'),
 
55
                             _("The revision you specified doesn't exist."))
 
56
        except errors.FileExists:
 
57
                error_dialog(_('Target already exists'),
 
58
                             _("Target directory already exists. Please select another target."))
53
59
        except errors.AlreadyBranchError, errmsg:
54
60
            error_dialog(_('Directory is already a branch'),
55
61
                         _('The current directory (%s) is already a branch.\nYou can start using it, or initialize another directory.') % errmsg)