Rev 1657: Add another assert. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Tue Aug 26 02:34:27 BST 2008


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

------------------------------------------------------------
revno: 1657
revision-id: jelmer at samba.org-20080826013425-lso1a510eessswgg
parent: jelmer at samba.org-20080826010355-8ike6fcygpcs65kl
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Tue 2008-08-26 03:34:25 +0200
message:
  Add another assert.
modified:
  commit.py                      commit.py-20060607190346-qvq128wgfubhhgm2-1
=== modified file 'commit.py'
--- a/commit.py	2008-08-25 02:12:47 +0000
+++ b/commit.py	2008-08-26 01:34:25 +0000
@@ -496,6 +496,8 @@
                 if not properties.is_valid_property_name(prop):
                     warning("Setting property %r with invalid characters in name", prop)
             conn = self.repository.transport.get_connection()
+            assert self.supports_custom_revprops or self._svn_revprops.keys() == [properties.PROP_REVISION_LOG], \
+                    "revprops: %r" % self._svn_revprops.keys()
             self.editor = conn.get_commit_editor(
                     self._svn_revprops, done, None, False)
             try:




More information about the bazaar-commits mailing list