/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-07 23:18:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2174.
  • Revision ID: john@arbash-meinel.com-20061207231834-zm3x2s92dvwy4ny3
Knit index files should ignore empty indexes rather than consider them corrupt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
932
932
 
933
933
class KnitHeaderError(KnitError):
934
934
 
935
 
    _fmt = "Knit header error: %(badline)r unexpected"
 
935
    _fmt = "Knit header error: %(badline)r unexpected for file %(filename)s"
936
936
 
937
 
    def __init__(self, badline):
 
937
    def __init__(self, badline, filename):
938
938
        KnitError.__init__(self)
939
939
        self.badline = badline
 
940
        self.filename = filename
940
941
 
941
942
 
942
943
class KnitCorrupt(KnitError):