Mercurial > hg
comparison mercurial/changelog.py @ 32270:218ca8526ec0
scmutil: make simplekeyvaluefile able to have a non-key-value first line
To ease migration from files with version numbers in their first lines,
we want simplekeyvaluefile to support a non-key-value first line. In this
way, old versions of Mercurial will read such files, discover a newer version
than the one they know how to handle and fail gracefully, rather than with
exception. Shelve's shelvestate file is an example.
author | Kostia Balytskyi <ikostia@fb.com> |
---|---|
date | Thu, 11 May 2017 08:49:33 -0700 |
parents | 85ef5a073114 |
children | 0ad0d26ff703 |
comparison
equal
deleted
inserted
replaced
32269:ed2c44741190 | 32270:218ca8526ec0 |
---|