Rev 2534: Fix typos. in http://bazaar.launchpad.net/~bzr/bzr/bzr.connection.sharing

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed Jun 27 16:25:14 BST 2007


At http://bazaar.launchpad.net/~bzr/bzr/bzr.connection.sharing

------------------------------------------------------------
revno: 2534
revision-id: v.ladeuil+lp at free.fr-20070627152512-gc0eprwk842k3mlq
parent: v.ladeuil+lp at free.fr-20070620142506-txsb1v8538kpsafw
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: bzr.connection.sharing
timestamp: Wed 2007-06-27 17:25:12 +0200
message:
  Fix typos.
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/remote.py     ssh.py-20060608202016-c25gvf1ob7ypbus6-1
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2007-06-20 14:25:06 +0000
+++ b/NEWS	2007-06-27 15:25:12 +0000
@@ -1,5 +1,19 @@
 IN DEVELOPMENT
 
+  INTERNALS:
+    * Refactoring of transport classes connected to a remote server.
+      ConnectedTransport is a new class that serves as a basis for all
+      transports needing to connect to a remote server.  transport.split_url
+      have been deprecated, use the static method on the object instead. URL
+      tests have been refactored too.
+      (Vincent Ladeuil)
+
+    * Better connection sharing for ConnectedTransport objects.
+      transport.get_transport() now accepts a 'possible_transports' parameter.
+      If a newly requested transport can share a connection with one of the
+      list, it will.
+      (Vincent Ladeuil)
+
   IMPROVEMENTS:
 
     * The --lsprof-file option now dumps a text rendering of the profiling
@@ -35,6 +49,9 @@
       number of stages is adjusted accordingly.
       (Ian Clatworthy)
 
+    * Get rid of FTP connection cache.
+     (Vincent Ladeuil)
+
   TESTING:
 
     * Removed the ``--keep-output`` option from selftest and clean up test
@@ -42,6 +59,20 @@
       running the test suite and cuts the time by about half.
       (Andrew Bennetts, Martin Pool)
 
+  BUGFIXES:
+
+    * ``bzr init`` should only connect to the remote location one time.  We
+      have been connecting several times because we forget to pass around the
+      Transport object. This modifies ``BzrDir.create_branch_convenience``,
+      so that we can pass in the Transport that we already have.
+      (John Arbash Meinel, Vincent Ladeuil, #111702)
+
+    * Get rid of sftp cache.
+      (Vincent Ladeuil, #43731)
+
+    * All identified multiple connections for a single bzr command have been
+      fixed. See bzrlib/tests/commands directory.
+      (Vincent Ladeuil)
 
 bzr 0.17  2007-06-18
 
@@ -80,17 +111,6 @@
       is specified, and are labelled "revision-id:", as per mainline
       revisions, instead of "merged:". (Kent Gibson)
 
-    * Refactoring of transport classes connected to a remote server.
-      ConnectedTransport is a new class that serves as a basis for all
-      transports needing to connet to a remote server.  transport.split_url
-      have been deprecated, use the static method on the object instead. URL
-      tests have been refactored too.  (Vincent Ladeuil)
-
-    * Better connection sharing for ConnectedTransport objects.
-      transport.get_transport() now accepts a 'possible_transports' parameter.
-      If a newly requested transport can share a connection with one of the
-      list, it will.
-
     * New ``BranchBuilder`` API which allows the construction of particular
       histories quickly. Useful for testing and potentially other applications
       too. (Robert Collins)
@@ -104,9 +124,6 @@
     * Added ``bzr log --limit`` to report a limited number of revisions.
       (Kent Gibson, #3659)
 
-    * Get rid of FTP connection cache.
-     (Vincent Ladeuil)
-
     * Revert does not try to preserve file contents that were originally
       produced by reverting to a historical revision.  (Aaron Bentley)
 
@@ -142,19 +159,6 @@
     * Let TestUIFactoy encode the password prompt with its own stdout.
       (Vincent Ladeuil, #110204)
 
-    * ``bzr init`` should only connect to the remote location one time.  We
-      have been connecting several times because we forget to pass around the
-      Transport object. This modifies ``BzrDir.create_branch_convenience``,
-      so that we can pass in the Transport that we already have.
-      (John Arbash Meinel, Vincent Ladeuil, #111702)
-
-    * Get rid of sftp cache.
-      (Vincent Ladeuil, #43731)
-
-    * All identified multiple connections for a single bzr command have been
-      fixed. See bzrlib/tests/commands directory.
-      (Vincent Ladeuil)
-
     * pycurl should take use the range header that takes the range hint
       into account.
       (Vincent Ladeuil, #112719)

=== modified file 'bzrlib/transport/__init__.py'
--- a/bzrlib/transport/__init__.py	2007-06-11 07:37:43 +0000
+++ b/bzrlib/transport/__init__.py	2007-06-27 15:25:12 +0000
@@ -1097,7 +1097,7 @@
         user, password, host and path should be quoted if they contain reserved
         chars.
 
-        :param url: an quoted url
+        :param url: a quoted url
 
         :return: (scheme, user, password, host, port, path) tuple, all fields
             are unquoted.

=== modified file 'bzrlib/transport/remote.py'
--- a/bzrlib/transport/remote.py	2007-06-11 07:37:43 +0000
+++ b/bzrlib/transport/remote.py	2007-06-27 15:25:12 +0000
@@ -492,7 +492,7 @@
 
         if http_transport is None:
             # FIXME: the password may be lost here because it appears in the
-            # url only for an intial construction (when the url came from the
+            # url only for an initial construction (when the url came from the
             # command-line).
             http_url = base[len('bzr+'):]
             self._http_transport = transport.get_transport(http_url)



More information about the bazaar-commits mailing list