Browse Source

Inclui arq mtimes.yaml no versionamento ao exportar docs

pull/2056/head
Marcio Mazza 7 years ago
parent
commit
ad9f0bd846
  1. 2
      sapl/legacy/scripts/exporta_zope/exporta_zope.py

2
sapl/legacy/scripts/exporta_zope/exporta_zope.py

@ -433,8 +433,8 @@ def dump_sapl(sigla):
finally:
# grava mundaças
repo_execute(repo, 'git annex add sapl_documentos')
repo.git.add(A=True)
arq_mtimes.write_file(yaml.safe_dump(mtimes, allow_unicode=True))
repo.git.add(A=True)
# atualiza repo
if 'master' not in repo.heads or repo.index.diff('HEAD'):
# se de fato existe mudança

Loading…
Cancel
Save