comparison mercurial/exchange.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 205bd3936179
children df3cf9422e1b
comparison
equal deleted inserted replaced
32269:ed2c44741190 32270:218ca8526ec0