~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2009-03-06 04:38:56 UTC
  • mto: (4086.1.1 hpss-integration)
  • mto: This revision was merged to the branch mainline in revision 4087.
  • Revision ID: robertc@robertcollins.net-20090306043856-1w5vzs5ebv93zyda
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
580
580
 
581
581
        :seealso: Branch._get_tags_bytes.
582
582
        """
583
 
        self.lock_write()
584
 
        try:
585
 
            self._transport.put_bytes('tags', bytes)
586
 
        finally:
587
 
            self.unlock()
 
583
        return _run_with_write_locked_target(self, self._transport.put_bytes,
 
584
            'tags', bytes)
588
585
 
589
586
    def _cache_revision_history(self, rev_history):
590
587
        """Set the cached revision history to rev_history.