changeset 1940:6d53f81d3b64

destination: document 'setupdest' Let's make the role of this function clear.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 30 Mar 2016 03:16:19 -0700
parents 4268fdd11b74
children 7eb737b7a902
files hgext3rd/topic/destination.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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')