bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preserve modification date of patched files


From: Mark D. Baushke
Subject: Re: preserve modification date of patched files
Date: Mon, 06 Dec 2004 01:52:13 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Jacobson <jidanni@jidanni.org> writes:

> I did cvs -z3 up -dP and notice that patched files use now as
> modification date instead of the original, even though patch(1) can do
> it, as does rsync.

'cvs checkout' preserves the original timestamp of the commit. 'cvs
update' uses the current time so that 'make' (and any other similar
tools) that use timestamps to determine what needs to be rebuilt will
properly rebuild your files based on what has changed in the checked out
tree.

        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBtCvN3x41pRYZE/gRAt07AJ9zDWy80829WxEmHpbV2yQqONQLhQCfZU+b
PBNnRcoDKS7R4qD32gcMaeQ=
=7jX8
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]