Skip to content

Commit

Permalink
Adding git gc and branch cleanup even when the repo is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Mar 22, 2024
1 parent 0cd90ae commit 0fd631e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repo-converter/build/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,10 @@ def clone_svn_repo(repo_key):
if previous_batch_end_revision == last_changed_rev:

log(f"{repo_key}; up to date, skipping; local rev {previous_batch_end_revision}, remote rev {last_changed_rev}", "info")

subprocess_run(cmd_git_garbage_collection)
cleanup_branches_and_tags(local_repo_path)

return

else:
Expand Down

0 comments on commit 0fd631e

Please sign in to comment.