Rev 1441: Mention the fact that connections are now retained as much as possible. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Fri Jul 4 13:12:19 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1441
revision-id: jelmer at samba.org-20080704121216-3tfhclkm1r2mjccn
parent: jelmer at samba.org-20080704115036-z4ientqan4z6rh4b
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2008-07-04 14:12:16 +0200
message:
  Mention the fact that connections are now retained as much as possible.
modified:
  NEWS                           news-20061231030336-h9fhq245ie0de8bs-1
  transport.py                   transport.py-20060406231150-b3472d06b3a0818d
=== modified file 'NEWS'
--- a/NEWS	2008-07-04 09:15:00 +0000
+++ b/NEWS	2008-07-04 12:12:16 +0000
@@ -79,6 +79,10 @@
 
    * Several fixes for dealing with non-acii characters. (#128496)
 
+   * Re-use RA connections as much as possible. bzr-svn should in general now have 
+     no more than 2 TCP/IP connections to the same Subversion repository open
+	 at the same time. (#183824)
+
 bzr-svn 0.4.10  2008-05-12
 
   CHANGES

=== modified file 'transport.py'
--- a/transport.py	2008-07-02 00:21:50 +0000
+++ b/transport.py	2008-07-04 12:12:16 +0000
@@ -90,6 +90,8 @@
 
 def Connection(url):
     try:
+        import pdb
+        pdb.set_trace()
         mutter('opening SVN RA connection to %r' % url)
         ret = ra.RemoteAccess(url.encode('utf8'), 
                 auth=create_auth_baton(url),
@@ -325,6 +327,8 @@
             self.add_connection(conn)
 
     def get_dir(self, path, revnum, kind=False):
+        import pdb
+        pdb.set_trace()
         path = self._request_path(path)
         conn = self.get_connection()
         self.mutter('svn get-dir -r%d %s' % (revnum, path))




More information about the bazaar-commits mailing list