Rev 106: Provide get_file_with_stat. in file:///data/jelmer/bzr-rebase/trunk/

Jelmer Vernooij jelmer at samba.org
Thu Oct 9 17:25:34 BST 2008


At file:///data/jelmer/bzr-rebase/trunk/

------------------------------------------------------------
revno: 106
revision-id: jelmer at samba.org-20081009162533-zg6s5f9qcd9pow5q
parent: jelmer at samba.org-20080901175122-lf1xi0md2yhudwd5
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Thu 2008-10-09 18:25:33 +0200
message:
  Provide get_file_with_stat.
modified:
  maptree.py                     maptree.py-20070709163407-quin1nc7pd9bp2mo-1
=== modified file 'maptree.py'
--- a/maptree.py	2008-05-11 18:52:36 +0000
+++ b/maptree.py	2008-10-09 16:25:33 +0000
@@ -116,6 +116,10 @@
         return self.oldtree.get_file_sha1(file_id=self.old_id(file_id), 
                                           path=path)
 
+    def get_file_with_stat(self, file_id, path=None):
+        return self.oldtree.get_file_with_stat(file_id=self.old_id(file_id),
+                                               path)
+
     def get_file(self, file_id, path=None):
         if path is None:
             return self.oldtree.get_file(self.old_id(file_id=file_id))




More information about the bazaar-commits mailing list