Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit3a05d416ea96d6a2e711a554d1824d9d72533a3b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-20 14:30:59 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-20 14:30:59 +0300
Files7bbe919e6674ec02b678660e9c5976a6acb54de2
RepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.tar
RepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.tar.gz
RepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.zip
Parentff4d525347aa73b52851a78bf3b5933c59f8833f (diff)
Added fetching of remotes
1 files changed, 3 insertions, 0 deletions
-rwxr-xr-xreposync.py3
diff --git a/reposync.py b/reposync.py
index 6aaf47d..5458cd5 100755
--- a/reposync.py
+++ b/reposync.py
@@ -16,6 +16,9 @@ while(True):
continue
repo = Repo(line)
+ for remote in repo.remotes:
+ remote.fetch()
+
if not repo.bare:
branch = repo.active_branch