diff hgext/transplant.py @ 14564:65f4512e40e4

patch: turn patch() touched files dict into a set
author Patrick Mezard <pmezard@gmail.com>
date Sat, 11 Jun 2011 14:14:11 +0200
parents 517e1d88bf7e
children 39235b398248
line wrap: on
line diff
--- a/hgext/transplant.py	Thu Jun 09 01:19:39 2011 +0800
+++ b/hgext/transplant.py	Sat Jun 11 14:14:11 2011 +0200
@@ -227,7 +227,7 @@
             raise util.Abort(_('can only omit patchfile if merging'))
         if patchfile:
             try:
-                files = {}
+                files = set()
                 patch.patch(self.ui, repo, patchfile, files=files, eolmode=None)
                 files = list(files)
                 if not files: