destination: document 'setupdest'
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 30 Mar 2016 03:16:19 -0700
changeset 1940 6d53f81d3b64
parent 1939 4268fdd11b74
child 1941 7eb737b7a902
destination: document 'setupdest' Let's make the role of this function clear.
hgext3rd/topic/destination.py
--- a/hgext3rd/topic/destination.py	Wed Mar 30 03:15:47 2016 -0700
+++ b/hgext3rd/topic/destination.py	Wed Mar 30 03:16:19 2016 -0700
@@ -87,6 +87,7 @@
     return repo.revs(subquery, branch, branch, branch)
 
 def setupdest(ui):
+    """run a uisetup time to install all destinations wrapping"""
     if util.safehasattr(destutil, '_destmergebranch'):
         extensions.wrapfunction(destutil, '_destmergebranch', _destmergebranch)
     rebase = extensions.find('rebase')