changeset 2331:d49f376598f8 stable

serveronly: also enable the obscache for server only setting The obscache is useful and speeds things up. So we also enable for server only setting.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 04 May 2017 21:21:59 +0200
parents 673de955b14d
children 77c184c80e3e a5117a5becf8
files README hgext3rd/evolve/serveronly.py
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README	Wed May 03 13:58:06 2017 +0200
+++ b/README	Thu May 04 21:21:59 2017 +0200
@@ -112,6 +112,11 @@
 Changelog
 =========
 
+6.1.1 - in progress
+-------------------
+
+ - also enable the new cache (from 6.1.0) for 'evolve.server-only',
+
 6.1.0 -- 2017-05-03
 -------------------
 
--- a/hgext3rd/evolve/serveronly.py	Wed May 03 13:58:06 2017 +0200
+++ b/hgext3rd/evolve/serveronly.py	Thu May 04 21:21:59 2017 +0200
@@ -17,6 +17,7 @@
     from . import (
         exthelper,
         metadata,
+        obscache,
         obsexchange,
     )
 except ValueError as exc:
@@ -27,6 +28,7 @@
     from evolve import (
         exthelper,
         metadata,
+        obscache,
         obsexchange,
     )
 
@@ -36,6 +38,7 @@
 buglink = metadata.buglink
 
 eh = exthelper.exthelper()
+eh.merge(obscache.eh)
 eh.merge(obsexchange.eh)
 uisetup = eh.final_uisetup
 extsetup = eh.final_extsetup