Mercurial > public > mercurial-scm > hg
diff hgext/record.py @ 7718:6fa7b6fb90a9
record: do not lose permission changes on commit
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 27 Jan 2009 09:58:48 -0600 |
parents | b6f5490effbf |
children | ab00d2c281a8 |
line wrap: on
line diff
--- a/hgext/record.py Sun Jan 25 20:27:37 2009 +0100 +++ b/hgext/record.py Tue Jan 27 09:58:48 2009 -0600 @@ -475,7 +475,9 @@ try: ui.debug(_('applying patch\n')) ui.debug(fp.getvalue()) - patch.internalpatch(fp, ui, 1, repo.root) + pfiles = {} + patch.internalpatch(fp, ui, 1, repo.root, files=pfiles) + patch.updatedir(ui, repo, pfiles) except patch.PatchError, err: s = str(err) if s: