/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-02-01 16:42:48 UTC
  • mfrom: (126.1.22 bzr-gtk)
  • Revision ID: szilveszter.farkas@gmail.com-20070201164248-u11v85zglb00rohf
Merge from integration branch (refactoring, some new features)

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)