serveronly: also enable the obscache for server only setting stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 04 May 2017 21:21:59 +0200
branchstable
changeset 2331 d49f376598f8
parent 2323 673de955b14d
child 2332 77c184c80e3e
child 2341 a5117a5becf8
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.
README
hgext3rd/evolve/serveronly.py
--- 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