Rev 3712: NEWS for the record_entry_contents change. in http://people.ubuntu.com/~robertc/baz2.0/commit-dirstate

Robert Collins robertc at robertcollins.net
Tue Sep 23 23:46:19 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/commit-dirstate

------------------------------------------------------------
revno: 3712
revision-id: robertc at robertcollins.net-20080923224605-vqw2yezm8f8m2non
parent: robertc at robertcollins.net-20080922051520-uhr3pn61w141kagv
committer: Robert Collins <robertc at robertcollins.net>
branch nick: commit-dirstate
timestamp: Wed 2008-09-24 08:46:05 +1000
message:
  NEWS for the record_entry_contents change.
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
=== modified file 'NEWS'
--- a/NEWS	2008-09-22 05:15:20 +0000
+++ b/NEWS	2008-09-23 22:46:05 +0000
@@ -36,6 +36,10 @@
 
   API CHANGES:
 
+    * ``CommitBuilder.record_entry_contents`` returns one more element in
+      its result tuple - an optional file system hash for the hash cache
+      to use. (Robert Collins)
+
   TESTING:
 
     * ``bzrlib.tests.repository_implementations`` has been renamed to

=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py	2008-09-22 05:15:20 +0000
+++ b/bzrlib/repository.py	2008-09-23 22:46:05 +0000
@@ -248,9 +248,9 @@
             version_recorded is True if a new version of the entry has been
             recorded. For instance, committing a merge where a file was only
             changed on the other side will return (delta, False).
-            fs_hash is either None, or the hash of the path. (Currently we 
-            use sha1 hashes of the entire file content, and only calculate
-            these for regular files).
+            fs_hash is either None, or the hash details for the path (currently
+            a tuple of the contents sha1 and the statvalue returned by
+            tree.get_file_with_stat()).
         """
         if self.new_inventory.root is None:
             if ie.parent_id is not None:




More information about the bazaar-commits mailing list