changeset 4321:00d1963f50e5

exthelper: remove '_' in final_xxx() function names to conform to hg style
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 22 Dec 2018 01:29:59 -0500
parents b4bc185bcefb
children 41f38bf15b4c
files hgext3rd/evolve/__init__.py hgext3rd/evolve/exthelper.py hgext3rd/evolve/serveronly.py
diffstat 3 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Mon Dec 24 18:38:25 2018 +0100
+++ b/hgext3rd/evolve/__init__.py	Sat Dec 22 01:29:59 2018 -0500
@@ -364,9 +364,9 @@
 eh.merge(compat.eh)
 eh.merge(cmdrewrite.eh)
 eh.merge(rewind.eh)
-uisetup = eh.final_uisetup
-extsetup = eh.final_extsetup
-reposetup = eh.final_reposetup
+uisetup = eh.finaluisetup
+extsetup = eh.finalextsetup
+reposetup = eh.finalreposetup
 cmdtable = eh.cmdtable
 configtable = eh.configtable
 
--- a/hgext3rd/evolve/exthelper.py	Mon Dec 24 18:38:25 2018 +0100
+++ b/hgext3rd/evolve/exthelper.py	Sat Dec 22 01:29:59 2018 -0500
@@ -78,7 +78,7 @@
             else:
                 self.configtable[section] = items
 
-    def final_uisetup(self, ui):
+    def finaluisetup(self, ui):
         """Method to be used as the extension uisetup
 
         The following operations belong here:
@@ -109,7 +109,7 @@
         for c in self._uicallables:
             c(ui)
 
-    def final_uipopulate(self, ui):
+    def finaluipopulate(self, ui):
         """Method to be used as the extension uipopulate
 
         This is called once per ui instance to:
@@ -121,7 +121,7 @@
         for c in self._uipopulatecallables:
             c(ui)
 
-    def final_extsetup(self, ui):
+    def finalextsetup(self, ui):
         """Method to be used as a the extension extsetup
 
         The following operations belong here:
@@ -169,7 +169,7 @@
         for c in self._extcallables:
             c(ui)
 
-    def final_reposetup(self, ui, repo):
+    def finalreposetup(self, ui, repo):
         """Method to be used as the extension reposetup
 
         The following operations belong here:
--- a/hgext3rd/evolve/serveronly.py	Mon Dec 24 18:38:25 2018 +0100
+++ b/hgext3rd/evolve/serveronly.py	Sat Dec 22 01:29:59 2018 -0500
@@ -45,9 +45,9 @@
 eh.merge(compat.eh)
 eh.merge(obscache.eh)
 eh.merge(obsexchange.eh)
-uisetup = eh.final_uisetup
-extsetup = eh.final_extsetup
-reposetup = eh.final_reposetup
+uisetup = eh.finaluisetup
+extsetup = eh.finalextsetup
+reposetup = eh.finalreposetup
 cmdtable = eh.cmdtable
 configtable = eh.configtable