Mercurial > hg-stable
changeset 22614:e69a199bb127
obsolete: use version constants in the format mapping
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 16 Sep 2014 15:57:51 -0700 |
parents | e623898b80f5 |
children | 4f14303e8954 |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsolete.py Tue Sep 16 15:56:38 2014 -0700 +++ b/mercurial/obsolete.py Tue Sep 16 15:57:51 2014 -0700 @@ -210,7 +210,7 @@ # mapping to read/write various marker formats # <version> -> (decoder, encoder) -formats = {0: (_fm0readmarkers, _fm0encodeonemarker)} +formats = {_fm0version: (_fm0readmarkers, _fm0encodeonemarker)} def _readmarkers(data): """Read and enumerate markers from raw data"""