A colleague’s computer did weird things to the date about 10 years ago as his project was getting started using Paratext with mercurial version control (send/receive). The dates of about 10 commits display as 2038 in Paratext but in other mercurial software show as 2095. Though the revision number is lower it seems Paratext displays history by sorting on the date and this is really annoying for this case. Changing the date of an old commit on a published repository seems impossible. So do we have any solutions whether within Paratext or with TortoiseHg or anything else, to get rid of these useless commits? They are so old that they don’t add anything, but I can’t seem to get rid of them.
image403×626 130 KB
image618×784 65 KB
The solution would seem to be one of
- Remove all history (undesirable but easily achievable)
- Paratext changes its sort order in the history menu to be based on revision number not date (not worth doing just for one project)
- Some hg magic to change the (published) commits, whether using rebase, collapse, evolve, histedit or something.
I write this here in case others have a similar problem and also because of 2 thoughts which might form feature/dev requests for the paratext team.
- It strikes me that the history listings in Paratext (especially compare texts) are unhelpful and potentially dangerous when ordered by date if there is a possibility of any computer dates ever being messed up. The underlying mercurial system has a way of ordering revisions independently of commit date. MacHg and TortoiseHg both display the revisions in the correct order, while also showing
- The current UI for listing books with a long change history gets quite cumbersome and could possibly be made more useful for trying to track down changes.
So is there any advice about how I can help fix my colleague’s project? Anyone else think that a Paratext feature request to adjust the sort order of the history display might be worthwhile?