Mercurial > hgsubversion
changeset 514:a30b9fa840be
stupid: update filteriterhunks() for hg 1.5
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 10 Jan 2010 19:42:13 +0100 |
parents | 5c8a48828ae9 |
children | 9fadbf0686a1 |
files | hgsubversion/stupid.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/stupid.py +++ b/hgsubversion/stupid.py @@ -78,11 +78,11 @@ def mempatchproxy(parentctx, files): def filteriterhunks(meta): iterhunks = patch.iterhunks - def filterhunks(ui, fp, sourcefile=None, textmode=False): + def filterhunks(ui, fp, sourcefile=None): applycurrent = False # Passing False instead of textmode because we should never # be ignoring EOL type. - for data in iterhunks(ui, fp, sourcefile, False): + for data in iterhunks(ui, fp, sourcefile): if data[0] == 'file': if data[1][1] in meta.filemap: applycurrent = True