diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-08-04 12:04:06 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-08-04 12:04:06 -0500 |
commit | e4a985821577b3ae4b4d1c413dca21e5ee5db15f (patch) | |
tree | 329aabd284916de67fd703d7d417d1ff5f682ddc /mirror.py | |
parent | 0b903ed4d2fd68d6e892c1bb60d1f15c4a788554 (diff) |
codeburg
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", "'*:*'"]) |