Date: Wed, 16 Aug 1995 02:54:58 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: peter@freefall.FreeBSD.org (Peter Wemm) Cc: CVS-commiters@freefall.FreeBSD.org, cvs-gnu@freefall.FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/cvs/cvs import.c Message-ID: <199508160954.CAA19210@gndrsh.aac.dev.com> In-Reply-To: <199508152038.NAA26516@freefall.FreeBSD.org> from "Peter Wemm" at Aug 15, 95 01:38:02 pm
next in thread | previous in thread | raw e-mail | index | archive | help
>
> peter 95/08/15 13:38:02
>
> Modified: gnu/usr.bin/cvs/cvs import.c
> Log:
> This changes two things when importing an unreadable file:
> 1: It stops invalid files being created in the cvs tree
> 2: It stops the import from aborting without mailing a commit message..
>
> The first is simple, it opens the file for reading before touching the
> repository, and the second catches the pieces when it hits an unreadable
> file rather than just aborting mid-way through, leaving the repository in
> a bit mess.
>
> Reviewed by: rgrimes
>
I have combiled and install the /usr/bin/cvs binary _only_, the old
version is saved incase we need to bail out for some unforseen reason:
freefall:cvs {115} ls -lag /usr/bin/*cvs*
-r-xr-xr-x 1 bin bin 151552 Aug 16 02:53 /usr/bin/cvs
-r-xr-xr-x 1 bin bin 151552 Apr 14 13:07 /usr/bin/cvs.950414
-r-xr-xr-x 1 bin bin 139264 Jan 25 1995 /usr/bin/cvs.old
-r-xr-xr-x 1 bin bin 8231 Apr 14 13:08 /usr/bin/cvsinit
The version to restore would be cvs.950414.
/usr/bin/cvs is the only file I touched on Freefall. No other binaries
are effected by this patch, so no need to take risks.
--
Rod Grimes rgrimes@gndrsh.aac.dev.com
Accurate Automation Company Reliable computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508160954.CAA19210>
