diff mercurial/obsolete.py @ 33244:fd50788a2d4f

configitems: register the 'format.obsstore-version' config
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 30 Jun 2017 03:42:27 +0200
parents a14e2e7f7d1f
children a5cb2e4460de
line wrap: on
line diff
--- a/mercurial/obsolete.py	Fri Jun 30 03:42:15 2017 +0200
+++ b/mercurial/obsolete.py	Fri Jun 30 03:42:27 2017 +0200
@@ -717,7 +717,7 @@
     """Create an obsstore instance from a repo."""
     # read default format for new obsstore.
     # developer config: format.obsstore-version
-    defaultformat = ui.configint('format', 'obsstore-version', None)
+    defaultformat = ui.configint('format', 'obsstore-version')
     # rely on obsstore class default when possible.
     kwargs = {}
     if defaultformat is not None: