Skip to content

Commit

Permalink
Prevent download attempt that is known to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mih committed Feb 24, 2020
1 parent ac6465a commit 642d714
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-remote-rclone
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ class RCloneRemote(object):
# in case we never sync'ed, obtain the ID info prior download
# so we have it, whenever the download succeeded
repo_hashes = self.get_remote_state()
if repo_hashes is None:
# there is nothing at the remote end
return
sync_dir = self.workdir / 'sync'
self.log('Downloading repository archive')
subprocess.run([
Expand Down

0 comments on commit 642d714

Please sign in to comment.