changeset 5227 | 466323968b23 |
parent 5221 | 8ede77c2d008 |
child 5228 | 8050f13772f6 |
--- a/mercurial/localrepo.py Mon Aug 27 01:44:35 2007 -0300 +++ b/mercurial/localrepo.py Mon Aug 27 14:21:04 2007 -0300 @@ -718,7 +718,7 @@ new[f] = self.filecommit(f, m1, m2, linkrev, tr, changed) new_exec = is_exec(f) new_link = is_link(f) - if not changed or changed[-1] != f: + if (not changed or changed[-1] != f) and m2.get(f) != new[f]: # mention the file in the changelog if some flag changed, # even if there was no content change. old_exec = m1.execf(f)