Skip to content

Commit

Permalink
[docs] add a code example for listing commits of a MR
Browse files Browse the repository at this point in the history
Fixes #491
  • Loading branch information
Gauvain Pocentek committed May 10, 2018
1 parent a643763 commit 037585c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/gl_objects/mrs.rst
Expand Up @@ -82,6 +82,10 @@ Cancel a MR when the build succeeds::
mr.cancel_merge_when_build_succeeds() # v3
mr.cancel_merge_when_pipeline_succeeds() # v4

List commits of a MR::

commits = mr.commits()

List issues that will close on merge::

mr.closes_issues()
Expand Down

0 comments on commit 037585c

Please sign in to comment.