Rev 1587: Throw appropriate error from put_file. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Thu Aug 21 22:55:43 BST 2008


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

------------------------------------------------------------
revno: 1587
revision-id: jelmer at samba.org-20080821215542-bqigadsj46dhj8r0
parent: jelmer at samba.org-20080821203440-smqtkbf6f98u0zre
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Thu 2008-08-21 23:55:42 +0200
message:
  Throw appropriate error from put_file.
modified:
  transport.py                   transport.py-20060406231150-b3472d06b3a0818d
=== modified file 'transport.py'
--- a/transport.py	2008-08-09 13:05:11 +0000
+++ b/transport.py	2008-08-21 21:55:42 +0000
@@ -219,6 +219,9 @@
         """See Transport.stat()."""
         raise TransportNotPossible('stat not supported on Subversion')
 
+    def put_file(self, name, file):
+        raise TransportNotPossible("put file not supported on Subversion")
+
     def get_uuid(self):
         if self._uuid is None:
             conn = self.get_connection()




More information about the bazaar-commits mailing list