This instance will be upgraded to Heptapod 0.26.0rc1 on 2021-10-26 at 14:00 UTC+2 (a few minutes of down time)

Commit 91d274d2 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

readme: mention compat string format

parent f478ac0a818f
Pipeline #4238 failed with stage
in 4 minutes and 51 seconds
......@@ -139,6 +139,16 @@ say in $HGSRC::
$ cd tests
$ python $HGSRC/tests/
When certain blocks of code need to cope with API changes in core Mercurial,
they should have comments in the ``hg <= x.y (commit hash)`` format. For
example, if a function needs another code path because of changes introduced in
02802fa87b74 that was first included in Mercurial 5.3, then the comment should
# hg <= 5.2 (02802fa87b74)
See also tests/test-check-compat-strings.t.
Branch policy
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment