Set --clobber when running wget to ensure resuming works properly.

This commit is contained in:
Joey Hess 2013-08-21 18:19:01 -04:00
parent 0912e752b5
commit d603f536bd
2 changed files with 2 additions and 1 deletions

View file

@ -110,7 +110,7 @@ download' quiet url headers options file =
_ -> return False
where
headerparams = map (\h -> Param $ "--header=" ++ h) headers
wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "-c -O"]
wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "--clobber -c -O"]
{- Uses the -# progress display, because the normal
- one is very confusing when resuming, showing
- the remainder to download as the whole file,

1
debian/changelog vendored
View file

@ -7,6 +7,7 @@ git-annex (4.20130816) UNRELEASED; urgency=low
* import: Add options to control handling of duplicate files:
--duplicate, --deduplicate, and --clean-duplicates
* mirror: New command, makes two repositories contain the same set of files.
* Set --clobber when running wget to ensure resuming works properly.
-- Joey Hess <joeyh@debian.org> Thu, 15 Aug 2013 15:47:52 +0200