Rev 1768: Add docstring. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Mon Sep 1 22:19:39 BST 2008


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

------------------------------------------------------------
revno: 1768
revision-id: jelmer at samba.org-20080901211937-gy0owmzq0spvyhg2
parent: jelmer at samba.org-20080901211518-7z0hvv4rx83ubb3t
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-09-01 23:19:37 +0200
message:
  Add docstring.
modified:
  repository.py                  repository.py-20060306123302-1f8c5069b3fe0265
=== modified file 'repository.py'
--- a/repository.py	2008-09-01 21:15:18 +0000
+++ b/repository.py	2008-09-01 21:19:37 +0000
@@ -105,6 +105,11 @@
         return lhs_parent
 
     def has_bzr_fileprop_ancestors(self):
+        """Check whether there are any bzr file properties present in this revision.
+
+        This can tell us whether one of the ancestors of this revision is a 
+        fileproperty-based bzr revision.
+        """
         if not self.consider_fileprops:
             # This revisions descendant doesn't have bzr fileprops set, so this one can't have them either.
             return False
@@ -654,7 +659,7 @@
             if revid is not None:
                 yield revid
 
-    def _revmeta(self, path, revnum, changes, revprops=None, fileprops=None, 
+    def _revmeta(self, path, revnum, changes=None, revprops=None, fileprops=None, 
                  consider_fileprops=True):
         if (path, revnum) in self._revmeta_cache:
             if changes is not None:




More information about the bazaar-commits mailing list