Rev 4283: (vila) (trivial) Fix typo and a misleading signature in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Apr 10 14:02:30 BST 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4283
revision-id: pqm at pqm.ubuntu.com-20090410130227-fh2zl04tu0oq6cg6
parent: pqm at pqm.ubuntu.com-20090410005355-gbvyv8ghdgx5h480
parent: v.ladeuil+lp at free.fr-20090410121158-y2bn5ogps6eiytlv
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2009-04-10 14:02:27 +0100
message:
  (vila) (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
    ------------------------------------------------------------
    revno: 4282.1.1
    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
    ------------------------------------------------------------
    revno: 4277.2.1
    revision-id: v.ladeuil+lp at free.fr-20090410113019-wd99oq76l68ct82x
    parent: pqm at pqm.ubuntu.com-20090409074647-c3craithy1i8vndv
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: various
    timestamp: Fri 2009-04-10 13:30:19 +0200
    message:
      Fix misleading signature and one typo.
      
      * bzrlib/repofmt/groupcompress_repo.py: 
      Fix typo.
      
      * bzrlib/inventory.py:
      (Inventory.has_filename): 'names' parameter renamed to
      'filename' (singular) to conform with all other implementations.
    modified:
      bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
      bzrlib/repofmt/groupcompress_repo.py repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
=== 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