~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Martin Pool
  • Date: 2005-05-17 06:51:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050517065131-96113900760a324f
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
            else:
141
141
                content = file(p, 'rb').read()
142
142
 
 
143
                # calculate the sha again, just in case the file contents
 
144
                # changed since we updated the cache
143
145
                entry.text_sha1 = sha_string(content)
144
146
                entry.text_size = len(content)
145
147