~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/text.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-02-18 02:33:47 UTC
  • mfrom: (1534.1.24 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060218023347-0952c65f668bfd68
Merge Robert Collins integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
            raise KeyError(fileid + '-' + str(suffix))
96
96
 
97
97
        try:
98
 
            result = other._transport.copy_to([path], self._transport, pb=pb,
 
98
            result = other._transport.copy_to([path], self._transport, 
99
99
                                              mode=self._file_mode)
100
100
        except NoSuchFile:
101
101
            if not self._prefixed:
104
104
                self._transport.mkdir(hash_prefix(fileid)[:-1], mode=self._dir_mode)
105
105
            except FileExists:
106
106
                pass
107
 
            result = other._transport.copy_to([path], self._transport, pb=pb,
 
107
            result = other._transport.copy_to([path], self._transport,
108
108
                                              mode=self._file_mode)
109
109
 
110
110
        if result != 1: