summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-06-10 10:13:48 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-06-10 10:13:48 +0200
commitebd6217853de7e7b6a140bbdf7e8779b5a40b861 (patch)
tree379e1bd8fc9e918cc94fcc8d373ee9e6869545b8 /docs
parentf4c4e52fd8962638ab79429a49fd4a699048bafc (diff)
downloadgitlab-ebd6217853de7e7b6a140bbdf7e8779b5a40b861.tar.gz
Add support for Project.pull_mirror (EE)
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/projects.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index 57d6b76..c6799a2 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -193,6 +193,10 @@ Get a list of users for the repository::
# search for users
users = p.users.list(search='pattern')
+Start the pull mirroring process (EE edition)::
+
+ project.mirror_pull()
+
Import / Export
===============
@@ -331,7 +335,7 @@ Update a file. The entire content must be uploaded, as plain text or as base64
encoded text::
f.content = 'new content'
- f.save(branch='master', commit_message='Update testfile')
+ f.save(branch='master', commit_message='Update testfile')
# or for binary data
# Note: decode() is required with python 3 for data serialization. You can omit