It seems version__.py may have content change without mtime change. Since
reading version__.py is usually cheap, check its content instead of
stating it. This should make chg able to detect version change when the
package manager upgrades files with mtime preserved and size happens to be
unchanged.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
I will test it on a Mac tomorrow. I think this patch is optional (nice to have).
FB also has some weird reports that suggest demandimport is causing chg to load a mix of old and new modules. So the first two patches are more important in terms of correctness.
Comment Actions
I'll drop this per your comment on the issue5653. Thanks for investigating it further.