mercurial/bundle2.py
changeset 21628 7c5a85619dca
parent 21627 3e8bcc90f07c
child 21644 17755dd8c509
--- a/mercurial/bundle2.py	Wed May 28 16:46:58 2014 -0700
+++ b/mercurial/bundle2.py	Wed May 28 15:37:47 2014 -0700
@@ -523,7 +523,7 @@
         if name[0].islower():
             self.ui.debug("ignoring unknown parameter %r\n" % name)
         else:
-            raise KeyError(name)
+            raise error.BundleValueError(params=(name,))
 
 
     def iterparts(self):