summaryhook: remove unused function
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 16 Nov 2017 11:32:24 -0800
changeset 3197 5f0d6ccd7aa2
parent 3196 94e5235e95f5
child 3198 390c87f8c65d
summaryhook: remove unused function
hgext3rd/evolve/__init__.py
--- a/hgext3rd/evolve/__init__.py	Thu Nov 16 11:22:38 2017 -0800
+++ b/hgext3rd/evolve/__init__.py	Thu Nov 16 11:32:24 2017 -0800
@@ -831,13 +831,6 @@
         raise
 
 def summaryhook(ui, repo):
-    def write(fmt, count):
-        s = fmt % count
-        if count:
-            ui.write(s)
-        else:
-            ui.note(s)
-
     state = _evolvestateread(repo)
     if state is not None:
         # i18n: column positioning for "hg summary"