Files changed (3)
TimestampMod is an extension for Mercurial DVCS that incorporates automatic saving and restoring of the modification times of files under version control. This extension is based on an original timestamp extension by [Friedrich Kastner-Masilko](mailto:email@example.com) hosted at [https://bitbucket.org/face/timestamp][ts].
These release notes will not cover every version, just tip of the repository and previous major release points.
* The extension will abort running the Post-Merge and Post-Resolve hooks until there are no unresolved files. Command line merge tools can leave extra lines in unresolved files to help with manual merging. This makes it impossible for the extension to read the JSON timestamp file. Since unresolved files indicate an intermediate merge state, reapplying the timestamps to the unresolved state would likely be incorrect in the first place.
* A compatibility issue with the command line Mercurial package was fixed. The Python library distributed with the command line Mercurial package does not include the JSON module! A separate Python installation is required for use with the command line Mercurial package. The extension can now reference an external Python library to pick up the components it needs that may be missing from Mercurial or TortoiseHg native Python libraries.
+ * Timestamps were not restored when 'hg revert' was used with a folder name. The extension was attempting to treat the folder name as a reverted file, but could not find the timestamp data for it. The extension now distinguishes between reverting files and reverting folders and applies timestamps to the files within a reverted folder.
This is a feature change beta release. The format of the timestamp file (.hgtimestamp) has changed with this release in order to be more forward-compatible.
* The timestamp file (.hgtimestamp) format has been modified to allow better forward-compatibility. This mean that from this version and those following, any additional modifications to the timestamp file should not break compatibility with previous versions (at least back to v0.2.2).
* The timestamp file (.hgtimestamp) format has changed from a simple CSV file to JSON format in order to accommodate filenames with commas or other non-text characters.
+ modified, added, removed, deleted, unknown, ignored, clean = repo.status(node2=kwargs['opts']['rev'])