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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-12 02:46:38 UTC
  • mfrom: (3144.6.3 bzr.ab.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080312024638-d1zdt09upkzq52is
Add 'kind' to UnknownFormatError (#173980, dwatkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2698
2698
        except errors.NoSuchFile:
2699
2699
            raise errors.NoWorkingTree(base=transport.base)
2700
2700
        except KeyError:
2701
 
            raise errors.UnknownFormatError(format=format_string)
 
2701
            raise errors.UnknownFormatError(format=format_string,
 
2702
                                            kind="working tree")
2702
2703
 
2703
2704
    def __eq__(self, other):
2704
2705
        return self.__class__ is other.__class__