When fetch() is called and there is an existing file with the wrong size that
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:32:27 +0000 (06:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:32:27 +0000 (06:32 -0000)
commit7e64327d988011c202cf199ae0b8edf36c45030d
tree3b928dcb0f791d5936fff8be630005c6759f4856
parent6d89add2d76e49b0e43543692db357c2e8e106a4
When fetch() is called and there is an existing file with the wrong size that
is smaller than PORTAGE_FETCH_RESUME_MIN_SIZE, rename the file instead of
deleting it. This is more friendly for cases in which the user is attempting
to regenerate the digest but has not used `ebuild --force foo.ebuild manifest`
like they're supposed to. Thanks to Patrick Lauer <patrick@g.o> for reporting.
(trunk r12739)

svn path=/main/branches/2.1.6/; revision=12988
pym/portage/__init__.py