cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh
Colin Percival
cperciva at FreeBSD.org
Tue Aug 7 12:33:52 PDT 2007
cperciva 2007-08-07 19:33:47 UTC
FreeBSD src repository
Modified files:
usr.sbin/freebsd-update freebsd-update.sh
Log:
When storing old versions of files for use in generating new files via
patching and for rolling back updates, don't copy a file if it has already
been stored. This provides a significant speedup to the "Preparing to
download files" stage of "freebsd-update fetch" if many updates have already
been applied or if a file being updated is linked many times (such as
/rescue/*).
Reported by: Paul Dekkers
MFC after: 1 week
Approved by: re (bmah)
Revision Changes Path
1.7 +20 -5 src/usr.sbin/freebsd-update/freebsd-update.sh
More information about the cvs-all
mailing list