~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2010-05-06 23:54:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506235405-wii4elupfhzl3jvy
Add __str__ to the new helper classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2288
2288
        self.branch_token = branch_token
2289
2289
        self.unlock = unlock
2290
2290
 
 
2291
    def __str__(self):
 
2292
        return "BranchWriteLockResult(%s, %s)" % (self.branch_token,
 
2293
            self.unlock)
 
2294
 
2291
2295
 
2292
2296
class BzrBranch(Branch, _RelockDebugMixin):
2293
2297
    """A branch stored in the actual filesystem.