Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.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 | d976542986d2 |
children | 8ff2957c1d82 |
line wrap: on
line diff
--- 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)