diff -r 67964cda8701 -r e34106fa0dc3 mercurial/cmdutil.py --- 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