Mercurial > public > mercurial-scm > hg
diff mercurial/commands.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 | f966979f61ce |
children | b1a534335548 |
line wrap: on
line diff
--- 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)