##// END OF EJS Templates
help: add examples to incoming
Matt Mackall -
r20834:8c210b16 default
parent child Browse files
Show More
@@ -3875,6 +3875,23 b' def incoming(ui, repo, source="default",'
3875
3875
3876 See pull for valid source format details.
3876 See pull for valid source format details.
3877
3877
3878 .. container:: verbose
3879
3880 Examples:
3881
3882 - show incoming changes with patches and full description::
3883
3884 hg incoming -vp
3885
3886 - show incoming changes excluding merges, store a bundle::
3887
3888 hg in -vpM --bundle incoming.hg
3889 hg pull incoming.hg
3890
3891 - briefly list changes inside a bundle::
3892
3893 hg in changes.hg -T "{desc|firstline}\\n"
3894
3878 Returns 0 if there are incoming changes, 1 otherwise.
3895 Returns 0 if there are incoming changes, 1 otherwise.
3879 """
3896 """
3880 if opts.get('graph'):
3897 if opts.get('graph'):
General Comments 0
You need to be logged in to leave comments. Login now