Regression: changeset id inconsistent between 0.8.11 and 0.8.12
Created originally on Bitbucket by sebastien (Sébastien Pierre)
I recently noticed a major problem with the 0.8.12 update where the changeset id for some of the imported changeset changed. Here's the tip of https://github.com/sebastien/wwwclient with 0.8.11:
changeset: 116:7b49b740e813
bookmark: master
tag: default/master
tag: tip
parent: 114:f820824b6e53
parent: 115:465b93210cac
user: Sébastien Pierre
date: Thu May 10 08:42:13 2018 -0400
summary: Merge pull request #8 from SlapBot/master
and here's the tip with 0.8.12
changeset: 116:223b744428ac
bookmark: master
tag: default/master
tag: tip
parent: 114:f820824b6e53
parent: 115:6c147e7992fc
user: Sébastien Pierre
date: Thu May 10 08:42:13 2018 -0400
summary: Merge pull request #8 from SlapBot/master
The fact that the changeset id has changes makes it impossible to clone a repository that includes this repository as a submodule (ie. the .hgsubstate specifies revset 7b49b740e813, which does not exist in 0.8.12).
Steps to reproduce:
$ pip uninstall hg-git ; pip install --user 'hg-git >= 0.8.11,<0.8.12' ; hg clone git+ssh://git@github.com:sebastien/wwwclient.git wwwclient-0.8.11 ; pushd wwwclient-0.8.11 ; hg log | head ; popd
$ pip uninstall hg-git ; pip install --user 'hg-git >= 0.8.12,<0.8.13' ; hg clone git+ssh://git@github.com:sebastien/wwwclient.git wwwclient-0.8.12 ; pushd wwwclient-0.8.12 ; hg log | head ; popd