changeset 2675:304232cc14b6

topic: some document for an obscure function
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 28 Jun 2017 17:38:04 +0200
parents 9585fac76d2d
children 10dedac0d82e
files hgext3rd/topic/discovery.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/discovery.py	Wed Jun 28 18:18:59 2017 +0200
+++ b/hgext3rd/topic/discovery.py	Wed Jun 28 17:38:04 2017 +0200
@@ -99,6 +99,7 @@
     return data
 
 def handlecheckheads(orig, op, inpart):
+    """This is used to check for new heads when publishing changeset"""
     orig(op, inpart)
     if op.repo.publishing():
         return