diff -r 81fc9678b018 -r 65f4512e40e4 hgext/mq.py --- a/hgext/mq.py Thu Jun 09 01:19:39 2011 +0800 +++ b/hgext/mq.py Sat Jun 11 14:14:11 2011 +0200 @@ -617,7 +617,7 @@ def patch(self, repo, patchfile): '''Apply patchfile to the working directory. patchfile: name of patch file''' - files = {} + files = set() try: fuzz = patchmod.patch(self.ui, repo, patchfile, strip=1, files=files, eolmode=None)