Depending on the repo implementation, all_commit_ids returns commits in differing order, which causes the LastCommitDoc calculation to be very clearly incorrect. Change it to ensure they go from earliest to latest.
Create a new Hg repo with several sequential commits to a single file, push or refresh it (with --clean --all) and ensure that the most recent appropriate commit shows for the file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally by: scoop
allura:cj/4754
To test:
--clean --all
) and ensure that the most recent appropriate commit shows for the file.