bug-cvs
[Top][All Lists]
Advanced

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

Re: bug with cvs commit and timestamps


From: Larry Jones
Subject: Re: bug with cvs commit and timestamps
Date: Tue, 17 Apr 2001 17:07:26 -0400 (EDT)

Tom Kacvinsky writes:
> 
> The source is from the FAQ distributed with the CVS 1.11 source (and the text
> is the same in the CVS FAQ-o-matic maintained by Pascal Molli):
[...]
> The line that I am referring to is this one:
> 
>    The "commit" command retains the timestamp of the file, if the act of
>    checking it in didn't change it (by expanding keywords).

That's talking about the timestamp of the file in the working directory
that's being checked in, not the timestamp of the repository file or the
checkin date stored inside it.  And that works as advertised:

        bash-2.02$ ls -l foo
        -rw-r--r--  1 scjones  wheel    4 Dec  1  1999 foo
        bash-2.02$ cvs ci -m test -f foo
        Checking in foo;
        /tmp/cvstest/foo,v  <--  foo
        new revision: 1.3; previous revision: 1.2
        done
        bash-2.02$ ls -l foo
        -rw-r--r--  1 scjones  wheel    4 Dec  1  1999 foo

-Larry Jones

Why is it you always rip your pants on the day everyone has to
demonstrate a math problem at the chalkboard? -- Calvin



reply via email to

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