Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 1996 08:43:49 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Warner Losh <imp@village.org>
Cc:        hackers@freebsd.org
Subject:   Re: CTM # -> date 
Message-ID:  <897.841905829@critter.tfs.com>
In-Reply-To: Your message of "Wed, 04 Sep 1996 21:51:39 MDT." <199609050351.VAA07769@rover.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609050351.VAA07769@rover.village.org>, Warner Losh writes:
>I have a silly question...
>
>Is there any way to map a CTM # to a date that I can use with cvs's
>date specification commands?

The very first line of the CTM delta contains a timestamp.

$ zgrep CTM_BEGIN /home/CTM/cvs*
/home/CTM/cvs-cur.2378.gz:CTM_BEGIN 2.0 cvs-cur 2378 19960821080001Z .
/home/CTM/cvs-cur.2379.gz:CTM_BEGIN 2.0 cvs-cur 2379 19960821140002Z .
/home/CTM/cvs-cur.2380.gz:CTM_BEGIN 2.0 cvs-cur 2380 19960821200002Z .
/home/CTM/cvs-cur.2381.gz:CTM_BEGIN 2.0 cvs-cur 2381 19960822020001Z .
...

The timestamp is in UTC as indicated by the trailing 'Z'

If you use the -u option files affected by the delta will get that
timestamp.


--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?897.841905829>