# HG changeset patch # User FUJIWARA Katsunori # Date 2016-03-11 19:35:42 # Node ID e0d19d95560888a742a47a6956b7438acee26476 # Parent 66513f6ca038aec840b91febcb2f40f627562cfd commands: add postincoming docstring for explanation of arguments diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5615,6 +5615,15 @@ def phase(ui, repo, *revs, **opts): return ret def postincoming(ui, repo, modheads, optupdate, checkout, brev): + """Run after a changegroup has been added via pull/unbundle + + This takes arguments below: + + :modheads: change of heads by pull/unbundle + :optupdate: updating working directory is needed or not + :checkout: update destination revision (or None to default destination) + :brev: a name, which might be a bookmark to be activated after updating + """ if modheads == 0: return if optupdate: