Mercurial > hg
comparison mercurial/util.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 | d74b0cff94a9 |
children | 2959c3e986e0 |
comparison
equal
deleted
inserted
replaced
32269:ed2c44741190 | 32270:218ca8526ec0 |
---|