hgext3rd/evolve/__init__.py
branchstable
changeset 3185 0c64d0242ac2
parent 3155 b237c1c6dc19
child 3196 94e5235e95f5
child 3228 8cc8fb94cc00
--- a/hgext3rd/evolve/__init__.py	Tue Nov 14 23:04:04 2017 +0100
+++ b/hgext3rd/evolve/__init__.py	Thu Nov 02 19:08:36 2017 +0100
@@ -416,10 +416,10 @@
 def _configureoptions(ui, repo):
     # If no capabilities are specified, enable everything.
     # This is so existing evolve users don't need to change their config.
-    evolveopts = ui.configlist('experimental', 'evolution')
+    evolveopts = repo.ui.configlist('experimental', 'evolution')
     if not evolveopts:
         evolveopts = ['all']
-        ui.setconfig('experimental', 'evolution', evolveopts, 'evolve')
+        repo.ui.setconfig('experimental', 'evolution', evolveopts, 'evolve')
     if obsolete.isenabled(repo, 'exchange'):
         repo.ui.setconfig('server', 'bundle1', False)