changegroup: document that 'source' parameter exists for extensions
The 'source' parameter passed to generatefiles() is unused by the
method itself, but Durham says it is used by an extension.
--- a/mercurial/changegroup.py Tue Apr 28 13:40:00 2015 -0700
+++ b/mercurial/changegroup.py Tue Apr 28 13:49:19 2015 -0700
@@ -440,6 +440,7 @@
if clnodes:
repo.hook('outgoing', node=hex(clnodes[0]), source=source)
+ # The 'source' parameter is useful for extensions
def generatefiles(self, changedfiles, linknodes, commonrevs, source):
repo = self._repo
progress = self._progress