Mercurial > hg-stable
changeset 28502:e0d19d955608
commands: add postincoming docstring for explanation of arguments
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sat, 12 Mar 2016 04:35:42 +0900 |
parents | 66513f6ca038 |
children | 138ec8835e63 |
files | mercurial/commands.py |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Mar 12 04:35:42 2016 +0900 +++ b/mercurial/commands.py Sat Mar 12 04:35:42 2016 +0900 @@ -5615,6 +5615,15 @@ 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: