Mercurial's Journey to and Reflections on Python 3
https://gregoryszorc.com/blog/2020/01/13/mercurial's-journey-to-and-reflections-on-python-3/ [gregoryszorc.com]
2020-01-13 20:17
tags:
development
hg
programming
python
Speaking as a maintainer of Mercurial and an avid user of Python, I feel like the experience of making Mercurial work with Python 3 is worth sharing because there are a number of lessons to be learned.
This post is logically divided into two sections: a mostly factual recount of Mercurial’s Python 3 porting effort and a more opinionated commentary of the transition to Python 3 and the Python language ecosystem as a whole. Those who don’t care about the mechanics of porting a large Python project to Python 3 may want to skip the next section or two
source: L
Changeset Evolution with Mercurial
https://www.mercurial-scm.org/doc/evolution/ [www.mercurial-scm.org]
2017-10-30 14:11
tags:
beta
development
hg
swtools
For years, Mercurial has included various commands that allow history modification: rebase, histedit, commit --amend and so forth. However, there’s a catch: until now, Mercurial’s various mechanisms for modifying history have been unsafe, in that changesets were destroyed (“stripped”) rather than simply hidden and still easy to recover. evolve makes things better by changing the behaviour of most existing history modification commands so they use a safer mechanism (changeset obsolescence, covered below) rather than the older, less safe strip operation.
If you really must fix history, a better way.
source: L