diff options
author | Rob Austein <sra@hactrn.net> | 2016-03-03 14:08:42 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-03-03 14:08:42 -0500 |
commit | 396c1a1013e3c66355d623c105c34a2f1f00de6c (patch) | |
tree | 7755182934b1ca92c5c71f1514e25a86f174ea7a /ssh-sync-repos.py | |
parent | 96c021c73197e09b39d367030c37ec404df56ed3 (diff) |
Fetch from all upstreams.
Diffstat (limited to 'ssh-sync-repos.py')
-rwxr-xr-x | ssh-sync-repos.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-sync-repos.py b/ssh-sync-repos.py index 803f65a..5d585a3 100755 --- a/ssh-sync-repos.py +++ b/ssh-sync-repos.py @@ -17,6 +17,7 @@ for repo in sorted(info["repos"]): print repo pull = os.path.isdir(repo) if pull: + subprocess.check_call(("git", "fetch", "--all"), cwd = repo) subprocess.check_call(("git", "pull"), cwd = repo) else: subprocess.check_call(("git", "clone", "%s:%s.git" % (user, repo), repo)) |