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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-07-06 17:08:45 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060706170845-da015b629f5876a4
2006-07-06  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * I'm not dead :)
    * backend/errors.py: added some exceptions related to fileops.move()
    * backend/fileops.py: implemented move()
    * backend/info_helper.py: added diff_helper()
    * backend/info.py: implemented diff()

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        commit.commit()
77
77
    """
78
78
 
 
79
class MissingArgumentError(OliveError):
 
80
    """ Occurs when not enough parameters are given.
 
81
    
 
82
    May occur in:
 
83
        fileops.move()
 
84
    """
 
85
 
 
86
class MultipleMoveError(OliveError):
 
87
    """ Occurs when moving/renaming more than 2 files, but the last argument is not a directory
 
88
    
 
89
    May occur in:
 
90
        fileops.move()
 
91
    """
 
92
 
79
93
class NoChangesToCommitError(OliveError):
80
94
    """ Occurs if there are no changes to commit
81
95