taskd/clone.sh: persistently attempt git-svn clones
commitd106a17ca1c103ced2c8eb493b048c291515e434
authorKyle J. McKay <mackyle@gmail.com>
Tue, 9 Jun 2020 23:45:48 +0000 (9 16:45 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 9 Jun 2020 23:45:48 +0000 (9 16:45 -0700)
tree31e35ae89a61263c9248c8c71d7106ec94ad4e89
parentf5724cb86ba1650e294cfdeea47d6317746612fc
taskd/clone.sh: persistently attempt git-svn clones

During the initial clone, git-svn has a nasty habit of dropping
out with an error before the clone has completed, especially if
the source repository is large.

However, git-svn fetch will pick up where it left off if it's
just run again.

As long as we continue to make progress, keep restarting the
fetch until the clone has fully completed.

Initial svn clones of large repositories will now succeed much
more reliably than before.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/clone.sh