diff options
Diffstat (limited to 'mirror.py')
-rw-r--r-- | mirror.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ with open("mirrors.toml", "r") as f: for path in repositories.keys(): local_path = pathlib.Path("/git") / pathlib.Path(path) local_path.mkdir(exist_ok=True, parents=True) - secondary_urls = repositories[path]["secondary"] + secondary_urls = repositories[path]["remotes"] os.chdir(str(local_path)) subprocess.run(["git", "remote", "update"]) subprocess.run(["git", "fetch", "origin", "'*:*'"]) |