[Pkg-bazaar-commits] ./bzr/unstable r518: doc
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:19:25 UTC 2009
------------------------------------------------------------
revno: 518
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-17 16:51:31 +1000
message:
doc
modified:
bzrlib/commit.py
-------------- next part --------------
=== modified file 'bzrlib/commit.py'
--- a/bzrlib/commit.py 2005-05-17 04:59:29 +0000
+++ b/bzrlib/commit.py 2005-05-17 06:51:31 +0000
@@ -140,6 +140,8 @@
else:
content = file(p, 'rb').read()
+ # calculate the sha again, just in case the file contents
+ # changed since we updated the cache
entry.text_sha1 = sha_string(content)
entry.text_size = len(content)
More information about the Pkg-bazaar-commits
mailing list