mercurial/cmdutil.py
changeset 16687 e34106fa0dc3
parent 16642 5cf18921bb7b
child 16699 d947e1da1259
--- a/mercurial/cmdutil.py	Sat May 12 16:00:57 2012 +0200
+++ b/mercurial/cmdutil.py	Sat May 12 16:00:58 2012 +0200
@@ -1360,7 +1360,7 @@
                                               copied=copied.get(path))
                     return mctx
                 except KeyError:
-                    raise IOError()
+                    raise IOError
         else:
             ui.note(_('copying changeset %s to %s\n') % (old, base))
 
@@ -1369,7 +1369,7 @@
                 try:
                     return old.filectx(path)
                 except KeyError:
-                    raise IOError()
+                    raise IOError
 
             # See if we got a message from -m or -l, if not, open the editor
             # with the message of the changeset to amend