[Top][All Lists]

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

Re: Timestamp handling in checkout vs update

From: Mike Castle
Subject: Re: Timestamp handling in checkout vs update
Date: Mon, 7 Jan 2002 16:43:24 -0800
User-agent: Mutt/1.3.24i

On Mon, Jan 07, 2002 at 04:13:46PM -0800, Harper, Don wrote:
> seems
> to me that operations such as 'update -C' should set the timestamp back to 
> the commit time just like checkout.

Consider make.

You modify the local file, make.  You now have at least an object file, if
not an entire executable built with that modified file.

You do up -C.

Now, if it resets the date back to the original date, a subsequent make is
going to see that the source file is older than the object file, and is not
going to rebuild the system.

Not a good scenario.

Better to have up (-C or no) use the current time so that make will do a

     Mike Castle      address@hidden
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

reply via email to

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