Rev 821: Add exception for corrupt mapping data. in file:///data/jelmer/bzr-svn/0.4/

Jelmer Vernooij jelmer at samba.org
Fri Jan 18 04:05:51 GMT 2008


At file:///data/jelmer/bzr-svn/0.4/

------------------------------------------------------------
revno: 821
revision-id:jelmer at samba.org-20071221223210-6za4bmrihvh8bexm
parent: jelmer at samba.org-20071221214129-9ue7q2ip43zlixbo
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2007-12-21 23:32:10 +0100
message:
  Add exception for corrupt mapping data.
modified:
  errors.py                      errors.py-20061226172623-w1sbj8ynpo0eojqp-1
=== modified file 'errors.py'
--- a/errors.py	2007-11-26 11:32:01 +0000
+++ b/errors.py	2007-12-21 22:32:10 +0000
@@ -134,3 +134,11 @@
     def __init__(self, path):
         BzrError.__init__(self)
         self.path = path
+
+
+class CorruptMappingData(BzrError):
+    _fmt = """An invalid change was made to the bzr-specific properties in %(path)s."""
+
+    def __init__(self, path):
+        BzrError.__init__(self)
+        self.path = path




More information about the bazaar-commits mailing list