aboutsummaryrefslogtreecommitdiff
path: root/reposync.py
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-20 14:30:59 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-20 14:30:59 +0300
commit3a05d416ea96d6a2e711a554d1824d9d72533a3b (patch)
tree7bbe919e6674ec02b678660e9c5976a6acb54de2 /reposync.py
parentff4d525347aa73b52851a78bf3b5933c59f8833f (diff)
downloadRepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.tar
RepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.tar.gz
RepoSync-3a05d416ea96d6a2e711a554d1824d9d72533a3b.zip
Added fetching of remotes
Diffstat (limited to 'reposync.py')
-rwxr-xr-xreposync.py3
1 files changed, 3 insertions, 0 deletions
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