forked from infra/otc-metadata
fixing the sync command
This commit is contained in:
parent
906a426a48
commit
d5d68b0d01
@ -116,9 +116,10 @@ def process_repositories(args, service):
|
|||||||
sync(
|
sync(
|
||||||
source_path,
|
source_path,
|
||||||
target_path,
|
target_path,
|
||||||
|
'sync',
|
||||||
purge=True,
|
purge=True,
|
||||||
create=True,
|
create=True,
|
||||||
exclude=['conf.py']
|
ignore=['conf.py']
|
||||||
)
|
)
|
||||||
repo_to.index.add([doc["rst_location"]])
|
repo_to.index.add([doc["rst_location"]])
|
||||||
if len(repo_to.index.diff("HEAD")) == 0:
|
if len(repo_to.index.diff("HEAD")) == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user