Rev 4283: (trivial) Fix typo and a misleading signature in http://bazaar.launchpad.net/%7Evila/bzr/integration

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Apr 10 13:12:06 BST 2009


At http://bazaar.launchpad.net/%7Evila/bzr/integration

------------------------------------------------------------
revno: 4283 [merge]
revision-id: v.ladeuil+lp at free.fr-20090410121158-y2bn5ogps6eiytlv
parent: pqm at pqm.ubuntu.com-20090410005355-gbvyv8ghdgx5h480
parent: v.ladeuil+lp at free.fr-20090410113019-wd99oq76l68ct82x
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: integration
timestamp: Fri 2009-04-10 14:11:58 +0200
message:
  (trivial) Fix typo and a misleading signature
modified:
  bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
  bzrlib/repofmt/groupcompress_repo.py repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
------------------------------------------------------------
Use --levels 0 (or -n0) to see merged revisions.
-------------- next part --------------
=== modified file 'bzrlib/inventory.py'
--- a/bzrlib/inventory.py	2009-04-09 20:23:07 +0000
+++ b/bzrlib/inventory.py	2009-04-10 12:11:58 +0000
@@ -1342,8 +1342,8 @@
             yield ie
             file_id = ie.parent_id
 
-    def has_filename(self, names):
-        return bool(self.path2id(names))
+    def has_filename(self, filename):
+        return bool(self.path2id(filename))
 
     def has_id(self, file_id):
         return (file_id in self._byid)

=== modified file 'bzrlib/repofmt/groupcompress_repo.py'
--- a/bzrlib/repofmt/groupcompress_repo.py	2009-04-09 20:23:07 +0000
+++ b/bzrlib/repofmt/groupcompress_repo.py	2009-04-10 12:11:58 +0000
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-"""Repostory formats using CHK inventories and groupcompress compression."""
+"""Repository formats using CHK inventories and groupcompress compression."""
 
 import time
 



More information about the bazaar-commits mailing list