~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1958
1958
        return self.__dict__ == other.__dict__
1959
1959
 
1960
1960
    def __repr__(self):
1961
 
        if self.branch:
1962
 
            return "<%s of %s>" % (self.__class__.__name__, self.branch)
1963
 
        else:
1964
 
            return "<%s of format:%s bzrdir:%s>" % (
1965
 
                self.__class__.__name__, self.branch,
1966
 
                self.format, self.bzrdir)
 
1961
        return "<%s of %s>" % (self.__class__.__name__, self.branch)
1967
1962
 
1968
1963
 
1969
1964
class SwitchHookParams(object):