~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Aaron Bentley
  • Date: 2007-03-20 17:04:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2528.
  • Revision ID: abentley@panoramicfeedback.com-20070320170416-52zj2nquxn9gea88
add info.describe_format

Show diffs side-by-side

added added

removed removed

Lines of Context:
771
771
    _formats = {}
772
772
    """The known formats."""
773
773
 
 
774
    def __eq__(self, other):
 
775
        return self.__class__ is other.__class__
 
776
 
 
777
    def __ne__(self, other):
 
778
        return not (self == other)
 
779
 
774
780
    @classmethod
775
781
    def find_format(klass, a_bzrdir):
776
782
        """Return the format for the branch object in a_bzrdir."""