mercurial/commands.py
changeset 14564 65f4512e40e4
parent 14557 f966979f61ce
child 14604 b1a534335548
--- a/mercurial/commands.py	Thu Jun 09 01:19:39 2011 +0800
+++ b/mercurial/commands.py	Sat Jun 11 14:14:11 2011 +0200
@@ -3106,7 +3106,7 @@
             if opts.get('exact') or opts.get('import_branch'):
                 repo.dirstate.setbranch(branch or 'default')
 
-            files = {}
+            files = set()
             patch.patch(ui, repo, tmpname, strip=strip, files=files,
                         eolmode=None, similarity=sim / 100.0)
             files = list(files)