Rev 60: Fix #243491 by disabling smart medium for DAV. in http://bazaar.launchpad.net/%7Ebzr/bzr.webdav/webdav

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Jun 30 16:58:23 BST 2008


At http://bazaar.launchpad.net/%7Ebzr/bzr.webdav/webdav

------------------------------------------------------------
revno: 60
revision-id: v.ladeuil+lp at free.fr-20080630155820-zsr9oipdcdg9fhks
parent: v.ladeuil+lp at free.fr-20080613061311-f6xp54mhf7hjq0lw
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: webdav
timestamp: Mon 2008-06-30 17:58:20 +0200
message:
  Fix #243491 by disabling smart medium for DAV.
  
  * webdav.py:
  (HttpDavTransport): We are not and never will be a smart medium.
modified:
  webdav.py                      webdav.py-20060816232542-enpjxth2743ttqpq-3
-------------- next part --------------
=== modified file 'webdav.py'
--- a/webdav.py	2008-06-09 14:24:25 +0000
+++ b/webdav.py	2008-06-30 15:58:20 +0000
@@ -859,6 +859,11 @@
 
         return before
 
+    def get_smart_medium(self):
+        # smart server and webdav are exclusive. There is really no point to
+        # use webdav if a smart server is available
+        raise errors.NoSmartMedium(self)
+
 
 def get_test_permutations():
     """Return the permutations to be used in testing."""



More information about the bazaar-commits mailing list