~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-05 21:25:15 UTC
  • mto: (1946.2.8 reduce-knit-churn)
  • mto: This revision was merged to the branch mainline in revision 1988.
  • Revision ID: john@arbash-meinel.com-20060905212515-60abd5d7c8d6fb69
Switch over to Transport.append_bytes or append_files

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
            # because we don't want to write to a temporary file and rename
208
208
            # into place, because that's going to happen to the whole
209
209
            # directory
210
 
            self.transport.append(tmpname + self.__INFO_NAME, sio)
 
210
            self.transport.append_file(tmpname + self.__INFO_NAME, sio)
211
211
 
212
212
            self.transport.rename(tmpname, self._held_dir)
213
213
            self._lock_held = True