def repack(repo):
 with open_repo_closing(repo) as r:
  r.object_store.pack_loose_objects()

def repack ( repo ) : with open_repo_closing ( repo ) as r : r . object_store . pack_loose_objects ( )
repack loose files in a repository .